calculateNullExpected: Calculate the expected number of species from a null model.

View source: R/predict.R

calculateNullExpectedR Documentation

Calculate the expected number of species from a null model.

Description

Calculates the expected number of species based on a null model (all calibration data is in 1 group). These are just the probability of occurrence of each species in the calibration data.

Usage

calculateNullExpected(occur)

Arguments

occur

the site * species binary matrix of calibration data used to fit the RIVPACS model

Examples

x <- matrix(rbinom(100, size = 1, prob = 0.5), ncol = 10)
calculateNullExpected(x)

jasonelaw/RIVPACS documentation built on Sept. 27, 2022, 6:34 p.m.