check_beam_specs: Check that beam.specs satisfies all necessary conditions

View source: R/check_beam_specs.R

check_beam_specsR Documentation

Check that beam.specs satisfies all necessary conditions

Description

Check that beam.specs satisfies all necessary conditions

Usage

check_beam_specs(beam.specs, mtx.names)

Arguments

beam.specs

A data.frame with column name, mtx, and mdl

mtx.names

A vector with the names of the data matrices (beam.data$mtx.data)

Value

A data.frame of beam.specs if all conditions satisfied, otherwise throws an error

Examples

data(beam_dat)
data(beam_specs)
test_specs <- check_beam_specs(beam_specs, names(beam_dat$mtx.data))

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