corner: Display one corner of a large matrix-like object

Description Usage Arguments Details Methods (by class)

View source: R/corner.R

Description

Display one corner of a large matrix-like object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
corner(x, ...)

## S3 method for class 'matrix'
corner(
  x,
  corner = c("topleft", "topright", "bottomleft", "bottomright"),
  n = 6L,
  ...
)

## S3 method for class 'data.frame'
corner(
  x,
  corner = c("topleft", "topright", "bottomleft", "bottomright"),
  n = 6L,
  ...
)

Arguments

x

A matrix or data.frame

...

arguments to be passed to or from other methods.

corner

The corner to show

n

The number of rows and columns to show

Details

This provides an alternative to head for matrix-like objects with many columns

Methods (by class)


steveped/spBioUtils documentation built on Sept. 25, 2021, 7:22 p.m.