12.07.2015 Views

R dummies

R dummies

R dummies

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

owsum.df strsplit(‘this is a sentence’,’ ‘)[2][[1]]NULLIn this example, strsplit() returns a list with one element, the vector withthe words from the sentence:> strsplit(‘this is a sentence’,’ ‘)[[1]][1] “this” “is” “a” “sentence”To access this vector, you first have to select the wanted element from the

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!