linearDataGen()
generates simulated linear line data (with equation info) and point data
suitable for the drawr()
function.
Arguments
- y_int
The y intercept of the line data.
- slope
The slope of the true line data
- sigma
The standard deviation of the line data.
- N
The number of points to generate. (default: 30)
- x_min
The minimum x value. (default: 0)
- x_max
The maximum x value. (default: 20)
- conf_int
If a 95% confidence interval should be generated for
drawr()
function. (default: FALSE)