unpack_varying: Get relevant info about varying parameters

View source: R/mcpfit_methods.R

unpack_varyingR Documentation

Get relevant info about varying parameters

Description

Returns parameters, data columns, and implicated segments given parameter name(s) or column(s).

Usage

unpack_varying(fit, pars = NULL, cols = NULL)

Arguments

pars

NULL/FALSE for nothing. TRUE for all. A vector of varying parameter names for specifics.

cols

NULL/FALSE for nothing. TRUE for all. A vector of varying column names for specifics. Usually provided via "facet_by" argument in other functions.

Details

Returns a list with

Value

A list. See details.

Slots

pars

Character vector of parameter names. NULL if empty.

cols

Character vector of data column names. NULL if empty.

indices

Logical vector of segments in the segment table that contains the varying effect


mcp documentation built on May 29, 2024, 6:15 a.m.