Usage
plotLogisticFit(altObject, nullObject=NULL, cutoff=NULL,
usedFit=NULL, x, xval, alpha=0.05, useContour=TRUE, df=0)
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
. This argument may be not specified if the cutoff
is specified.
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
x
The data.frame
of the predictor values. The number of rows of the x
argument should be equal to the number of rows in the object
.
xval
The values of predictor that researchers would like to find the fit indices cutoffs from.
useContour
If there are two of sample size, percent completely at random, and percent missing at random are varying, the plotCutoff
function will provide 3D graph. Contour graph is a default. However, if this is specified as FALSE
, perspect
df
The degree of freedom used in spline method in predicting the fit indices by the predictors. If df
is 0, the spline method will not be applied.