Displaying 1 result from an estimated 1 matches for "cuiep3".
Did you mean:
cuiep
2008 Sep 03
2
basic dataframe question
....frame(cbind(Cu = CuZn$Cu, CuCen = CuZn$CuCen, StartCu, EndCu))
class(CuZn$CuCen)
#returns "logical"
class(CuIEP$CuCen)
#returns "numeric"
CuIEP2 = data.frame(cbind(Cu = CuZn$Cu, CuCen = as.logical(CuZn$CuCen), StartCu, EndCu))
class(CuIEP2$CuCen)
#returns "numeric"
CuIEP3 = data.frame(cbind(Cu = CuZn$Cu, CuCen = I(CuZn$CuCen), StartCu, EndCu))
class(CuIEP3$CuCen)
#returns "numeric"
I think that I might be missing something fairly fundamental about data coercion in R. ... would love to figure this out.
Any assistance would be appreciated.
Thanks much,...