split strings by space in r
# Create a vector of strings
strings <- c("Hello world", "How are you", "Fine thanks")
# Split the strings by space
split_strings <- strsplit(strings, " ")
# View the result
split_strings
# Create a vector of strings
strings <- c("Hello world", "How are you", "Fine thanks")
# Split the strings by space
split_strings <- strsplit(strings, " ")
# View the result
split_strings