prep_segm: Find segment and states for a Picard model

View source: R/function_prepare.R

prep_segmR Documentation

Find segment and states for a Picard model

Description

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

Usage

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 May 29, 2024, 6:41 a.m.