Skip to content
Prev 172350 / 398502 Next

Characters To Matrix

Bob Roberts <quagmire54321 <at> yahoo.com> writes:
character string. The data set has
a matrix. Thanks for the help.

data(CO2)
str(CO2)
col2 = as.matrix(CO2[,1:2])
str(col2)


Dieter