get_bootstrap_permutation_old: Generates a list of permutation vectors for bootsrapping (old...

Description Usage Arguments Examples

Description

Generates a list of permutation vectors for bootsrapping (old version not used)

Usage

1

Arguments

data

dataframe containing two columns group and id.

n_boot

number of bootstrap permulations (resamplings). If n_rep = 0, no bootstraping is performed and we have the bootstrap sample, whcih consist of the same observations in the same order as source data.

Examples

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

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

EBukin/lassopmm documentation built on June 12, 2019, 9:51 a.m.