compute_beam_stats: Compute bootstrap model coefficients for BEAM

View source: R/compute_beam_stats.R

compute_beam_statsR Documentation

Compute bootstrap model coefficients for BEAM

Description

Compute bootstrap model coefficients for BEAM

Usage

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.

Value

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)

BEAMR documentation built on Sept. 11, 2024, 7:48 p.m.