modify_side: modify a side to update it with new arguments

View source: R/modify_side.R

modify_sideR Documentation

modify a side to update it with new arguments

Description

modify a side to update it with new arguments

Usage

modify_side(object, args, side)

Arguments

object

gsplot object

args

a list of arguments

side

sides to modify with extra parameters

Examples

gs <- gsplot() %>%
   lines(c(0,10), c(0,10))
gs <- gsplot:::modify_side(gs, args = list(x=c(1,2), xlim=c(0,12)), side=1)


USGS-R/gsplot documentation built on April 17, 2023, 8:45 p.m.