Displaying 1 result from an estimated 1 matches for "makenul".
Did you mean:
makeful
2013 May 26
0
SAPPLY function for COLUMN NULL
colnames(dd)
#[1] "col1" "colb"
null_vector<- colnames(dd)
sapply(null_vector,makeNull,dd)
#???? col1 colb
#[1,]?? NA??? 4
#[2,]??? 2?? NA
#[3,]??? 3??? 2
#[4,]??? 4?? NA
#[5,]??? 1??? 4
#[6,]?? NA??? 5
#[7,]??? 1??? 6
A.K.
>I am trying to make a column value in a dataframe = NA if there is a 0
or high value in that column. I need to do this process repeatedly,
hence I >ha...