Displaying 1 result from an estimated 1 matches for "b03_mah".
2008 May 21
1
split character string in matrix into character vector and numeric vector
Hello,
I've got a matrix consisting of one column with n rows. Each field in
the matrix is filled with a character vector.
I would like to convert this matrix into a character vector containing
the B03_MAH-type entries from the beginning of each row and a data.frame
that contains the numeric data, but I am stuck.
I have tried to use textConnection with sep = " " but since there is
sometimes more than two spaces separating the entries, I obtain a result
with columns full of NAs.
Then I...