plot.PDS: Ploting a PDS object

Description Usage Arguments Details Value Author(s) Examples

View source: R/plot.PSD.R

Description

This function make a plot of a PDS object.

Usage

1
2
3
4
## S3 method for class 'PDS'
plot(x, variables=sample(names(x$table), size =
                 min(c(4, ncol(x$table)))), type = c("ggpairs",
                 "plotmatrix", "time"), ...)

Arguments

x

A PDS Object.

variables

A character vector with names of variables in the object$table data.frame.

type

A string indicating the type of plot between "ggpairs", "plotmatrix" and "time".

...

Other arguments of plot (unused)

Details

ggpairs is

Value

Depending on the type of plot, this function can return a ggplot oject or ggpairs object (from ggplot2 and ggpairs packages respectively)

Author(s)

Joshua B. Kunst

Examples

1
2
3
4
5
## Not run: 
object <- readPDStable("data/apollo12_sws_1hr_1976c9388")
plot.PDS(object, type= "time")

## End(Not run)

gvegayon/PDSR documentation built on May 17, 2019, 9:29 a.m.