PCMExtractRegimes: Given a PCM or a parameter object, extract an analogical...

View source: R/PCM.R

PCMExtractRegimesR Documentation

Given a PCM or a parameter object, extract an analogical object for a subset of the regimes in the original object.

Description

Given a PCM or a parameter object, extract an analogical object for a subset of the regimes in the original object.

Usage

PCMExtractRegimes(obj, regimes = seq_len(PCMNumRegimes(obj)))

Arguments

obj

a PCM or a parameter object.

regimes

an integer vector; should be a subset or equal to seq_len(PCMNumRegimes(obj)) (the default).

Details

This is an S3 generic

Value

an object of the same class as obj with a subset of obj's regimes


PCMBase documentation built on Nov. 18, 2022, 9:06 a.m.