Learn R Programming

condvis (version 0.2-2)

update.xsplot: Update a conditional expectation plot

Description

Takes an existing object of class 'xsplot'

Usage

## S3 method for class 'xsplot':
update(object, xc.cond = NULL, data.colour = NULL, 
    data.order = NULL, view3d = NULL, theta3d = NULL, phi3d = NULL, 
    xs.grid = NULL, prednew = NULL, ...)

Arguments

object
object of class 'xsplot', as produced by plotxs
xc.cond
to update the section visualised
data.colour
to update the colour assigned to observations
data.order
to update the plotting order of observations
view3d
if TRUE, prefers a 3-D perspective mesh over a colour contour map
theta3d
horizontal rotation of perspective mesh plot
phi3d
vertical rotation of perspective mesh plot
xs.grid
grid of values at which to evaluate models on section
prednew
evaluated intersection of models with section, useful when rotating a plot, where the intersection does not need to be recalculated
...
not used

Value

  • The same object of class 'xsplot', with relevant parts updated

See Also

update.xcplot, plotxs