subrang: Second-step Resampling Function

Description Usage Arguments Value Examples

Description

This function is used for constructing sample subsets from the matrix of second-step resampling.

Usage

1
subrang(SEED, N, n, j, sam, type)

Arguments

SEED

a single value, interpreted as an integer.

N

a positive integer giving the number of iterations.

n

a non-negative integer giving the number of items to choose.

j

a positive integer representing the row index of matrix sam to choose from.

sam

matrix attained by first-step resampling.

type

character indicating the type of data, e.g., "luad".

Value

a matrix that each row represents the indices of samples for each iteration.

Examples

1
subrang(SEED=1, N=5, n=3, j=2, sam=sam, type="sarc")

Coraline66/Resampling documentation built on May 6, 2019, 12:51 p.m.