bootNSD: Iterative latent-state model of NSD

Description Usage Arguments Value Examples

View source: R/boot.clust_fcts.R

Description

Bootstrap latent-state model by changing starting locations

Usage

1
bootNSD(x, y, day, interval = 30, by = 5, n.iter = 20000, ...)

Arguments

x,

y, time, information on locations and time (continuous)

interval

Amount of variation in time to be tested

by

Time step between each iteration (number of iterations is a function of the interval and time step)

n.iter

number of total iterations per chain (including burn in; default: 5000)

Value

A boot.clust object

Examples

1
2
3
4
5
data(Christian)
#May results in low convergence given low number of iterations
boot1<-bootNSD(Christian$x[1:300], Christian$y[1:300], Christian$Time[1:300], interval=20, by=5, n.iter=10000) 
summary(boot1)
plot(boot1)

BastilleRousseau/lsmnsd documentation built on May 5, 2019, 10:30 a.m.