plot.RprobitB_data | R Documentation |
This function is the plot method for an object of class RprobitB_data
.
## S3 method for class 'RprobitB_data' plot(x, by_choice = FALSE, alpha = 1, position = "dodge", ...)
x |
An object of class |
by_choice |
Set to |
alpha, position |
Passed to |
... |
Ignored. |
No return value. Draws a plot to the current device.
data <- simulate_choices( form = choice ~ cost | 0, N = 100, T = 10, J = 2, alternatives = c("bus", "car"), true_parameter = list("alpha" = -1) ) plot(data, by_choice = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.