Learn R Programming

crmPack (version 1.0.6)

as.list,GeneralData-method: as.list method for the "GeneralData" class

Description

as.list method for the "GeneralData" class

Usage

# S4 method for GeneralData
as.list(x, ...)

Value

a list of all slots in x

Arguments

x

the GeneralData object we want to convert

...

unused

Examples

Run this code

# Create some data of class 'Data'
myData <- Data(x=c(0.1,0.5,1.5,3,6,10,10,10),
               y=c(0,0,0,0,0,0,1,0),
               doseGrid=c(0.1,0.5,1.5,3,6,
               seq(from=10,to=80,by=2)))

# Converting Data object to list
as.list(myData)

Run the code above in your browser using DataLab