print.rct3 {rct3} | R Documentation |
Print an rct3 fit
Description
Print an rct3 fit showing the model settings and predicted recruitments
Usage
## S3 method for class 'rct3'
print(x, digits = max(3, getOption("digits") - 3), ...)
Arguments
x |
an object of class rct3 - an output from the rct3 function. |
digits |
optional integer for how much to round the values in the output tables. |
... |
additional arguments to print.data.frame |
Value
invisibly returns a summary data frame.
See Also
rct3
run a calibrated regression to predict rectruitment.
summary.rct3
summarise a rct3 object
rct3-package
gives an overview of the package.
Examples
# load recruitment data
data(recdata)
formula <-
recruitment ~ NT1 + NT2 + NT3 + NAK1 + NAK2 + NAK3 +
RT1 + RT2 + RT3 + EC01 + ECO2 + ECO3
my_rct3 <- rct3(formula, recdata, predictions = 2012:2017, shrink = TRUE)
# see a short summary
my_rct3
# for a full summary do:
summary(my_rct3)
# the components are here:
my_rct3$rct3
my_rct3$rct3.summary
# predicted recruitment
t(my_rct3$rct3.summary["WAP"])
[Package rct3 version 1.0.4 Index]