jackKnife: Jackknifes a dataset.

Description Usage Arguments Value Author(s) Examples

View source: R/jackKnife.R

Description

This function performes jackknife resampling on a dataset.

Usage

1
jackKnife(DF, N, PR = 0.85, DIR = F)

Arguments

DF

data frame, matrix or any R object wich responds to function rownames().

N

number of desired jackknifed datasets.

PR

proportion of entries to DF that will be kept in the jackknifed datasets. Default is 0.85.

DIR

directory whre to save the jackknifed datasets. If FALSE (default) will not save to disk.

Value

list of jacknifed datasets. If DIR is specified also a folder in directory DIR containing one .RDS file per jackknifed dataset (with extension .jds - Jackknifed Data Set) will be created.

Author(s)

Luca Butikofer

Examples

1
2
data('frogs')
frogsJK<- jackKnife(DF= frogs, N= 10)

Example output



Biolinv documentation built on March 30, 2021, 5:13 p.m.

Related to jackKnife in Biolinv...