unfold: Unfold a vector (the inverse of the fold function)

Description Usage Arguments Value Author(s)

View source: R/unfold.R

Description

Unfold a vector (the inverse of the fold function)

Usage

1
unfold(x, block.size = 1)

Arguments

x

a vector

block.size

the size of groups in which to block the data

Value

a vector in the following order: block 1, block 3, ..., block n-1, block n, block n-2, ..., block 2.

Author(s)

sspowers


mRchmadness documentation built on May 30, 2017, 6:49 a.m.