Displaying 2 results from an estimated 2 matches for "mancinisimona".
2012 Aug 10
4
subsetting levels of a vector
Hi,
I need to subset different levels of vector in a dataset to create a new dataframe that contains only these. These observations are not numerical, so I can't use the subset() function (at least this is the response I get from R).
Suppose the dataframe looks like this:
ParticipID ERP Electrode
1 s1 0.0370 FP1
2 s2 35.0654 FP2
3 s3
2012 Dec 13
2
changing character strings with hash marks
Hi R users,
I am quite new to R and I don't know how to deal with this (surely) easy issue. I need to replace words in sentences with as many hash marks as the number of characters per each word, as in the following example:
Mary plays football
#### ##### ########
Any suggestion about the function to be used?
Thanks a lot.
S.
[[alternative HTML version deleted]]