View source: R/na.omit.fdata.R
na.omit.fdata | R Documentation |
na.fail
returns the object if it does not contain any
missing values, and signals an error otherwise. na.omit
returns the object
with incomplete cases removed.
If na.omit.fdata
removes cases, the row numbers of the cases form the
"na.action"
attribute of the result, of class "omit"
, see generic
function na.omit
.
## S3 method for class 'fdata' na.omit(object, ...) ## S3 method for class 'fdata' na.fail(object, ...)
object |
an |
... |
further potential arguments passed to methods. |
The value returned from omit
is a fdata
object with incomplete cases removed.
Manuel Febrero Bande and Manuel Oviedo
## Not run: fdataobj<-fdata(MontrealTemp) fdataobj$data[3,3]<-NA fdataobj$data[10,]<-NA fdastaobj2<-na.omit(fdataobj) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.