powered by
The <use> element takes nodes from within the SVG document, and duplicates them somewhere else.
use.svg(id = NULL, x = NULL, y = NULL, scale, rotate, translate, skewX, skewY, style.sheet = NULL, transform.sheet = NULL)
a character, target of the link
a number, x transform coordinate
a number, y transform coordinate
a number. transform scale of the object
a vector, rotation of the object
a vector, translate of the object
a number
a vector or a chatacter, other style of the link, eg. "stroke-linecap: round"
a vector or a chatacter, other transform of the link,
the characher type of svg element
# NOT RUN { use.svg(id = "target", x = 100, y = 200) use.svg(id = "target", x = 100, y = 200, rotate = c(90, 100, 200)) # }
Run the code above in your browser using DataLab