Description Usage Arguments Value Note
View source: R/overdispersion.R
Complete function for returning overdispersion estimates
1 2 3 4 5 6 7 8 9 10 11 | overdispersion(
data,
siteID,
visitID,
count = "count",
pass = "pass",
lifestage = "lifestage",
pass12 = "pass12",
id,
largemodel
)
|
data |
dataframe containing EF data |
siteID |
site name or unique ID |
visitID |
a number identifying each unique visit |
count |
count of fish (defaults to "count") |
pass |
the EF pass number (defaults to "pass") |
lifestage |
the lifestage (defaults to "lifestage") |
pass12 |
categorical variable with 2 levels where the 1st pass and subsequent passes are treated separately (defaults to "pass12") |
id |
sample ID |
largemodel |
the large model that captures most of the systematic variation in the data - this is specified before running the overdispersion function |
a data.frame summarising overdispersion
ensure column names in function call are in inverted commas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.