resample: resample

View source: R/resample.R

resampleR Documentation

resample

Description

resample

Usage

resample(X, size)

Arguments

X

A vector to be resamples

size

The size of the resulting vector. Should be a number such that size*nrow(X) is a whole number

Value

A vector of resampled X values

Examples

X<-c(1:10)
resample(X,.5)

Omisc documentation built on Aug. 9, 2022, 5:09 p.m.

Related to resample in Omisc...