eaf_as_list {moocore} | R Documentation |
Convert an EAF data frame to a list of data frames, where each element
of the list is one attainment surface. The function attsurf2df()
can be
used to convert the list into a single data frame.
Description
Convert an EAF data frame to a list of data frames, where each element
of the list is one attainment surface. The function attsurf2df()
can be
used to convert the list into a single data frame.
Usage
eaf_as_list(eaf)
Arguments
eaf |
|
Value
list()
A list of data frames. Each data.frame
represents one attainment surface.
See Also
Examples
extdata_path <- system.file(package="moocore", "extdata")
x <- read_datasets(file.path(extdata_path, "example1_dat"))
attsurfs <- eaf_as_list(eaf(x, percentiles = c(0, 50, 100)))
str(attsurfs)
[Package moocore version 0.1.0 Index]