https://github.com/cran/RecordLinkage
Raw File
Tip revision: 91236cabdeb855d9c01a2714a751518c47acdc6b authored by Andreas Borg on 04 March 2019, 14:20:44 UTC
version 0.4-10.2
Tip revision: 91236ca
resample.Rd
\name{resample}
\alias{resample}

\title{Safe Sampling}
\description{                                                          
  Performs sampling without replacement while avoiding undesired behaviour if
  \code{x} has length 1.
  See documentation of \code{\link{sample}}.
}

\usage{
resample(x, size, ...)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{x}{A vector from which to sample.}
  \item{size}{A non-negative number giving the size of the sample.}
  \item{\dots}{Further arguments to \code{\link{sample}}.}
}

\keyword{misc}
back to top