Man pages for genpack/gener
A library of useful general functions in R

add_monthAdd or subtract months to a given date character
add_yearAdd or subtract years to a given date character.
assertTerminates the execution with an error message if the given...
column.feed.backwardFeeds missing values of each row with the values of its next...
column.feed.forwardFeeds missing values of each row with the values of its...
datetimesReturns labels of the columns of the given data frame...
feasibleReturns if a given value meets a given feasibility condition....
fortdayReturns the fortnight day of the given time
high.pass.meanReturns mean of a vector where values lower than a given...
high.pass.moving.meanReturns moving average(mean) of a vector where values lower...
is.emptyUse this function to check if a variable is empty or not
make.err.msgMakes a pretty error message to be displayed on the console
most_frequentReturns the most frequent element of given vector 'v'
nameColumnsThis function, changes the column names of the given table...
nominalsReturns nominal(categorical) column labels of a data frame
no.missingreturns TRUE if none of the elements of given argument v is...
numericsGet numeric column names of a data frame
repeat.charReplicates the given charachter to make a longer character...
roundto.multipleRounds 'x' to the nearest multiple of 'N'
toVectorListConverts a data.frame or matrix into a list of named vectors...
vect.cleanReplaces missing values of a vector by a given value
vect.extendExtends the given vector 'v' to length 'N'
vect.feed.backwardFeeds each missing value with the value of its next element....
vect.feed.forwardFeeds each missing value with the value of its previous...
vect.mapMaps a given vector into a given range
vect.normalizeNormalizes the given vector by dividing each element by the...
verifyVerifies that a given isvariable is valid.
genpack/gener documentation built on March 14, 2023, 9:52 a.m.