remove.rows {fts} | R Documentation |
remove.na.rows removes rows which contain at least 1 NA remove.all.na rows removes rows which are all NA's
remove.na.rows(x) remove.all.na.rows(x)
x |
An Fts object |
an Fts object
Whit Armstrong
x <- fts(matrix(rnorm(20),ncol=2)) x[5,1] <- NA x[10,] <- NA print(x) ## will drop rows where NA's appear ## in any of the columns remove.na.rows(x) ## will drop rows where NA's appear ## in all of the columns remove.all.na.rows(x)