WideFromCalibrate: Rearrange output from CalibrateSSB (calSSB object). Ready for...

Description Usage Arguments Details Value See Also Examples

View source: R/CalibrateSSB.R

Description

One row for each id and one column for each wave.

Usage

1
WideFromCalibrate(a, wave = NULL, id = NULL, subSet = NULL, extra = NULL)

Arguments

a

A calSSB object. That is, output from CalibrateSSB() or CalSSBobj().

wave

Time or another repeat variable.

id

Identifier variable.

subSet

Grouping variable for splitting ouput.

extra

Dataset with extra variables not in a.

Details

When wave, id or extra is NULL, corresponding elements in the input object (a) will be used if available,

Value

Output has the same elements (+ extra) as input (a), but rearranged. When subSet is input otput is alist according to the subSet levels.

See Also

CalibrateSSB, CalSSBobj, PanelEstimation.

Examples

1
# See examples in PanelEstimation and CalSSBobj

CalibrateSSB documentation built on Aug. 5, 2020, 1:07 a.m.