View source: R/build_one_way_model.R
build_one_way_model | R Documentation |
Builds a one-way linear model that you can use for predicting new data values with desired properties.
build_one_way_model( n_training_pts = 20, x_name = "Explanatory", y_name = "Response", b0 = 1, b1 = 1, seed = NA, mod_sd = 1 )
n_training_pts |
number of points to simulate for the model residuals |
x_name |
name of the predictor variable |
y_name |
name of the response variable |
b0 |
desired intercept parameter |
b1 |
desired x1 slope parameter for x1 |
seed |
random seed for training data |
desired |
standard deviation of the residuals |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.