emp {qgen}R Documentation

Transforms empirical data sets into a conformable paraDATA object

Description

Takes empirical data from a dataframe, defines new columns, and puts the data in an object of the paraDATA-class.

Usage

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/")

Arguments

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

Value

an object of class paraDATA with

orig
hist
"emp"

Note

name: empirical investigations

See Also

paraDATA

Examples

emp(file=FALSE) #creates a paraDATA object with the data from "sinapis"

[Package qgen version 0.03-02 Index]