Simulated data for four variables
SIMDATAXT
A data frame with 200 observations on the following 4 variables:
y1
(a numeric vector)
y2
(a numeric vector)
x1
(a numeric vector)
x2
(a numeric vector)
x3
(a numeric vector)
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
ggplot(data = SIMDATAXT, aes(x = x1, y = y)) + geom_point() + geom_smooth()
#> `geom_smooth()` using method = 'loess' and formula 'y ~ x'