simPoissonY: Count Data Simulation

Description Usage Arguments Value Examples

View source: R/SimPoissonY.R

Description

This function simulates multivariate Poisson count data from a latent factor model.

Usage

1
2
simPoissonY(n, p, mu.alpha = 0, sd.alpha = 1, mu.beta = 0,
  sd.beta = 1)

Arguments

n

- number of sites.

p

- number of species

mu.alpha

- mean for alpha parameter: default is 0

sd.alpha

- sd for alpha parameter: default is 1

mu.beta

- mean for beta parameter: default is 0

sd.beta

- sd for beta parameter: default is 1

Value

mat - matrix representation of abundance

vec - vectorized representation of abundance

alpha.true - true values of alpha

beta.true - true values of alpha

theta.true - true values of alpha

z.true - true values of alpha

Examples

1
simPoissonY(10,10)

andyhoegh/UncertainOrd documentation built on Aug. 9, 2019, 4:33 p.m.