Learn R Programming

OPSR (version 1.0.1)

plot.opsr: Plot Method for OPSR Model Fits

Description

Wrapper around pairs.opsr.te.

Usage

# S3 method for opsr
plot(
  x,
  type = c("response", "unlog-response", "prob", "mills", "correction", "Xb"),
  weights = NULL,
  ...
)

Value

Returns x invisibly.

Arguments

x

an object of class "opsr".

type

see predict.opsr for details.

weights

a vector of weights. If NULL then weights from object will be used.

...

further arguments passed to pairs.opsr.te.

See Also

opsr_te, pairs.opsr.te