Learn R Programming

mason (version 0.3.0)

scrub: Scrub down and tidy up the constructed analysis results.

Description

Scrub down and tidy up the constructed analysis results.

Usage

scrub(data, ...)

# S3 method for pls_bp scrub( data, output = c("mvr_object", "default", "scores", "loadings", "score_corr", "explained_var"), ... )

Arguments

data

The blueprint data object.

...

Other arguments passed to methods.

output

Selecting what to output from model.

Value

Outputs a cleaned up version of the constructed analysis.

See Also

See also tidy_up() for pls tidying.

Examples

Run this code
# NOT RUN {
ds <- design(iris, 'cor')
ds <- add_settings(ds)
ds <- add_variables(ds, 'xvars', c('Sepal.Length', 'Sepal.Width'))
ds <- construct(ds)
scrub(ds)

# }

Run the code above in your browser using DataLab