plot.regweight | R Documentation |

This provides access to all plotting functions and tries to smartly use the appropriate one based on the covariate provided. If covariate type is inappropriately recognized please use the appropriate plotting function directly.

## S3 method for class 'regweight' plot(x, covariate, ...)

`x` |
Weighting model object |

`covariate` |
Covariate vector |

`...` |
additional arguments passed to individual plotting functions |

A `ggplot2::ggplot`

object.

`calculate_weights()`

, `plot_weighting_discrete()`

, `plot_weighting_continuous()`

, `plot_weighting_map()`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.