Learn R Programming

pacviz (version 1.0.3)

pac.plot: Pac-Man plotting function

Description

A method of plotting traditional Cartesian data, based on a restricted radial coordinate system, while preserving the information.

Usage

pac.plot(x, y, title, taxis, raxis, color1 = "gold")

Value

Pac-Man SVM

Arguments

x, y

Numeric data

title

Figure title

taxis, raxis

Vector with the first entry being the axis label and the second entry being units

color1

Color value as string or rgb

Examples

Run this code
# Generic Pac-Man plot
data("cars")
pac.plot(cars$dist,cars$speed, 'Example 1', c("Distance", "m"), c("Speed", "m/s"))

Run the code above in your browser using DataLab