Subset a gpar Object

subset_gp(gp, i)

Arguments

gp

A gpar object.

i

A vector of indices.

Value

A gpar object.

Examples

gp = gpar(col = 1:10, fill = 1) subset_gp(gp, 1:5)
#> $col #> [1] 1 2 3 4 5 #> #> $fill #> [1] 1 #>