Description Usage Arguments Value Examples
A default plotting method for objects of class 'rbounds'
1 2 | ## S3 method for class 'rbounds'
plot(m)
|
m |
An object of class 'rbounds' estimated by |
A ggplot2 plot. Can be modified with any standard ggplot2 options
1 2 3 4 5 6 7 8 9 | N <- 1000
x <- rnorm(N)
e <- rnorm(N)
y <- as.numeric(2*x + e > 0)
z <- rbinom(N, 1, .75)
y_obs <- z*y
df <- data.frame(y_obs, x, z)
m1 <- pidoutcomes(y_obs ~ x, z, df)
plot(m1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.