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

as.list,GeneralData-methodR Documentation

as.list method for the "GeneralData" class

Description

as.list method for the "GeneralData" class

Usage

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

Arguments

x

the GeneralData object we want to convert

...

unused

Value

a list of all slots in x

Examples


# 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)

crmPack documentation built on June 26, 2024, 5:07 p.m.