plot2D: Plot 2D cancer incidence splines

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/plot2D.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
## Not run: 
library(SEERaBomb)
n=simSeerSet()
n=mk2D(n) 
plot2D(n)

## End(Not run)

SEERaBomb documentation built on Dec. 16, 2019, 1:21 a.m.