emp {qgen} | R Documentation |
Takes empirical data from a dataframe, defines
new columns, and puts the data in an object of the paraDATA-class
.
emp(data.use=NULL, fixedblock.use, character.use, environment.use="environment", randomblock.use, sire.use="sire", dam.use="dam", individual.use="individual", without="", partitioning="REML", file=TRUE, path="~/qgen/")
data.use |
the name of a dataframe |
fixedblock.use |
the name of the column in data.use
containing the levels of a fixed blocking factor (as factor) |
character.use |
a vector of characters strings indicating the column names to be chosen for analysis (numeric values only) |
environment.use |
the name of the column in data.use
containing the levels of the environments (as factor) |
randomblock.use |
the name of the column in data.use
indicating the levels of a random blocking factor (as factor) |
sire.use |
the name of the column in data.use containing the
levels of the sire effect (as factor) |
dam.use |
the name of the column in data.use containing the
levels of the dam effect (as factor) |
individual.use |
the name of the column in data.use containing the
levels of the individual effect (as factor) |
without |
a vector of characters indicating the names of the rows to be excluded (for outliers) |
partitioning |
a character string indicating the variance
partitioning method (used by the function est ); see
the for details |
file |
logical flag: Should the object be written to emp.rda |
path |
indicating the path where the file emp.rda should be written |
an object of class paraDATA
with
orig |
|
name: empirical investigations
emp(file=FALSE) #creates a paraDATA object with the data from "sinapis"