attsurf2df {moocore}R 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)

[Package moocore version 0.1.0 Index]