Skip to contents

This function performs a bootstrap analysis on the Blackbox Transpose model, generating bootstrap replicates of the ideal points for stimuli.

Usage

boot.blackbox_transpose(
  data,
  missing,
  dims = 1,
  minscale,
  verbose = FALSE,
  posStimulus = 1,
  R = 100
)

Arguments

data

A matrix containing the input data for the analysis.

missing

Numeric vector indicating which values are treated as missing.

dims

Integer, the number of dimensions to analyze (default is 1).

minscale

Numeric, the minimum scale value used in the analysis.

verbose

Logical, whether to print detailed information during execution (default is FALSE).

posStimulus

Integer, the index of the stimulus used to check and correct the sign (default is 1).

R

Integer, the number of bootstrap replicates (default is 100).

Value

An array containing the bootstrapped results.

Examples

if (FALSE) { # \dontrun{
data(issues.sweden)
result <- boot.blackbox_transpose(issues.sweden, missing = 8, 
dims = 2, minscale = 5, verbose = FALSE, posStimulus = 13, R = 100)
} # }