Description Usage Arguments Value See Also Examples
Returns the fdata
slot.
1 2 | ## S4 method for signature 'csdatamoments'
getFdata(object)
|
object |
An |
The fdata
slot of the object
.
datamoments for the base class for model moments
datamoments()
for the constructor of the datamoments
class family
csdatamoments for the class definition
sdatamoments()
for the constructor of the class
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_sdatamoms <- sdatamoments(f_data)
# Get the moments for the included indicators of the data.
getFdata(f_sdatamoms)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.