pack.svg {easySVG} | R Documentation |
pack svg
Description
pack svg
Usage
pack.svg(width = 1200, height = 800, output.svg.name = NULL,
pack.content = pack.content)
Arguments
width |
a number, width of the plot |
height |
a number, height of the plot |
output.svg.name |
a character, the output svg file name |
pack.content |
a character or a list, group content |
Value
the characher type of svg element
Examples
pack.svg(pack.content = "<text x=\"10\" y=\"20\"> this is a svg element </text>")
pack.content <- list(svg1 = "<text x=\"10\" y=\"20\"> this is a svg element </text>",
svg2 = "<text x=\"10\" y=\"40\"> this is a svg element </text>")
pack_info <- pack.svg(pack.content = pack.content)
message(pack_info)
[Package easySVG version 0.1.0 Index]