Learn R Programming

mcp (version 0.3.3)

unpack_varying: 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)

Value

A list. See details.

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.

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

Details

Returns a list with