What the package does (short line)


[Package List] [Top]

Documentation for package `utilDataStrut' version 1.0

Help Pages

utilDataStrut-package What the package does (short line) ~~ package title ~~
listExtractor Extract the values of vars and order them in the same seq as the nameList.
util.array3d.2matrix Reconstruct a 3-dimension array into a matrix
util.catStr cancatenate all elements in a vector as a string
util.dataframe.findColNo Based on column name, find the column number for the variable in a data.frame.
util.dataframe.merge Reconstruct a list of data.frame into a big data.frame or matrix
util.dataframe.round round the numbers in a vector to the same digit and possibly replace NA with other presentation.
util.list.2matrix Reconstruct a list into a matrix
util.list.ex Extract the values of vars and order them in the same seq as the nameList.
util.list.rmByKeyVal Remove an element from a list according to a list of primary key values
util.matrix.2list convert a matrix to a vector of list, where a list corresponde to a row/column in the matrix
util.matrix.cat cancatenate columns in a matrix by a string argu, sep
util.matrix.catm cancatenate columns in a matrix by a series of deliminators
util.matrix.catSave cancatenate columns in a matrix and append it as the primary key column to the last column
util.matrix.clone Make duplication of a matrix n times and append them together
util.matrix.col.shuffle Reconstruct the columns in a matrix
util.matrix.col.shuffle2 Reconstruct the columns in a matrix
util.matrix.csvText convert data in a matrix into a vector of strings with rounding or write them to a comma separate file
util.matrix.delCol Remove the ith column from a matrix.
util.matrix.exByKeyInRow select rows from a matrix if their primary key column contained in the keys we want to select from
util.matrix.insertCol Insert a column after the ith column in the matrix
util.matrix.merge Merge two matrix side by side(?)
util.matrix.rmSparseRow Remove the rows in a matrix which the ith column has value less than or equal to the minimum requirement .
util.randomCaseAssign Generate a vector of 0/1, where for every segLen numbers (a segment), the poisition of number 1 is randomly picked by a uniform distribution.
util.str.2CharArray convert a string into a vector of characters
util.str.cat cancatenate all elements in a vector as a string
util.str.seqCutter Generate a vector of strings as a result of spliting a string with a sequence of delimiters
util.str.tokenPicker Extract the ith elements in a string split by a deliminator
util.tbl.exFactorInfo extract count information from cross-tab frequency table(?)
util.vec.exByKey select elements from a vector based on their key values and reorganize them in the same order as keysOrder
util.vec.matchVec check if the adjacent numbers in a vector match the numbers in benchMark
util.vec.orderPair reorder the two numbers in a vector so that the first one is less than or equal to the second one
utilDataStrut What the package does (short line) ~~ package title ~~