Description Usage Arguments Value See Also Examples
Print an rct3 fit showing the model settings, a summary of the prediction for each yearclass and the overall predicted recruitments
1 2 |
object |
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 |
invisibly returns a summary data frame.
rct3
run a calibrated regression to predict rectruitment.
rct3-package
gives an overview of the package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # 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"])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.