internal-methods: Internal methods

Description Usage Arguments

Description

Internal methods for existing functions

Usage

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
## 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".


StatisticsNZ/dembase documentation built on Dec. 25, 2021, 4:49 p.m.