Description Usage Arguments Value Examples
View source: R/assignTreatment.R
Assign pens to treatments
1 | assignTreatment(data, beh)
|
data |
data.table |
beh |
character vector of treatment names |
data.table with added column Beh (Treatment)
1 2 3 | animalsInTrial <- selectTrialAnimals(biggen,72,72,5.4,9.5)[[1]]
animalsInTrial <- assignPens(animalsInTrial,6)
animalsInTrial <- assignTreatment(animalsInTrial,c("Wit","Groen","Rood","Geel"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.