Create 'ggplot2' Plots in a Loop


[Up] [Top]

Documentation for package ‘ggloop’ version 0.1.0

Help Pages

%L+% Add components to a ggloop object.
%M% The modified combination of the modulus function ('%%') and integer divisor function ('%/%').
%R% The replacement operator. Replaces the 'lhs' with 'rhs' on the condition that 'length(lhs) == FALSE' (the length is '0').
aes_eval Assign inputs to 'x', 'y' or 'dots'.
aes_group Create unique pairings between 'x', 'y' and 'dots'.
aes_loop Create a list of grouped aesthetic mappings.
cur_vars_env Helper functions to select NSE (non-standard evaluation) variable names.
expand.grid2 A new version of an old favorite with some extra options
extract Extract the nth element from vectors in a list.
fun.par Regular expression pattern for determing if possible function parenthesis are present. Searches for '"("' and '")"' preceeded by any number of characters.
ggloop Create ggplot plots in a loop.
is.c Determine if the first element of a parse tree is identical to the 'c' function.
is.fun Is it a function?
is.op Determine if an input uses an arithmetical operator ('/', '+', '-', '*', '^').
isFALSE This is an abbreviation of identical(FALSE, x) to go along with isTRUE()
list.pos Finds the position of a named list element within a list (with no recurssion).
map_aes Loop through a list of grouped variables and assign class "uneval" to each element in the group.
messy_eval Reduce the amount of code by turning this sequence into a function.
name_groups Extract names for the first level of list components for the returned value of 'ggloop()'.
name_subgroups Extract names for the second level of list components for the returned value of 'ggloop()'.
recycle.NA A vector recycler using 'NA'.
recycle.vector A vector recycler using the contents of the shorter vector to do the recycling.
remap_xy_FALSE Mimicks R's internal recycling mechanism for the shorter of the two vectors.
remap_xy_NA Attaches NA during recycling of the smaller of the two vectors.
remap_xy_TRUE Uses 'expand.grid()' to create all possible combinations of xy pairings.
rm.gg2 Remove 'ggplot2' style and stand-alone aesthetic arguments (i.e. 'y', 'x:z', etc).
what Console function for determing: class, type, mode, and names of an object.