| GAMstd_dataset | R Documentation |
A simulated fisheries dataset for demonstrating Generalized Additive Model (GAM) standardization of Catch Per Unit Effort (CPUE).
GAMstd_dataset
A data frame with 4200 observations and 6 variables:
Fishing year.
Fishing gear used during the fishing operation.
Sea surface temperature (°C).
Fishing depth (m).
Fishing effort expended during the fishing operation.
Observed catch. Catch values were simulated so that the resulting CPUE values are generally greater than one, producing positive log-transformed CPUE values.
The dataset contains fishing catch and effort observations collected
over multiple years together with environmental covariates. The catch
values were generated to produce positive log-transformed CPUE values,
making the dataset particularly suitable for illustrating the
log_transform = TRUE option in GAMstd().
The dataset includes temporal, operational, and environmental variables commonly used in fisheries standardization studies. Fishing year and gear type can be treated as fixed effects, while sea surface temperature and fishing depth can be incorporated as smooth terms in the GAM.
GAMstd
## Not run:
library(FESta)
data("GAMstd_dataset")
result<-GAMstd(data=GAMstd_dataset,year_col='Year',catch_col='Catch',
effort_col='Effort',fixed_effects = c("Year", "Gear"),
smooth_terms = c("SST", "Depth"), k=10,log_transform = TRUE)
print(result)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.