Description Usage Arguments Examples
Function runs a stan glmm for dauer data
1 | run_dauer_stan(df, type, parameters, group, intercept)
|
df |
input dataset. Requires a "genotype" column. See type for data column types |
type |
"dauer" (default),"dauer-grouped". For dauer data, needs to have raw counts, with "dauer" column and "n" column. For grouped data, must have group.id column - usually interaction(genotype,condition) |
group |
for grouped data, specify the name of the grouping factor |
intercept |
optional argument for intercept in the model. use for direct estimation of the reference group. default is TRUE |
1 2 | df %>% run_dauer_stan(parameters)
run_dauer_stan(df, type = "dauer-grouped", group = "food", intercept = "false")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.