Learn R Programming

lordif (version 0.1-1)

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

Description

Produces plots for Monte Carlo output

Usage

## S3 method for class 'lordif.MC':
plot(x, mfrow = c(3, 1), ...)

Arguments

x
an object of class lordif.MC returned from montecarlo
mfrow
number of rows and columns per page for multi-fane plots
...
extra graphical parameters

Value

  • Returns no object.

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

See Also

lordif

Examples

Run this code
## s3 plot method for class 'lordif.MC':
  ## age.dif <- lordif(Anxiety[paste("R",1:29,sep="")],Anxiety$age)
  ## age.dif.MC <- montecarlo(age.dif,alpha=.05,nr=500)
  ## plot(age.dif.MC,mfrow=c(1,1))

Run the code above in your browser using DataLab