internal-methods {dembase}R Documentation

Internal methods

Description

Internal methods for existing functions

Usage

## S4 method for signature 'Net'
aperm(a, perm, resize = TRUE, keep.class = TRUE, ...)

## S4 method for signature 'Pool'
aperm(a, perm, resize = TRUE, keep.class = TRUE, ...)

## S4 method for signature 'Counts,Counts'
Ops(e1, e2)

## S4 method for signature 'Counts,Values'
Ops(e1, e2)

## S4 method for signature 'Counts,numeric'
Ops(e1, e2)

## S4 method for signature 'numeric,Counts'
Ops(e1, e2)

## S4 method for signature 'Counts,array'
Ops(e1, e2)

## S4 method for signature 'array,Counts'
Ops(e1, e2)

## S4 method for signature 'Counts,table'
Ops(e1, e2)

## S4 method for signature 'table,Counts'
Ops(e1, e2)

## S4 method for signature 'Counts,xtabs'
Ops(e1, e2)

## S4 method for signature 'xtabs,Counts'
Ops(e1, e2)

## S4 method for signature 'CountsWithSubtotals,ANY'
x[i, j, ..., drop = TRUE]

## S4 method for signature 'CountsWithSubtotals'
show(object)

## S4 method for signature 'DemographicAccount'
show(object)

## S4 method for signature 'DemographicArray,ANY'
x[i, j, ..., drop = TRUE]

## S4 method for signature 'DemographicArray'
aperm(a, perm, resize = TRUE, keep.class = TRUE, ...)

## S4 method for signature 'DemographicArray'
as.array(x, ...)

## S4 method for signature 'DemographicArray'
as.matrix(x, ...)

## S4 method for signature 'DemographicArray'
dim(x)

## S4 replacement method for signature 'DemographicArray'
dim(x) <- value

## S4 method for signature 'DemographicArray'
dimnames(x)

## S4 replacement method for signature 'DemographicArray'
dimnames(x) <- value

## S4 method for signature 'DemographicArray'
dimscales(object, use.names = TRUE)

## S4 replacement method for signature 'DemographicArray'
dimscales(object) <- value

## S4 method for signature 'DemographicArray'
dimtypes(object, use.names = TRUE)

## S4 replacement method for signature 'DemographicArray'
dimtypes(object) <- value

## S4 method for signature 'DemographicArray'
drop(x)

## S4 method for signature 'DemographicArray'
show(object)

## S4 method for signature 'DemographicArray'
t(x)

## S4 method for signature 'DemographicArray'
unname(obj, force = FALSE)

## S4 method for signature 'DimScale,integer'
x[i]

## S4 method for signature 'DimScale'
x %in% table

## S4 method for signature 'DimScale,ANY'
Compare(e1, e2)

## S4 method for signature 'ANY,DimScale'
Compare(e1, e2)

## S4 method for signature 'DimScale,DimScale'
Compare(e1, e2)

## S4 method for signature 'DimScale'
labels(object)

## S4 method for signature 'DimScale'
length(x)

## S4 method for signature 'Intervals,integer'
x[i]

## S4 method for signature 'Intervals'
x %in% table

## S4 method for signature 'Intervals,ANY'
Compare(e1, e2)

## S4 method for signature 'ANY,Intervals'
Compare(e1, e2)

## S4 method for signature 'Intervals,character'
Compare(e1, e2)

## S4 method for signature 'character,Intervals'
Compare(e1, e2)

## S4 method for signature 'Intervals,Intervals'
Compare(e1, e2)

## S4 method for signature 'Intervals'
labels(object)

## S4 method for signature 'Intervals'
length(x)

## S4 method for signature 'MetaData,numeric'
x[i]

## S4 method for signature 'MetaData,character'
x[i]

## S4 method for signature 'MetaData,logical'
x[i]

## S4 method for signature 'MetaData'
dim(x)

## S4 method for signature 'MetaData'
dimnames(x)

## S4 method for signature 'MetaData'
length(x)

## S4 method for signature 'MetaData'
show(object)

## S4 method for signature 'Movements'
summary(object)

## S4 method for signature 'Quantiles'
x %in% table

## S4 method for signature 'Quantiles,ANY'
Compare(e1, e2)

## S4 method for signature 'ANY,Quantiles'
Compare(e1, e2)

## S4 method for signature 'Quantiles,Quantiles'
Compare(e1, e2)

## S4 method for signature 'Quantiles'
diff(x)

## S4 method for signature 'Quantiles'
labels(object)

## S4 method for signature 'DemographicArray'
summary(object, ...)

## S4 method for signature 'SummaryDemographicArray'
show(object)

## S4 method for signature 'Values,Counts'
Ops(e1, e2)

## S4 method for signature 'Values,Values'
Ops(e1, e2)

## S4 method for signature 'Values,numeric'
Ops(e1, e2)

## S4 method for signature 'numeric,Values'
Ops(e1, e2)

## S4 method for signature 'Values,array'
Ops(e1, e2)

## S4 method for signature 'array,Values'
Ops(e1, e2)

## S4 method for signature 'Values,table'
Ops(e1, e2)

## S4 method for signature 'table,Values'
Ops(e1, e2)

## S4 method for signature 'Values,xtabs'
Ops(e1, e2)

## S4 method for signature 'xtabs,Values'
Ops(e1, e2)

Arguments

a

Typically an array.

perm

A vector of indices or names specifying the permutation.

resize

Logical. Whether the object should be resized as well as having its elements rearranged.

keep.class

Logical. Whether the result should has the same class as the original.

...

Other arguments.

e1

First element in operation or comparison.

e2

Second element in operation or comparison.

x

Typically an object of class DemographicArray.

i

Index.

j

Index.

drop

Logical. Whether to drop dimensions of length 1.

object

Typically an object of class DemographicArray.

value

Replacement value.

use.names

Logical. Whether the result should include the names of dimensions.

obj

Object of class DemographicArray.

force

A standard argument for unname but irrelevant for arrays.

table

Object of class "DimScale".


[Package dembase version 0.0.0.119 Index]