get_bootstrap_permutation: Generates a list of permutation vectors for bootsrapping

Description Usage Arguments Examples

Description

Generates a list of permutation vectors for bootsrapping

Usage

1

Arguments

data

dataframe containing two columns group and id.

n_rep

number of resamplings

Examples

1
2
3
4
5
6
7
8
library(dplyr)
library(purrr)
library(tidyr)
library(glmnet)
library(syntheticpanel)

df <- tibble::tibble(id = 1:30, group = sort(rep(1:3, 10)))
get_bootstrap_permutation(df, 3)

EBukin/syntheticpanel documentation built on May 9, 2019, 12:02 a.m.