resample {Omisc}R 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)

[Package Omisc version 0.1.5 Index]