Learn R Programming

mcgf (version 1.1.1)

new_mcgf_rs: Create an mcgf_rs object

Description

Create an mcgf_rs object

Usage

new_mcgf_rs(x, label)

Value

An S3 object of class mcgf_rs. As it inherits and extends the mcgf and then thedata.frame class, all methods remain valid to the data part of the object. Additional attributes may be assigned and extracted.

Arguments

x

An mcgf object.

label

A vector of regime labels. Its length must be the same as the number rows in data.