Learn R Programming

fishmethods (version 1.12-1)

print.grotagplus: Printing Tagging-Growth Objects

Description

Printing method for output from function grotagplus, which has class "grotagplus".

Usage

# S3 method for grotagplus
print(x,precision=c(est="sig3",stats="dec1",cor="dec2"),...)

Arguments

x

Growth-model fit to tagging data as output by function "grotagplus".

precision

Named character vector specifying the printing precision for each of three categories of output: "est" (applies to fixed and estimated parameters and to Linf.k); "stats" (for negloglikl and AIC); and "cor" (for the parameter correlation matrix). Values should be either "sigx", for x significant figures, or "decx" for x decimal places.

...

Other print parameters.

Author

Chris Francis chrisfrancis341@gmail.com

Gary A. Nelson, Massachusetts Division of Marine Fisheries gary.nelson@state.ma.us

Marco Kienzle Marco.Kienzle@gmail.com

Details

Outputs from grotagplus are produced to a precision which is usually much greater than is warranted. To see this full precision print individual components, e.g., print(fit$parest).

See Also

grotagplus plot.grotagplus

Examples

Run this code
#Model 4 of Francis (1988)
data(bonito)
fit <- grotagplus(bonito,alpha=35,beta=55,
               design=list(galpha=1,gbeta=1,s=1,nu=1,m=1,p=1,u=1,w=1),
               stvalue=list(s=0.81,nu=0.3,m=0,p=0.01,u=0.5,w=0.5),
               upper=list(s=3,nu=1,m=2,p=0.1,u=1,w=1),
               lower=list(s=0.1,nu=0.1,m=-2,p=0,u=0,w=0))
print(fit)

Run the code above in your browser using DataLab