R/as.lpp.stlpp.R

Defines functions as.lpp.stlpp

Documented in as.lpp.stlpp

#' @export
as.lpp.stlpp <- function(x,...){
  if(!any(class(x)=="stlpp")) stop("class(x) must be stlpp")
  Y <- as.lpp(x=x$data$x,y=x$data$y,L=x$domain,sparse = F,...)
  return(Y)
}

Try the stlnpp package in your browser

Any scripts or data that you put into this service are public.

stlnpp documentation built on Nov. 11, 2022, 9:11 a.m.