sub_sample: Samples a Subset of N Rows From a Matrix Object

Description Usage Arguments Value Examples

View source: R/utility_functions.R

Description

Samples a Subset of N Rows From a Matrix Object

Usage

1
sub_sample(x, n_sub = 40)

Arguments

x

matrix, data.frame or xts object

n_sub

numerical value indicating how many rows should be sampled

Value

subset of n-rows of x

Examples

1
sub_sample(prices)

rengelke/tradr documentation built on Jan. 2, 2022, 2:03 p.m.