Learn R Programming

Rsampling - Resampling Stats functions ported to R

Resampling Stats (http://www.resample.com) is an add-in for running randomization tests in Excel worksheets. It adopts a simple workflow for significance tests:

  1. Define a statistic of interest that can be calculated from a data table;
  2. Randomize rows ad/or columns of a data table to simulate a null hypothesis
  3. Score the value of the statistic from many randomizations.

The relative frequency distribution of the statistic in the simulations is then used to estimated the probability of the observed value be generated by the null process. This is the probability of the rejection of the null hypothesis be an error (probability of Type I error).

This package intends to translate this logic for R for teaching purposes. Keeping the original workflow is favored over performance.

Installation:

install.packages("Rsampling")

Or, for the latest development snapshot:

library(devtools)
install_github(repo = 'lageIBUSP/Rsampling')

See also

Rsampling-shiny for a graphical user-interface in shiny.

Copy Link

Version

Install

install.packages('Rsampling')

Monthly Downloads

180

Version

0.1.1

License

GPL-2

Maintainer

Paulo I Prado

Last Published

June 7th, 2016

Functions in Rsampling (0.1.1)

embauba

Vine infestation on Cecropia trees
dplot

Statistic distribution plot
splot

Spaghetti plot
zfsample

Zero-fixed (re)sampling
rhyzophora

Allometry in mangrove trees
Rsampling

Repeats randomizations and scores summary statistics
azteca

An experiment on ant recruitment
basefunctions

Shuffling and resampling functions
pielou

Aphids recorded on goldenrods
peucetia

Preference of hunting spiders by hairy leaves