Displaying 2 results from an estimated 2 matches for "weinmay".
Did you mean:
weinmann
2011 Sep 16
2
Numeric Characters in String
Dear all,
I have a vector, which looks about like this:
str <- c("14.XYZ", "15.ABCDE", "16.dkieowo", "120.EIDKAI")
I need to extract the numerical characters out of the string, so I receive
in the end a normal vector containing:
vec <- c(14, 15, 16, 120)
I need a generic solution for this. My actual vector contains about 403
2011 Nov 18
1
R: writing data from one matrix into another with keeping NA's
Hi,
I am looking to build even quintiles for a set of data. I managed to get it
done, but I would like to know if there is a more direct way to write the
data from my loop output x in the bottom of the code into the "empty" matrix
p1, which I filled with NA''s. The way I am doing it at the moment is, more
or less adding the matrix x after p1 and then deleting in a second step