Description Usage Arguments Value
Performs linear regression on one variable of the dataset.
1 | linregression_onevar(dataset, x.val, metadata.vars, combination)
|
dataset |
list representing the dataset from a metabolomics experiment. |
x.val |
the x-value to be tested. |
metadata.vars |
metadata variables to use in linear regression. For example, c('variable1','variable2'). |
combination |
a formula specifying the model. For example, 'variable1+variable2'. |
Returns a summary of the result from the lm function from stats package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.