Package 'svgplotr'

Title: Fast plots of svg graphics in R
Description: What the package does (one paragraph).
Authors: mark padgham [aut, cre]
Maintainer: mark padgham <[email protected]>
License: GPL-3
Version: 0.0.0.9000
Built: 2024-08-19 05:02:23 UTC
Source: https://github.com/hypertidy/svgplotr

Help Index


getlines

Description

Make a single trail from a bunch of random connected edges

Usage

getlines(n = 1000, xylim = 1000)

Arguments

n

Number of edges

xylim

Maximal x and y values

Value

A data.frame of randomly wandering edges


getpoints

Description

Get a bunch of random points along with colour attributes

Usage

getpoints(n = 1000, xylim = 1000)

Arguments

n

Number of points

xylim

Maximal x and y values

Value

A data.frame of random points


svgplot_lines

Description

Plot line data as html-formatted svg file.

Usage

svgplot_lines(dat, filename, html = TRUE)

Arguments

dat

A test data.frame from getlines

filename

Name of html file to write svg data

html

If TRUE, produce file in html format; otherwise straight svg.

Value

Nothing


svgplot_points

Description

Plot point data as html-formatted svg file.

Usage

svgplot_points(dat, filename, html = TRUE)

Arguments

dat

A test data.frame from getpoints

filename

Name of html file to write svg data

html

If TRUE, produce file in html format; otherwise straight svg.

Value

Nothing


svgplotr.

Description

svgplotr.