exportResult: Export the results

Description Usage Arguments Value Examples

View source: R/exportResult.R

Description

Export the results

Usage

1
exportResult(dataIn, dataOut, filename = "biggen", fileLoc = "H:\\Downloads")

Arguments

dataIn

data.table

dataOut

data.table

filename

character filename (default = "biggen")

fileLoc

character file location (default = "~/Downloads")

Value

no return, only creates file in fileLoc folder

Examples

1
2
3
4
5
6
animalsInTrial <- selectTrialAnimals(biggen,72,72,5.4,9.5)[[1]]
animalsOutTrial <- selectTrialAnimals(biggen,72,72,5.4,9.5)[[2]]
animalsInTrial <- assignPens(animalsInTrial,6)
animalsInTrial <- assignTreatment(animalsInTrial,c("Wit","Groen","Rood","Geel"))
animalsInTrial <- assignComp(animalsInTrial)
exportResult(animalsInTrial,animalsOutTrial)

DataZhukov/animalTrial documentation built on Dec. 17, 2021, 4:08 p.m.