compute_beam_stats function

Compute bootstrap model coefficients for BEAM

Compute bootstrap model coefficients for BEAM

compute_beam_stats(beam.data, beam.specs, stdize = TRUE)

Arguments

  • beam.data: Result of prep.beam.data
  • beam.specs: A data.frame of strings with columns name, mtx, mdl (string with R model with mtx.row)
  • stdize: Logical whether to standardize (center and scale) predictors or not. Default is TRUE.

Returns

A beam.stats object, which is a list with beam.stats (the association matrices), the beam.specs, and the beam.data

Examples

data(beam_dat_sm) data(beam_specs_sm) test.beam.stats <- compute_beam_stats(beam.data=beam_dat_sm, beam.specs=beam_specs_sm, stdize=TRUE)