modelTest: Significance test against a null model

modelTestR Documentation

Significance test against a null model

Description

Significance test against a null model

Usage

modelTest(
  pdf,
  model,
  nsims = 1000,
  conf = 0.95,
  tails = 2,
  normalise = F,
  ncores = parallel::detectCores() - 1,
  save.sim = F,
  verbose = T
)

Arguments

pdf

A skyscapeR.pdf object created with either az.pdf or coordtrans

model

A data.frame or list of data.frames with equal number to the empirical observations. See example for structure

nsims

(Optional) Number of simulations to run. Default is 1000.

conf

(Optional) Confidence envelope (in percentage) of the null model to calculate. Default is .95

tails

(Optional) Whether to calculate 1-tailed p-value (greater than) or 2-tailed p-value (smaller than or greater than). Default is 2.

normalise

(Optional) Boolean to control whether to normalize SPDs. Default is FALSE

ncores

(Optional) Number of CPU cores to use. Default is the number of available cores minus 1.

verbose

(Optional) Boolean to control whether or not to display text. Default is TRUE.

.res

(Optional) Resolution with which to output probability distribution(s). Default is 0.1 degrees.


f-silva-archaeo/skyscapeR documentation built on Sept. 25, 2024, 7:50 p.m.