make_trend_data: Make trend data from sdmTMB output predict funciton

Description Usage Arguments

View source: R/make-trend-data.R

Description

Make trend data from sdmTMB output predict funciton

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
make_trend_data(
  data,
  ssid = NULL,
  start_time = NULL,
  end_time = NULL,
  skip_time = NULL,
  input_cell_size = 2,
  scale_fac = 1,
  time_var = "year",
  delta_t_total = 10,
  delta_t_step = 2,
  indices = c(1, 2),
  variable_names = "est"
)

Arguments

data

List of dataframes each containing output from predict.

ssid

Vector of ssid to be included.

start_time

Starting time for VOCC calculation. Default is NULL and all data is used.

end_time

End time for VOCC calculation. Default is NULL and all data is used.

skip_time

Time steps to be excluded. Default is NULL and all data is used.

input_cell_size

Cell size of predict grid.

scale_fac

Factor by which cells are aggregated for VOCC.

time_var

Name of column containing time data.

delta_t_total

Mean time between start and end values.

delta_t_step

Time between each time step in same units as above.

indices

Vector of length equal to number of time steps retained for analysis, where 1 = starting time step(s), 2 = end time step(s).

variable_names

Name(s) of column containing parameter(s).


pbs-assess/gfranges documentation built on Dec. 13, 2021, 4:50 p.m.