Learn R Programming

sdcTable (version 0.29)

get.simpleTriplet: query simpleTriplet-objects depending on argument type

Description

query simpleTriplet-objects depending on argument type

Usage

get.simpleTriplet(object, type, input)

# S4 method for simpleTriplet,character,list get.simpleTriplet(object, type, input)

Arguments

object

an object of class simpleTriplet

type

a character vector of length 1 defining what to calculate|return|modify. Allowed types are:

input

a list depending on argument type.

Value

information from object depending on type

  • a numeric vector if type matches 'rowInd', 'colInd', 'values', 'nrRows', 'nrCols', 'nrCells' or 'duplicatedRows'

  • an object of class simpleTriplet if type matches 'transpose', 'getRow' or 'getCol'