sampling: Sampling simulator

Description Usage Arguments Value

View source: R/sharkbox-sampling.R

Description

Sampling simulator

Usage

1
sampling(object, skip = 0, start = 0, fraction = 1, ...)

Arguments

object

Population to be sampled, usually a data.frame

skip

Number of individuals to skip before next observation. The default is zero.

start

Start of the sampling as a fraction of the total observations. The default is zero (sampling start at the beginning).

fraction

Fraction to be sampled (after start). The default is one, all the population is sampled.

...

Additional arguments to be passed to other methods.

Value

The sample from the population.


roliveros-ramos/sharkbox documentation built on Oct. 4, 2019, 1:36 p.m.