R/ARnames.R

Defines functions ARnames

ARnames <-
function(p,type)
{tem1 <- paste("AR",1:p,sep="")
if(type=="const") tem2 <- c(tem1,"const")
if(type=="const+trend") tem2 <- c(tem1,"const","trend")
return(tem2)
}

Try the BootPR package in your browser

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

BootPR documentation built on Aug. 31, 2023, 9:08 a.m.