search for: obesevations

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

Did you mean: obeservations
2012 May 16
2
replacing with NA
...s. Since the vector of ids has no role in the analysis, I dont know how to include it. Here is my reprducable example:and my id is the vector I want to add to the analysis somehow so that my missing values are identified. I cannot use na.action function and that is why I have to drop my missing obesevations beforehand. library(fields) x <-1:20 y<- runif(20) z<- c(11, 15, 17, 2, 18, 6, 7, NA, 12, 10,21, 25, 27, 12, 28, 16, 17, NA, 12, 10) id <-1:20 mydataset<-data.frame(x, y, z) temperature[complete.cases(mydataset),] x<- temperature[, c(1)] y<- temperature[, c(2)] z<- temp...