genSynthMultiple2D: Random synthetic collective events in 2D

View source: R/utils.R

genSynthMultiple2DR Documentation

Random synthetic collective events in 2D

Description

Create a sequence of collective events. A collective event is a concentrically growing circle that increases its radius at every frame. The location of the collective event is random on a 'maxx'-by-'maxy' lattice, and the duration is random between 1 and 'maxdur' frames. There are 'nevents' that occur within 'maxt' frames.

Usage

genSynthMultiple2D(
  nevents = 10L,
  maxt = 25L,
  maxx = 20L,
  maxy = 20L,
  maxdur = 5L,
  inSeed = NULL
)

Arguments

nevents

an integer, defines the number of events; default 10.

maxt

an integer, defines the maximum number of frames; default 25.

maxx

an integer, defines the maximum width of the grid; default 20.

maxy

an integer, defines the maximum height of the grid; default 20.

maxdur

an integer, defines the maximum duration of events; default 5.

inSeed

an integer with the seed for the random number generator, default NULL.

Value

an arcosTS object

Examples

library(ARCOS)
dts = genSynthMultiple2D()

dmattek/ARCOS documentation built on Dec. 5, 2024, 11:02 p.m.