Learn R Programming

spatstat.geom (version 2.1-0)

update.symbolmap: Update a Graphics Symbol Map.

Description

This command updates the object using the arguments given.

Usage

# S3 method for symbolmap
update(object, …)

Arguments

object

Graphics symbol map (object of class "symbolmap").

Additional or replacement arguments to symbolmap.

Value

Another object of class "symbolmap".

Details

This is a method for the generic function update for the class "symbolmap" of graphics symbol maps. It updates the object using the parameters given in the extra arguments .

The extra arguments must be given in the form name=value and must be recognisable to symbolmap. They override any parameters of the same name in object.

See Also

symbolmap to create a graphics symbol map.

Examples

Run this code
# NOT RUN {
  g <- symbolmap(size=function(x) x/50)
  g
  update(g, range=c(0,1))
  update(g, size=42)
  update(g, shape="squares", range=c(0,1))
# }

Run the code above in your browser using DataLab