createBoots: Bootstrap and reformat raw data

Description Usage Arguments Examples

View source: R/Module_Sub_boots_functions.R

Description

Bootstrap and reformat raw data

Usage

1
2
3
4
5
6
createBoots(
  dat.prepped,
  boot.type = c("meboot", "stlboot"),
  boot.n = 1000,
  plot.diagnostics = FALSE
)

Arguments

dat.prepped

some text

boot.type

some text

boot.n

some text

plot.diagnostics

some text

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
data.use <- read.csv("../inst/extdata/SampleFile_WithAge.csv")  # read in raw data
data.use <- read.csv("../inst/extdata/FinalSampleFile_WithoutAge.csv")  # read in raw data
dat.prepped <-  prepData(datafile = data.use,out.labels="v2")
bootdata.reformat <- createBoots(dat.prepped = dat.prepped,boot.type = "meboot" )
length(bootdata.reformat)
bootdata.reformat[[1]]

## End(Not run)

MichaelFolkes/forecastR_package documentation built on April 4, 2021, 5:14 a.m.