Modify the attributes of a sub_criteria object.

reframe(x, ...)

# S3 method for sub_criteria
reframe(x, func = identity, ...)

Arguments

x

[sub_criteria].

...

Arguments passed to methods.

func

[function]. Transformation function.

Examples

s_cri <- sub_criteria(month.abb, month.name)
reframe(s_cri, func = function(x) x[12])
#> {
#> exact(Dec,NA,NA ...) OR exact(December,NA,NA ...)
#> }
reframe(s_cri, func = function(x) x[12:1])
#> {
#> exact(Dec,Nov,Oct ...) OR exact(December,November,October ...)
#> }
reframe(s_cri, func = function(x) attrs(x[1:6], x[7:12]))
#> {
#> exact(d_attribute) OR exact(d_attribute)
#> }