powered by
"ndata"
"mleDb"
Retrieve the number of (non-missing) values in the data set to which an "mleDb" object was fitted.
ndata(object)
An object of class "mleDb" as returned by mleDb().
mleDb()
Integer scalar equal to the number of (non-missing) values in the data set to which object was fitted.
object
# NOT RUN { X <- hmm.discnp::SydColDisc X$y <- as.numeric(X$y) X <- split(X,f=with(X,interaction(locn,depth))) fitz <- lapply(X,function(x){mleDb(x$y,ntop=5)}) sapply(fitz,ndata) # }
Run the code above in your browser using DataLab