Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Combine and Extract Text | String Manipulation and Cleaning
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Working with Text, Dates, and Files in R

bookChallenge: Combine and Extract Text

Tehtävä

Swipe to start coding

You are preparing a contact list for a company directory. Your task is to combine first and last names into full names, and also extract the initials from a list of names.

  • Combine the corresponding elements of first_names and last_names into full names using a space as a separator.
  • Extract the first letter from each name in the names vector and combine them into a single string of initials.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 2
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

close

bookChallenge: Combine and Extract Text

Pyyhkäise näyttääksesi valikon

Tehtävä

Swipe to start coding

You are preparing a contact list for a company directory. Your task is to combine first and last names into full names, and also extract the initials from a list of names.

  • Combine the corresponding elements of first_names and last_names into full names using a space as a separator.
  • Extract the first letter from each name in the names vector and combine them into a single string of initials.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 2
single

single

some-alt