plot.binmod: plot function

Description Usage Arguments Examples

View source: R/binmod.R

Description

Generate figures using an object created by the binmod function.

Usage

1
2
## S3 method for class '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

1
2
3
4
5
6
#load PAS library
library (PAS)
#load the demo data
data(beef)
#conduct bin model analysis and plotting the result.
plot(binmod(x, y, map))

PAS documentation built on May 2, 2019, 11:11 a.m.