generate.all.site.tsds: Generate timed sampling distributions for all sites in a

generate.all.site.tsdsR Documentation

Generate timed sampling distributions for all sites in a

Description

Generate timed sampling distributions for all sites in a

Usage

generate.all.site.tsds(
  input.dt,
  site.dt,
  cluster.dt,
  n.sampling.period,
  outcome.col.name,
  values = 0:89,
  smooth.func = smooth.daoh,
  output.to.console = F
)

Arguments

input.dt

Data for all sites as data.table

site.dt

Data.table about sites and their clusters.

cluster.dt

Data.table about clusters and when they start/stop

n.sampling.period

How many periods should the distribution be divided into?

outcome.col.name

Name of outcome column.

values

Values that timed sampling dist can take.

smooth.func

How to smooth the distribution.

output.to.console

Output progress to console.

sampling.period.out.start

Time to start the timed sampling dist

sampling.period.out.length

Length of each period in timed sampling dist

Value

The timed sampling distribution (note however that it is set in the site by reference)


mattmoo/daohtools documentation built on Feb. 5, 2023, 5:38 a.m.