The proportion of sequences starting in each state, as a tidy
data.frame. These are the initial-state probabilities (init P) that
complement the transition-probability matrix from
transition_probabilities().
Usage
initial(fit)
# S3 method for class 'lsa'
initial(fit)
# S3 method for class 'lsa_group'
initial(fit)Arguments
- fit
An
lsafit fromlsa().
Value
A data.frame with columns state, init_prob; zero rows
when the fit came from a transition matrix (no initial states).
Examples
initial(lsa(group_regulation))
#> state init_prob
#> 1 adapt 0.0115
#> 2 cohesion 0.0605
#> 3 consensus 0.2140
#> 4 coregulate 0.0190
#> 5 discuss 0.1755
#> 6 emotion 0.1515
#> 7 monitor 0.1440
#> 8 plan 0.2045
#> 9 synthesis 0.0195