Learn R Programming

sdcTarget (version 0.9-11)

show,sdcHashClass-method: Show Method For sdcHashClass Objects

Description

Returns an abbreviated summary of a sdcHashClass object.

The summary method runs and returns the output of some calculations on an sdcHashClass object, together with an abbreviated summary of the object itself.

Usage

## S3 method for class 'sdcHashClass':
show(object)

## S3 method for class 'sdcHashClass': summary(object)

Arguments

object
A sdcHashClass object.

Methods (by class)

  • sdcHashClass:
  • sdcHashClass:

Details

As described in the documentation for show, the default for printing out S4 objects is a call to a show method, whereas print is the default for S3 objects. This gives the possibility to have an alternative way to print the contents of a user-defined S4 class object.

Examples

Run this code
show(new("sdcHashClass"))
summary(new("sdcHashClass"))
my.X <- data.frame(matrix(ifelse(runif(500)>.5, TRUE, FALSE), ncol = 5))
my.hc <- new("sdcHashClass", X = my.X)
summary(my.hc)

Run the code above in your browser using DataLab