plot.Min.R2.delta: Plot R^2_{delta} as a function of delta.

Description Usage Arguments Author(s) References See Also Examples

View source: R/Min.R2.delta.R

Description

This function plots R^2_{δ} as a function of δ (in the multivariate case).

Usage

1
2
## S3 method for class 'Min.R2.delta'
plot(x, Ylab, Main="", Ylim=c(0, 1), ...)

Arguments

x

An object of class plot.Min.R2.delta. See Min.R2.delta.

Ylab

The legend of the Y-axis of the PCA plot. Default R^2_{δ}.

Main

The title of the plot. Default " " (no title).

Ylim

The limits of the Y-axis. Default Ylim=c(0, 1).

...

Extra graphical parameters to be passed to plot().

Author(s)

Wim Van der Elst, Ariel Alonso, & Geert Molenberghs

References

Alonso, A., Van der Elst, W., Luaces, P., Sanchez, L., & Molenberghs, G. (submitted). Evaluating multivariate predictors of therapeutic success: a causal inference approach.

See Also

Min.R2.delta

Examples

1
2
3
4
5
6
Fit <- Min.R2.delta(delta = seq(from = 0, to = 250, by=50), 
  Sigma_T0T0 = 38.606, Sigma_T1T1 = 663.917)

# Explore the results
summary(Fit)
plot(Fit)

Example output

Function call:

Min.R2.delta(delta = seq(from = 0, to = 250, by = 50), Sigma_T0T0 = 38.606, 
    Sigma_T1T1 = 663.917)

# R2_delta for different delta's:
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  delta R^2_delta
1     0 1.0000000
2    50 0.9511107
3   100 0.9022213
4   150 0.8533320
5   200 0.8044426
6   250 0.7555533

EffectTreat documentation built on July 8, 2020, 7:17 p.m.