Description Usage Arguments Value Examples
This function gets the R2 values for a linear regression of log catch anomaly ~ covariate anomalies at lags of 0 to 10. Covariates are turned into anomalies by removing year and qtr effect and then lagged and z-scored. Catch anomalies are logged and z-scored. Note: this is an old function and not used after I switched to using GAMs.
1 2 3 4 5 6 7  | 
region | 
 region ("Kerala", "Karnataka", "Goa") in quotes.  | 
covname | 
 name of the covariate. Must be a colname in seio_covariates_qtr. If one of the covariates is from the boxes, then specify the part of the name in front of the number. For example "SST.".  | 
boxes | 
 for covariate from a box, the box number or numbers to use  | 
rm.trend | 
 remove year effect from catch and covariates  | 
rm.season | 
 remove season effect from catch and covariates  | 
A data.frame of R2's for each lag 0 to 10.
1  | maker2qs(region="Kerala", covname="SST.", boxes=5)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.