peek: Peek at an object of any type

Description Usage Arguments Examples

View source: R/peek.R

Description

This is an ugly function that I have found useful for looking at objects of various types

Usage

1
peek(obj, n_row_to_show = 3, n_col_to_show = 4)

Arguments

obj

The object you wish to explore

n_row_to_show

Number of rows to show, defaults to 3

n_col_to_show

Number of cols to show, defaults to 4

Examples

1
peek(matrix(1:12, nrow=3), n_row=2, n_col=2)

daskelly/das documentation built on Oct. 21, 2020, 3:06 p.m.