plot2D {SEERaBomb}R Documentation

Plot 2D cancer incidence splines

Description

Plots splines of incidence versus age and calendar year produced by mk2D.

Usage

plot2D(seerSet, write=TRUE,outDir="~/Results/plots",col="red")

Arguments

seerSet

seerSet object after it is processed by mk2D.

write

TRUE if you want to write images to a seerSet subfolder. The name of this subfolder is the basefilename (bfn) of the seerSet.

outDir

Parent folder of seerSet subfolders.

col

Color of surface plot.

Details

A plot will be produced for each cancer fitted by mk2D. For the first of these, RGL will open a new X11 window. Adjustments of size and angle of this first plot will hold for all subsequent plots. After each plot, the user hits any key to write the plot to a file and advance through the list of cancers.

Value

None, results go to the screen and to png files.

Author(s)

Tom Radivoyevitch (radivot@ccf.org)

See Also

SEERaBomb-package, mk2D,seerSet

Examples

## Not run: 
library(SEERaBomb)
n=simSeerSet()
n=mk2D(n) 
plot2D(n)

## End(Not run)

[Package SEERaBomb version 2019.2 Index]