Statistics Norway's Miscellaneous Tools


[Up] [Top]

Documentation for package ‘SSBtools’ version 1.3.0

Help Pages

AddLeadingZeros Add leading zeros to numbers while preserving other text
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
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
DummyDuplicated Duplicated columns in dummy matrix
DummyHierarchies Converting hierarchy specifications to a (signed) dummy matrix
DummyHierarchy Converting hierarchy specifications to a (signed) dummy matrix
Extend0 Add zero frequency rows
FactorLevCorr Factor level correlation
FindCommonCells Finding commonCells
FindDimLists Finding dimList
FindDisclosiveCells Find directly disclosive cells
FindHierarchies Ensure standardized coding of hierarchies
FindTableGroup Finding table(s) of hierarchical variable groups
Formula2Hierarchy Hierarchy2Formula
Formula2ModelMatrix Sums (aggregates) and/or sparse model matrix with possible cross table
FormulaSums Sums (aggregates) and/or sparse model matrix with possible cross table
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.
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
HierarchyFix Change the hierarchy table to follow the standard
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
NamesFromModelMatrixInput Model matrix from hierarchies and/or a formula
Number Adding leading zeros
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 ':'
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
XprodRnd Duplicated columns in dummy matrix