Learn R Programming

simsem (version 0.2-8)

plotOverHist: Plot multiple overlapping histograms

Description

Plot multiple overlapping histograms and find the cutoff values if not specified

Usage

plotOverHist(altObject, nullObject, cutoff=NULL, usedFit=NULL, alpha=0.05, 
cutoff2=NULL, cutoff3=NULL, cutoff4=NULL)

Arguments

altObject
The result object (data.frame) saves the simulation result of fitting the hypothesized model when the hypothesized model is FALSE.
nullObject
The result object (data.frame) saves the simulation result of fitting the hypothesized model when the hypothesized model is TRUE.
cutoff
A vector of priori cutoffs for fit indices.
usedFit
Vector of names of fit indices that researchers wish to plot.
alpha
A priori alpha level
cutoff2
Another vector of priori cutoffs for fit indices.
cutoff3
A vector of priori cutoffs for fit indices for the altObject.
cutoff4
Another vector of priori cutoffs for fit indices for the altObject.

Value

  • NONE. Only plot the fit indices distributions.

See Also

Examples

Run this code
# No example

Run the code above in your browser using DataLab