Learn R Programming

DIFlasso (version 1.0-4)

plot.DIFlasso.refit: Plot Function for refitDIFlasso

Description

Plots the estimates of the item-specific parameters of a DIFlasso.refit object.

Usage

# S3 method for DIFlasso.refit
plot(x, decreasing = TRUE, ...)

Arguments

x

DIFlasso.refit object, created by refitDIFlasso

decreasing

Should the covariates be arranged by decreasing euclidian norm of their parameter estimates.

...

Further arguments to be passed to the plot function.

References

Tutz, Gerhard and Schauberger, Gunther (2015): A Penalty Approach to Differential Item Functioning in Rasch Models, Psychometrika, 80(1), 21 - 43

See Also

refitDIFlasso, print.DIFlasso.refit, DIFlasso

Examples

Run this code
if (FALSE) {
data(simul.data)

Y <- simul.data[,1:10]
X <- simul.data[,11:13]

m1 <- DIFlasso(Y = Y, X = X, trace = TRUE) 
print(m1)
plot(m1)

m2 <- refitDIFlasso(m1)
print(m2)
plot(m2)
}

Run the code above in your browser using DataLab