View source: R/feature_wise_modeller.R
fw_fit | R Documentation |
run a model on every row of your data. Made with microbiome data in mind.
fw_fit(
x,
f,
metadata,
verbose = T,
get_CI = F,
format = "wide",
model = "lm",
order = "fact",
adjust.method = "BH",
...
)
metadata = data.frame(a = sample(letters[1:3], ncol(mtcars), replace=T),
b = sample(letters[4:6], ncol(mtcars), replace=T),
c = rnorm(ncol(mtcars)))
fw_fit(x = mtcars, f = x ~ a + b, metadata = metadata, format = "fits", model = "lm", get_CI = T, order = "fact")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.