plot.InvariantCausalPrediction: Plots of "InvariantCausalPrediction" objects

Description Usage Arguments Value Author(s) References See Also

View source: R/plot.InvariantCausalPrediction.R

Description

Plots confidence intervals for invariant causal prediction (output of ICP function)

Usage

1
2
3
4
## S3 method for class 'InvariantCausalPrediction'
plot(x, 
                 maxshow = 50, col1 = NULL, col2 = NULL, col3 = NULL, 
                 mar = c(10, 4, 3, 1), lwd = 1, ...)

Arguments

x

Object of class "InvariantCausalPrediction", as generated by function ICP.

maxshow

Maximal number of variables to show confidence intervals for

col1

Colour of confidence intervals generated by accepted sets of variables (defaults to light red).

col2

Colour of point-estimates generated by accepted sets of variables (defaults to light red).

col3

Colour of confidence intervals generated by procedure (defaults to blue).

mar

Margins for the figure (might need to be adjusted to allow for long variable names.

lwd

Scaling of the width of the lines used for individual confidence intervals.

...

Additional inputs to generic plot function (not used).

Value

Does not return an object.

Author(s)

Nicolai Meinshausen <meinshausen@stat.math.ethz.ch>

References

Jonas Peters, Peter Buhlmann, Nicolai Meinshausen (2015):

Causal inference using invariant prediction: identification and confidence intervals

arxiv preprint http://arxiv.org/abs/1501.01332

See Also

ICP


InvariantCausalPrediction documentation built on Nov. 10, 2019, 5:06 p.m.