data_split: split a matrix into desired 3-D array at set interval.

Description Usage Arguments Value Author(s) Examples

View source: R/data_split.R

Description

split a matrix into desired 3-D array at set interval.

Usage

1
data_split(mat, interval)

Arguments

mat

input matrix

interval

interval for splitting of matrix

Value

3-D array

Author(s)

Goutham Swaminathan goutham1220@gmail.com

Examples

1
2
3
4
5
6
## Not run: 
test_data = bone_list$x
test_data = cbind(test_data, bone_list$y)
bones = data_split(test_data, 100)

## End(Not run)

goutham1220/shipshape documentation built on May 21, 2019, 10:11 a.m.