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


rpatin/segclust2d documentation built on Sept. 10, 2022, 8:02 a.m.