Learn R Programming

DIFlasso (version 1.0-4)

plot.DIFlasso: Plot Function for DIFlasso

Description

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

Usage

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

Arguments

x

DIFlasso object, created by DIFlasso

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

DIFlasso, print.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