Summarize the population model used for data generation underlying a result object

Description

Summarize the population model used for data generation underlying a result object

Usage

1
summaryPopulation(object, std = FALSE, improper = FALSE)

Arguments

object

The result object that you wish to extract the data generation population model from (linkS4class{SimResult}).

std

If TRUE, the standardized parameter values are used instead of unstandardized parameter values.

improper

If TRUE, include the replications that provided improper solutions

Value

A data.frame contianing the summary of population model across replications.

Author(s)

Sunthud Pornprasertmanit (psunthud@gmail.com)

See Also

  • SimResult for result object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
loading <- matrix(0, 6, 1)
loading[1:6, 1] <- NA
LY <- bind(loading, "runif(1, 0.4, 0.9)")
RPS <- binds(diag(1))
RTE <- binds(diag(6))
CFA.Model <- model(LY = LY, RPS = RPS, RTE = RTE, modelType="CFA")

# We will use only 10 replications to save time.
# In reality, more replications are needed.
Output <- sim(10, n=200, model=CFA.Model)

# Get the summary of population model
summaryPopulation(Output)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.