ModelInterface: R6 interface class representing modelling result

ModelInterfaceR Documentation

R6 interface class representing modelling result

Description

R6 interface class representing modelling result

R6 interface class representing modelling result

Methods

Public methods


Method get_coefficients()

return model coefficients

Usage
ModelInterface$get_coefficients()
Returns

data.frame


Method get_anova()

perform ANOVA analysis

Usage
ModelInterface$get_anova()
Returns

data.frame


Method coef_histogram()

plot histogram of coefficients

Usage
ModelInterface$coef_histogram()
Returns

ggplot


Method coef_volcano()

plot volcano of coefficients

Usage
ModelInterface$coef_volcano()
Returns

ggplot


Method coef_pairs()

pairs plot of coefficients

Usage
ModelInterface$coef_pairs()
Returns

ggplot


Method anova_histogram()

histogram of p-values and FDR for anova results

Usage
ModelInterface$anova_histogram()
Returns

ggplot


Method clone()

The objects of this class are cloneable with this method.

Usage
ModelInterface$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples


mi <- ModelInterface$new()

testthat::expect_error(mi$get_coefficients())
testthat::expect_error(mi$get_anova())
testthat::expect_error(mi$coef_histogram())
testthat::expect_error(mi$coef_volcano())
testthat::expect_error(mi$coef_pairs())
testthat::expect_error(mi$anova_histogram())



wolski/prolfqua documentation built on Oct. 31, 2024, 9:22 a.m.