| innerchemlm | R Documentation |
Running one regression model for chemical data
innerchemlm( data, outcome, value = "value", confound = NULL, family = "gaussian", type = "filter" )
data |
dataset |
outcome |
character outcome variable (string format) |
value |
column name for value (string format) |
confound |
character vector of confound variable (default is null) |
family |
regression family (default is linear model) |
type |
Whether to return only chemical effect (default is filter) |
innerchemlm Run regression model for chemical data
This is a function to run a single regression model for chemical data
data(simchemdat) # limit to one chemical dat1 <- filter(simchemdat, chem == "chem1") res <- innerchemlm(dat1, outcome = "out")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.