how can i create a 5 element character vector then select 1st 3th and 5th row of the elements to save as a new vector?
You may want to read some basic tutorials after searching for "vectors in R" in your favorite search engine.
vectors don't have rows; they are 1 dimensional... rows implies 2 dimensions at a minimum.
This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.