search for: endcu

Displaying 1 result from an estimated 1 matches for "endcu".

Did you mean: endc
2008 Sep 03
2
basic dataframe question
...do I change this so that it's retained as a logical data type? I've tried a couple of things but to no avail. Here's my example code: # Exercise 4-1 in Non-Detects and Data Analysis. Dennis Helsel. 2005. # "Create two new variables in the Interval Endpoints format, StartCu and EndCu, # that will contain the same information given by the current variables library(NADA) data(CuZn) names(CuZn) StartCu <- ifelse(CuZn$CuCen == "TRUE", 0, CuZn$Cu) EndCu <- CuZn$Cu CuIEP = data.frame(cbind(Cu = CuZn$Cu, CuCen = CuZn$CuCen, StartCu, EndCu)) class(CuZn$CuCen) #retur...