attr_eval | R Documentation |
Recursive evaluation of a function (func
) on each attribute (vector) in a sub_criteria
.
attr_eval(x, func = length, simplify = TRUE)
x |
|
func |
|
simplify |
If |
vector
; list
x <- sub_criteria(rep(1, 5), rep(5 * 10, 5))
attr_eval(x)
attr_eval(x, func = max)
attr_eval(x, func = max, simplify = FALSE)
attr_eval(sub_criteria(x, x), func = max, simplify = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.