unpack_varying: Get relevant info about varying parameters

Description Usage Arguments Details Value Slots

View source: R/mcpfit_methods.R

Description

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

Usage

1
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 Aug. 3, 2020, 5:07 p.m.