Learn R Programming

bit (version 4.5.0)

str.bitwhich: Str method for bitwhich

Description

To actually view the internal structure use str(unclass(bitwhich))

Usage

# S3 method for bitwhich
str(
  object,
  vec.len = strO$vec.len,
  give.head = TRUE,
  give.length = give.head,
  ...
)

Value

invisible

Arguments

object

any R object about which you want to have some information.

vec.len

numeric (>= 0) indicating how many ‘first few’ elements are displayed of each vector. The number is multiplied by different factors (from .5 to 3) depending on the kind of vector. Defaults to the vec.len component of option "str" (see options) which defaults to 4.

give.head

logical; if TRUE (default), give (possibly abbreviated) mode/class and length (as type[1:...]).

give.length

logical; if TRUE (default), indicate length (as [1:...]).

...

potential further arguments (required for Method/Generic reasons).

Examples

Run this code
str(bitwhich(120))

Run the code above in your browser using DataLab