Learn R Programming

Haplin (version 6.0.1)

plot.haplinTDT: Plot a haplinTDT object

Description

Plots a haplinTDT object.

Usage

"plot"(x, separate.plots = FALSE, filename, filetype = "png", ask = TRUE, ...)

Arguments

x
A haplinTDT object, i.e. the result of running haplinTDT.
separate.plots
Logical. The default is several plots on one page (FALSE), the alternative (TRUE) is one plot per page.
filename
If you want a file containing the plot to be produced, give a character string for the filename.
filetype
The default filetype is "png", alternatively you can choose "jpeg" or "pdf".
ask
Logical; if 'TRUE', the user is asked before each new page to be plotted.
...
Further arguments to be passed on to the plot function.

See Also

haplinTDT, summary.haplinTDT

Examples

Run this code

## Not run: 
# 
# ## Standard run:
# res <- haplinTDT("data.dat", nsim.perm=1000)
# plot(res)
# ## End(Not run)

Run the code above in your browser using DataLab