Learn R Programming

irt (version 0.1.1)

as.list.Itempool: This function converts Itempool objects to a list object

Description

This function converts Itempool objects to a list object

Usage

# S3 method for Itempool
as.list(x, ...)

Arguments

x

an Itempool-class to be coerced to a list object

...

Additional parameters to be passed to the function.

Value

A list object with elements from 'Item' class.

Examples

Run this code
# NOT RUN {
item1 <- item(a = 1.12, b = -2.1, c = 0.28)
item2 <- item(a = 2, b = 3.2, c = 0.21)

ip1 <- c(item1, item2)
as.list(ip1)

# }

Run the code above in your browser using DataLab