generate_hpp_dataset: generates homogenous poisson process data

Description Usage Arguments

View source: R/generate_HPP_dataset.R

Description

generates homogenous poisson process data

Usage

1
2
3
4
5
generate_hpp_dataset(seed, num_subj = 100L, num_dists = 30L,
  max_dist = 5L, bef_xlim = c(-1, 1), bef_ylim = c(-1, 1),
  subj_xlim = c(-1, 1), subj_ylim = c(-1, 1), alpha = 25,
  delta = -2.3, beta = 0.1, theta = 0.5, shape = NULL, sigma = 1,
  K = function(x) exp(-x))

Arguments

seed

an integer for set.seed()

num_subj

number of subjects to simulate

num_dists

number of distances/subject to simulate

max_dist

upper bound on distances to include

bef_xlim

x coordinate bounds from which to simulate befs

bef_ylim

y coordinate bounds from which to simulate bef positions

subj_xlim

x coordinate bounds from which to simulate subject positions

subj_ylim

y coordinate bounds from which to simulate subject positions

alpha

true intercept value

delta

confounder effect

beta

true bef effect

theta

true spatial scale

K

exposure function


apeterson91/STAPSimulations documentation built on May 11, 2020, 4:54 a.m.