Plots observed costs for a viewpoint regression
as extracted with get_costs
.
1 2 3 4 5 6 7 8  plot_costs(x, x_lab = "Cost (bits/chord)", y_lab = "Model",
factor_lab = "Model type", factor_col = c("#E8E410", "#11A3FF",
"#B50000"))
## S3 method for class 'viewpoint_regression'
plot_costs(x, x_lab = "Cost (bits/chord)",
y_lab = "Model", factor_lab = "Model type",
factor_col = c("#E8E410", "#11A3FF", "#B50000"))

x 
Viewpoint regression model as created with

x_lab 
Label for the x axis. 
y_lab 
Label for the y axis. 
factor_lab 
Label for 'model type' factor. 
factor_col 
Colours for 'model type' factor. 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.