View source: R/4viewpointregression.R
Plots regression weights for discrete viewpoints in a viewpoint regression model.
1 2 3 4 5 6 7  plot_discrete_weights(x, x_lab = "Viewpoint", y_lab = "Weight",
colours = c("#B50000", "#11A3FF"), labels = x$viewpoint_labels)
## S3 method for class 'viewpoint_regression'
plot_discrete_weights(x,
x_lab = "Viewpoint", y_lab = "Weight", colours = c("#B50000",
"#11A3FF"), labels = x$viewpoint_labels)

x 
Viewpoint regression model object,
as created by 
x_lab 
Label for x axis. 
y_lab 
Label for y axis. 
colours 
Vector of colours to use. 
labels 

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.