attsurf2df: Convert a list of attainment surfaces to a single EAF...

View source: R/eaf.R

attsurf2dfR Documentation

Convert a list of attainment surfaces to a single EAF data.frame.

Description

Convert a list of attainment surfaces to a single EAF data.frame.

Usage

attsurf2df(x)

Arguments

x

list()
List of data.frames or matrices. The names of the list give the percentiles of the attainment surfaces. This is the format returned by eaf_as_list().

Value

data.frame()
Data frame with as many columns as objectives and an additional column percentiles.

See Also

eaf_as_list()

Examples


data(SPEA2relativeRichmond)
attsurfs <- eaf_as_list(eaf(SPEA2relativeRichmond, percentiles = c(0,50,100)))
str(attsurfs)
eaf_df <- attsurf2df(attsurfs)
str(eaf_df)

moocore documentation built on Aug. 8, 2025, 6:12 p.m.