resample_permutation: Create a resampled permutation of a data frame

View source: R/permute.R

resample_permutationR Documentation

Create a resampled permutation of a data frame

Description

Create a resampled permutation of a data frame

Usage

resample_permutation(data, columns, idx = NULL)

Arguments

data

A data frame

columns

Columns to be permuted

idx

Indices to permute by. If not given, generates them randomly

Value

A permutation object; use as.data.frame to convert to a permuted data frame


tidyverse/modelr documentation built on Oct. 31, 2023, 7:39 p.m.