tableCorners: get NW, NE, SW and SE corners of a dataframe or matrix

Description Usage Arguments Value

View source: R/misc.R

Description

return a new dataframe or matrix with the elements at the four corners of the one provided

Usage

1
tableCorners(vals, n = 4)

Arguments

vals

the dataframe or matrix of interest

n

how many rows/cols to return from each end

Value

the new matrix


barkasn/nbHelpers documentation built on Oct. 10, 2020, 9:46 p.m.