Statistics Norway's Miscellaneous Tools


[Up] [Top]

Documentation for package ‘SSBtools’ version 1.5.2

Help Pages

AddLeadingZeros Add leading zeros to numbers while preserving other text
aggregate_multiple_fun Wrapper to 'aggregate'
As_TsparseMatrix Transform to TsparseMatrix/dgTMatrix
AutoHierarchies Ensure standardized coding of hierarchies
AutoSplit Creating variables by splitting the elements of a character vector without needing a split string
CbindIdMatch Combine several data frames by using id variables to match rows
CheckInput Checking function inputs
check_input Checking function inputs
DataDummyHierarchies Create a (signed) dummy matrix for hierarcical mapping of codes in data
DataDummyHierarchy Create a (signed) dummy matrix for hierarcical mapping of codes in data
DimList2Hierarchy DimList2Hierarchy
DimList2Hrc DimList2Hrc/Hrc2DimList
DummyApply Apply a function to subsets defined by a dummy matrix
DummyDuplicated Duplicated columns in dummy matrix
DummyHierarchies Converting hierarchy specifications to a (signed) dummy matrix
DummyHierarchy Converting hierarchy specifications to a (signed) dummy matrix
dummy_aggregate 'aggregate_multiple_fun' using a dummy matrix
Extend0 Add zero frequency rows
Extend0rnd1 varGroups-attribute to Extend0, Example functions
Extend0rnd1b varGroups-attribute to Extend0, Example functions
Extend0rnd2 varGroups-attribute to Extend0, Example functions
FactorLevCorr Factor level correlation
FindCommonCells Finding commonCells
FindDimLists Finding dimList
FindDisclosiveCells Find directly disclosive cells
FindHierarchies Finding hierarchies automatically from data
FindTableGroup Finding table(s) of hierarchical variable groups
Formula2Hierarchy Hierarchy2Formula
Formula2ModelMatrix Sums (aggregates) and/or sparse model matrix with possible cross table
FormulaSelection Limit matrix or data frame to selected model terms
FormulaSums Sums (aggregates) and/or sparse model matrix with possible cross table
formula_selection Limit matrix or data frame to selected model terms
formula_utils Functions for formula manipulation
GaussIndependent Linearly independent rows and columns by Gaussian elimination
GaussIterationFunction An 'iFunction' argument to 'GaussSuppression'
GaussRank Linearly independent rows and columns by Gaussian elimination
GaussSuppression Secondary suppression by Gaussian elimination
HierarchicalGroups Finding hierarchical variable groups
HierarchicalWildcardGlobbing Find variable combinations by advanced wildcard/globbing specifications.
Hierarchies2Formulas Hierarchy2Formula
Hierarchies2ModelMatrix Model matrix representing crossed hierarchies
HierarchiesAndFormula2ModelMatrix Model matrix representing crossed hierarchies according to a formula
Hierarchy2Formula Hierarchy2Formula
HierarchyCompute Hierarchical Computations
HierarchyCompute2 Extended Hierarchical Computations
Hrc2DimList DimList2Hrc/Hrc2DimList
LSfitNonNeg Non-negative regression fits with a sparse overparameterized model matrix
MakeHierFormula Make model formula from data taking into account hierarchical variables
Match Matching rows in data frames
matlabColon Simulate Matlab's ':'
Matrix2list Convert matrix to sparse list
Matrix2listInt Convert matrix to sparse list
Mipf Iterative proportional fitting from matrix input
ModelMatrix Model matrix from hierarchies and/or a formula
model_aggregate Hierarchical aggregation via model specification
NamesFromModelMatrixInput Model matrix from hierarchies and/or a formula
Number Adding leading zeros
NumSingleton Decoding of 'singletonMethod'
quantile_weighted Weighted quantiles
RbindAll Combining several data frames when the columns don't match
Reduce0exact Reducing a non-negative regression problem
RoundWhole Round values that are close two whole numbers
RowGroups Create numbering according to unique rows
SeqInc Simulate Matlab's ':'
SortRows Sorting rows of a matrix or data frame
SSBtoolsData Function that returns a dataset
Stack Stack columns from a data frame and include variables.
UniqueSeq Sequence within unique values
Unstack Unstack a column from a data frame and include additional variables.
WildcardGlobbing Row selection by wildcard/globbing
WildcardGlobbingVector Selection of elements by wildcard/globbing