Learn R Programming

quickpsy (version 0.1.2)

parbootstrap: Creates bootstrap samples of the parameters

Description

parbootstrap creates bootstrap samples of the parameters.

Usage

parbootstrap(qp, bootstrap = "parametric", B = 10)

Arguments

qp
output from quickpsy
bootstrap
'parametric' performs parametric bootstrap; 'nonparametric' performs non-parametric bootstrap; 'none' does not perform bootstrap (default is 'parametric').
B
number of bootstrap samples (default is 100 ONLY).

Examples

Run this code
library(MPDiR) # contains the Vernier data
data(Vernier) # ?Venier for the reference
fit <- quickpsy(Vernier, Phaseshift, NumUpward, N,
                grouping = .(Direction, WaveForm, TempFreq),
                bootstrap = 'none')
boot_samples <- parbootstrap(fit)
head(boot_samples)

Run the code above in your browser using DataLab