Cute Little R Functions contains 21 functions for R/RStudio that facilitate basic procedures in 1) object analysis, 2) object modification, 3) graphic handling and 4) log file management.
Cute Little R Functions contains 32 functions for R/RStudio that facilitate basic procedures in 1) object analysis, 2) object modification, 3) graphic handling and 4) log file management.
The function names are:
The function names are:
fun_param_check() Check the class, type, mode and length, prop, neg values, na.contains, etc., of an object
## Object analysis
fun_object_info() provide a full description of the object
fun_1D_comp() compare two 1D datasets (vector of factor or 1D table) of the same class or not
fun_param_check() #### Checking class, type, length, etc. of objects
fun_2D_comp() compare two 2D datasets of the same class or not
fun_object_info() #### Recovering object information
fun_2D_head() display the left/right head of 2D objects
fun_1D_comp() #### comparison of two 1D datasets (vectors, factors, 1D tables)
fun_2D_tail() display the left/right tail of 2D objects
fun_2D_comp() #### comparison of two 2D datasets (row & col names, dimensions, etc.)
fun_list_comp() compare two lists
fun_2D_head() #### head of the left or right of big 2D objects
fun_dataframe_remodeling() remodel data frames
fun_2D_tail() #### tail of the left or right of big 2D objects
fun_refactorization() refactorize a factor or the factor columns of a data frame, such as only the class present are in the levels (no empty levels). The class order in levels is kept
fun_list_comp() #### comparison of two lists
fun_rounding() round a vector of values, if decimal, with the desired number of decimal digits after the decimal leading zeros