Learn R Programming

PAS (version 1.2.5)

binmod.plot: plot function

Description

Generate figures using an object created by the binmod function.

Usage

# S3 method for binmod
plot(x, file=NULL, width=7, height=5, getdata=FALSE, ...)

Arguments

x

An object generated by the binnod function.

file

The prefix of the figure files to be saved.

width

width of the figures (inch).

height

height of the figures (inch).

getdata

A logic indicator. The default value is FALSE, which mean not to return the data for plotting.

...

Further graphical parameters may also be supplied as arguments.

Examples

Run this code
# NOT RUN {
#load PAS library
library (PAS)
#load the demo data
data(beef)
#conduct bin model analysis and plotting the result.
plot(binmod(x, y, map))
# }

Run the code above in your browser using DataLab