plot.lordif.MC: Plot method for Monte Carlo simulation output

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/plot.lordif.MC.R

Description

Produces plots for Monte Carlo output

Usage

1
2
  ## S3 method for class 'lordif.MC'
plot(x, mfrow = c(3, 1), width = 7, height = 7, ...)

Arguments

x

an object of class lordif.MC returned from montecarlo

mfrow

number of rows and columns per page for multi-fane plots

width

width of the canvas of the plotting device in inches

height

height of the canvas of the plotting device in inches

...

extra graphical parameters

Details

Generates the following graphs: 1. thresholds for Chi-square probability for Model 1 vs. 2 2. thresholds for Chi-square probability for Model 1 vs. 3 3. thresholds for Chi-square probability for Model 2 vs. 3 4. pseudo R-square change from Model 1 to 2 5. pseudo R-square change from Model 1 to 3 6. pseudo R-square change from Model 2 to 3 7. proportional beta change from Model 1 to 2

Value

Returns no object.

Note

x is an object of class lordif.MC returned from montecarlo

Author(s)

Seung W. Choi <choi.phd@gmail.com>

References

Choi, S. W., Gibbons, L. E., Crane, P. K. (2011). lordif: An R Package for Detecting Differential Item Functioning Using Iterative Hybrid Ordinal Logistic Regression/Item Response Theory and Monte Carlo Simulations. Journal of Statistical Software, 39(8), 1-30. URL http://www.jstatsoft.org/v39/i08/.

See Also

lordif, montecarlo, permute

Examples

1
2
3
4
## s3 plot method for class 'lordif.MC':
## Not run: age.dif <- lordif(Anxiety[paste("R",1:29,sep="")],Anxiety$age)
## Not run: age.dif.MC <- montecarlo(age.dif,alpha=.05,nr=500)
## Not run: plot(age.dif.MC,mfrow=c(1,1),width=8,height=7)

lordif documentation built on May 2, 2019, 2:13 p.m.