prep_segm: Find segment and states for a Picard model

Description Usage Arguments Value

View source: R/function_prepare.R

Description

prep_segm find the different segment and states of a given HMM model

Usage

1
prep_segm(data, param, seg.type = NULL, nseg = NULL)

Arguments

data

the data.frame with the different variable

param

the param output of the segmentation

seg.type

either 'hybrid' or 'dynprog'

nseg

number of segment chosen

Value

a data.frame with states of the different segments


segclust2d documentation built on Oct. 11, 2021, 9:10 a.m.