Learn R Programming

CalibrateSSB (version 1.3.0)

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

Description

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

Usage

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.

Value

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

Details

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

See Also

CalibrateSSB, CalSSBobj, PanelEstimation.

Examples

Run this code
# NOT RUN {
# See examples in PanelEstimation and CalSSBobj

# }

Run the code above in your browser using DataLab