make_covariates.ndd: Is exactly the same as JT FishStatUtils function except it...

Description Usage Arguments Value

View source: R/make_covariates.ndd.r

Description

Is exactly the same as JT FishStatUtils function except it added 'colnames(DF_ip) = c(names(sample_data),covariate_names)' to correct column mismatch This issue has been raised with JT and should be corrected in the next merge of the FishStatUtils dev branch

Usage

1
2
3
4
5
6
7
make_covariates.ndd(
  formula = ~0,
  covariate_data,
  Year_i,
  spatial_list,
  extrapolation_list
)

Arguments

formula

Formula for the covariates

covariate_data

Data frame containing the covariates

Year_i

Vector of year of every observation

spatial_list

spatial_list produced by make_spatial_info.ndd

extrapolation_list

extrapolation_list produced by make_extrapolation_info.ndd

Value

returns a tagged list used in other functions


N-DucharmeBarth/ndd.vast.utils documentation built on April 5, 2020, 9 p.m.