getHigher-cdatamoments-method: Getter method of 'cdatamoments' class.

Description Usage Arguments Value See Also Examples

Description

Returns the higher slot.

Usage

1
2
## S4 method for signature 'cdatamoments'
getHigher(object)

Arguments

object

An cdatamoments object.

Value

The higher slot of the object.

See Also

Examples

1
2
3
4
5
6
7
8
# Generate an exponential mixture model with two components.
f_model <- model("exponential", par = list(lambda = c(0.3, 0.7)), K = 2)
# Simulate data from the model.
f_data <- simulate(f_model)
# Calculate the mixture moments.
f_datamoms <- datamoments(f_data)
# Use the getter.
getHigher(f_datamoms)

simonsays1980/finmix documentation built on Dec. 23, 2021, 2:25 a.m.