
Last chance! 50% off unlimited learning
Sale ends in
Return the number of words in a string
n_words(x)
a string
vector of numbers
# NOT RUN {
syn_end <- syn("end")
syn_end_words <- n_words(syn_end)
syn_end[syn_end_words <= 1]
# }
Run the code above in your browser using DataLab