Learn R Programming

LSC (version 0.1.5)

LICORS2LSC: Estimates LSC from a LICORS estimate

Description

A wrapper of states2LSC for a 'LICORS' estimate from the LICORS package (in particular the output from the mixed_LICORS function). Converts LICORS estimates into an array with LSC.

Usage

LICORS2LSC(object, type = c("weights", "argmax"))

Arguments

object
an object of class "LICORS"
type
should marginal state probabilities be computed based on the unique state space assignment ("argmax") or using the soft thresholding from the weight matrix ("weights").

Value

An object of class "LSC"

See Also

states2LSC, LSC-utils

Examples

Run this code
## Not run: 
# # see 2nd example in 'LSC-package'
# ## End(Not run)

Run the code above in your browser using DataLab