str2: str2 a simple replacement for...

View source: R/rutils.R

str2R Documentation

str2 a simple replacement for str(x,max.level=2,give.attr=FALSE)

Description

str2 an abbreviated replacement for str(x,max.level=2), which I put together because to often I make a typo when typing out the full str syntax. For when str1 is not detailed enough.

Usage

str2(x, attrs = FALSE)

Arguments

x

the object whose structure is to be listed

attrs

should the objects attributes be printed? default = FALSE

Value

str(x,max.level=2)

Examples

x <- matrix(rnorm(25,mean=5,sd=1),nrow=5,ncol=5)
str2(x)

haddonm/codeutils documentation built on April 15, 2024, 1:02 p.m.