plot.barp | R Documentation |
This function plots the predictions by geographic unit geo.unit
.
## S3 method for class 'barp' plot(barp.obj, evaluate_model = F, algorithm = "all")
barp.obj |
A |
evaluate_model |
Plot model convergence diagnostics? If left to the default |
algorithm |
Select which algorithm's predictions should be plotted. If left to the default |
barp
which creates the prerequisite barp
object.
data("gaymar") barp.obj <- barp(y = "supp_gaymar", x = c("pvote","religcon","age","educ","gXr","stateid","region"), dat = svy, census = census06, geo.unit = "stateid", proportion = "n") plot(barp.obj, evaluate_model = F, algorithm = "BARP")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.