% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dqsample.R
\name{dqsample}
\alias{dqsample}
\alias{dqsample.int}
\title{Unbiased Random Samples and Permutations}
\usage{
dqsample(x, size, replace = FALSE, prob = NULL)

dqsample.int(n, size = n, replace = FALSE, prob = NULL)
}
\arguments{
\item{x}{either a vector of one or more elements from which to choose, or a positive integer.}

\item{size}{a non-negative integer giving the number of items to choose.}

\item{replace}{should sampling be with replacement?}

\item{prob}{a vector of probability weights for obtaining the elements of the vector being sampled.}

\item{n}{a positive number, the number of items to choose from.}
}
\description{
Unbiased Random Samples and Permutations
}
\seealso{
\code{link{sample}} and \code{\link{sample.int}}
}
