as.list method for the "GeneralData" class

Share:

Description

as.list method for the "GeneralData" class

Usage

1
2
## 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

1
2
3
4
5
6
7
8
# 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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.