EffectTreat (version 1.1)

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

Description

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

Usage

# S3 method for 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_{\delta}\).

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().

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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab