dataSet {PointedSDMs}R Documentation

Internal function used to standardize datasets, as well as assign metadata.

Description

Internal function used to assist in structuring the data.

Usage

dataSet(
  datapoints,
  datanames,
  coords = c("CoordLoc1", "CoordLoc2"),
  proj,
  pointcovnames,
  paresp,
  countsresp,
  trialname,
  speciesname,
  marks,
  marktrialname,
  markfamily,
  temporalvar,
  offsetname
)

Arguments

datapoints

A list of datasets as sf objects

datanames

A vector of the names of the datasets.

coords

Names of the coordinates used in the model.

proj

The projection reference system used in the model.

pointcovnames

Name of the point covariates used in the model.

paresp

Name of the response variable used by the presence absence datasets.

countsresp

Name of the response variable used by the counts data.

trialname

Name of the trial variable used by the presence absence datasets.

speciesname

Name of the species name variable.

marks

Name of the marks considered in the model.

marktrialname

Name of the trial variable used by the binomial marks.

markfamily

A vector describing the distribution of the marks.

temporalvar

Name of the temporal variable.

offsetname

Name of the offset column in the datasets.

Value

A list of relevant metadata


[Package PointedSDMs version 2.1.0 Index]