Learn R Programming

trimmer (version 0.8.1)

Trim an Object

Description

A lightweight toolkit to reduce the size of a list object. The object is minimized by recursively removing elements from the object one-by-one. The process is constrained by a reference function call specified by the user, where the target object is given as an argument. The procedure will not allow elements to be removed from the object, that will cause results from the function call to diverge from the function call with the original object.

Copy Link

Version

Install

install.packages('trimmer')

Monthly Downloads

184

Version

0.8.1

License

MIT + file LICENSE

Maintainer

Lars Kjeldgaard

Last Published

December 18th, 2019

Functions in trimmer (0.8.1)

trim

Trim an R Object
pf_obj_size

Convert Size in Bytes to Print Friendly String
fix_undefined_global_vars

Fix til at undg<U+00E5> R CMD check notes for "no visible binding for global variable"
get_results_for_object

Compute Results From Function Call with Object as Argument
convert_idx_to_name

Convert Numbered Index to Named Index of List Element
adjust_candidates

Adjust Data Table with Candidate Elements for Elimination