get_power: Seasonal power

Description Usage Arguments Examples

View source: R/buruli_fn.R

Description

get_power Obtains power for seasonal associations using cosignor (Barnett and Dobson 2010)

Usage

1
get_power(N, a, w, P, t, sd = 1, sig = 0.05, max1 = 0)

Arguments

N

Number of simulations

a

amplitude

w

frequency

P

phase

t

time

sd

standard deviation of random error

sig

significance level (defaults to 0.05)

max1

Maximum number of days delayed

Examples

1
2
3
4
5
6
N <- 100
a <- 1
w <- 1/16
P <- 0
t <- seq(1, 365 * 2, by = 1)
get_power(100, a, w, P, t)

kralljr/buruli documentation built on May 20, 2019, 1:25 p.m.