adspace


How would you join multiple strings together?

Answer Posted / Jai Prakash

In R, you can use the `paste()` function to join multiple strings together. For example:nn```Rn str1 <- 'Hello' n str2 <- 'World'n result <- paste(str1, str2, sep = ', ')n print(result) # Output: [1] "Hello, World"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Given a vector of numbers, how would you turn the values into scientific notation?

171


How can you verify if a given object “X” is a matrix data object?

187


How will you convert a factor variable to numeric in r language?

212