Learn R Programming

EGRETci (version 1.0.0)

blockSample: blockSample

Description

Get a subset of the Sample data frame based on the user-specified blockLength.

Usage

blockSample(localSample, blockLength)

Arguments

localSample
Sample data frame
blockLength
integer size of subset.

Value

  • surfaces matrix

Examples

Run this code
library(EGRET)
eList <- Choptank_eList
Sample <- eList$Sample
bsReturn <- blockSample(Sample, 25)

Run the code above in your browser using DataLab