str1: str1 a simple replacement for...

View source: R/rutils.R

str1R Documentation

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

Description

str1 an abbreviated replacement for str(x,max.level=1), which I put together because to often I make a typo when typing out the full str syntax. Hence I find str1 helpful

Usage

str1(x, attrs = FALSE, ...)

Arguments

x

the object whose structure is to be listed

attrs

should the objects attributes be printed? default = FALSE

...

ellipsis allows str arguments to be included, eg vec.len=4

Value

str(x,max.level=1,attrs=attrs,...)

Examples

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

haddonm/codeutils documentation built on April 5, 2025, 11:29 p.m.