Learn R Programming

AlphaPart (version 0.8.1)

print.plotSummaryAlphaPart: print.plotSummaryAlphaPart.R

Description

#' Print method for objects of the class plotSummaryAlphaPart (result of plot(summary(AlphaPart(...)))).

Usage

# S3 method for plotSummaryAlphaPart
print(x, ask = interactive(), ...)

Arguments

x

plotSummaryAlphaPart, output object from plot.summaryAlphaPart function

ask

Logical, ask before printing another plot?

...

Arguments passed to other functions (not used at the moment).

Details

TODO: DETAILS

See Also

plot.summaryAlphaPart

Examples

Run this code
# NOT RUN {
## Partition additive genetic values
(res <- AlphaPart(x=AlphaPart.ped, colPath="country", colBV=c("bv1", "bv2")))

## Summarize population by generation (=trend)
(ret <- summary(res, by="gen"))

## Plot the partitions
p <- plot(ret, ylab=c("BV for trait 1", "BV for trait 2"), xlab="Generation")
print(p[[1]])
print(p[[2]])
#print(p)
# }

Run the code above in your browser using DataLab