as.list.ItempoolR Documentation

This function converts Itempool objects to a list object

Description

This function converts Itempool objects to a list object

Usage

## S3 method for class '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.

Author(s)

Emre Gonulates

Examples

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)