plot.causalWeights
# S3 method for causalWeights
plot(
x,
r_eff = NULL,
penalty,
p = 2,
cost = NULL,
debias = TRUE,
online.cost = "auto",
diameter = NULL,
niter = 1000,
tol = 1e-07,
...
)
The plot method returns an invisible object of class summary_causalWeights.
A causalWeights object
The \(r_\text{eff}\) to use for the PSIS_diag()
function.
The penalty of the optimal transport distance to use. If missing or NULL, the function will try to guess a suitable value depending if debias is TRUE or FALSE.
\(L_p\) distance metric power
Supply your own cost function. Should take arguments x1
, x2
, and p
.
TRUE or FALSE. Should the debiased optimal transport distances be used.
How to calculate the distance matrix. One of "auto", "tensorized", or "online".
The diameter of the metric space, if known. Default is NULL.
The maximum number of iterations for the Sinkhorn updates
The tolerance for convergence
Not used at this time
The plot method first calls summary.causalWeights on the causalWeights object. Then plots the diagnostics from that summary object.
summary.causalWeights()