# Man pages for 42n4/dmr.utilA package with utility functions used in the book Cichosz, P. (2015): Data Mining Algorithms: Explained Using R

 arg.max Find an argument that maximizes a function arg.min Find arguments that minimize a function as.num0 Convert a factor to numeric values starting from 0 as.numchar Convert a factor to numeric values with the same character... attr.type Get a discrete/numeric attribute type information for a... binvec2int Convert a binary vector to an integer representation clip.val Clip numeric values to a given range closest.above Find the closest value above a given threshold in a numeric... closest.below Find the closest value below a given threshold in a numeric... cmm Multiply the columns of a matrix by the corresponding... cosine Calculate the cosine of two vectors dmr.util-package A package with utility functions used in the book Cichosz, P.... drop1val Drop attributes (columns) that only take single values for a... flevels Get factor levels as a factor insert.ord Insert a value to a vector preserving the existing order int2binvec Convert an integer to a binary vector representation l2norm Calculate the L2 (Euclidean) norm of a vector label Convert numerical values to a factor using specified labels label.all Convert a numeric vector to a factor using all specified... logp Calculate a base-2 logarithm of a probability value,... make.formula Make a formula using given target and input attributes midbrk Find middle break points between consecutive values in a... plogp Calculate the product of a probability and its base-2... ranges Determine the ranges (max-min differences) of numeric columns... rmm Multiply the rows of a matrix by the corresponding elements... shift.left Shift vector elements to the left shift.right Shift vector elements to the right skip.cond Skip vector/list elements that satisfy a condition skip.val Skip vector elements equal to a value ustep Calculate the unit step function value weighted.table Calculate the weighted table of discrete attribute value... x.vars Extract the input attribute names from a formula for a... y.var Extract the target attribute name from a formula
42n4/dmr.util documentation built on May 19, 2017, 12:44 a.m.