generate_nhpp_table_one: generates nonhomogenous poisson process data without residual...

Description Usage Arguments

View source: R/generate_nhpp_table_one.R

Description

generates nonhomogenous poisson process data without residual error for table one

Usage

1
2
3
4
5
6
generate_nhpp_table_one(seed = NULL, num_subj_realizations = 10L,
  num_dist_realizations = 4L, Lambda_xy = function(x, y) {     (3 - x^2
  - y^2) }, bef_xlim = c(-1, 1), bef_ylim = c(-1, 1),
  subj_xlim = c(-1, 1), subj_ylim = c(-1, 1), alpha = 23,
  delta = -2.2, beta = 0.75, theta = 0.5, sigma = 1,
  K = function(x) exp(-x))

Arguments

seed

an integer for set.seed()

num_subj_realizations

number of subjects position processes to simulate

num_dist_realizations

number of bef processes to simulate

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

inten

intensity function for nhpp as a function of spatial coords (x,y)


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