chop: Remove the First or Last n of an Object

Description Usage Arguments Examples

View source: R/utils.R

Description

Remove the First or Last n of an Object

Usage

1
chop(X, n = 1)

Arguments

X

a data.frame or a matrix

n

an integer. number of row to be removed from last. Same as head(X, NROW(X) - n).

Examples

1
chop(iris, 140)

katokohaku/featureTweakR documentation built on May 17, 2019, 11:17 p.m.