sumMC.RInSp: Summary function for Monte Carlo resampling results

sumMC.RInSpR Documentation

Summary function for Monte Carlo resampling results

Description

The function provides summary statistics on the Monte Carlo resampling simulated index distributions. It plots an histogram with the position of the actual value of the index for the original dataset (blue line) and the 2.5% and 97.5% percentile of the simulated distribution (red dashed lines).

It works for objects of class ‘RInSp’.

Usage

sumMC.RInSp(dataset)

Arguments

dataset

Dataset of class RInSp.

Author(s)

Dr. Nicola ZACCARELLI

See Also

See also WTcMC, WTdMC, or Emc.

Examples

#  sumMC.RInSp example using stickleback data from Bolnick and Paull 2009
data(Stickleback)
# Select a single spatial sampling site (site A)
GutContents_SiteA <- import.RInSp(Stickleback, row.names = 1,
info.cols = c(2:13), subset.rows = c("Site", "A"))
EmcRes <- Emc(GutContents_SiteA, replicates=499)
sumMC.RInSp(EmcRes)
rm(list=ls(all=TRUE))

RInSp documentation built on May 20, 2022, 9:06 a.m.