Learn R Programming

loon.ggplot (version 1.0.1)

g_getLocations: get locations for ggmatrix

Description

For the target compound loon plot, determines location in ggmatrix

Usage

g_getLocations(target)

# S3 method for default g_getLocations(target)

# S3 method for l_pairs g_getLocations(target)

Arguments

target

the (compound) loon plot whose locations are needed to lay out.

Value

a list of an appropriate subset of the named location arguments `c("ncol", "nrow", "layout_matrix", "heights", "widths")`. layout_matrix is an nrow by ncol matrix whose entries identify the location of each plot in g_getPlots() by their index.

See Also

l_getLocations, g_getPlots