p_slr: p-value from simple linear regression model simulation
Description
p-values associated with the simple linear regression model,
\(y = \beta_0 + \beta_1 X + \epsilon\).
Focus is on the slope/intercept behavior of the model.
test to evaluate using lht.
Default evaluates the null hypothesis that the slope is equal to 0
gen_fun
function used to generate the required X-Y data.
Object returned must be a data.frame with the columns
'y' and 'x'. Default uses gen_slr.
User defined version of this function must include the argument ...
return_analysis
logical; return the analysis object for further
extraction and customization?
...
additional arguments to be passed to gen_fun. Not used
unless a customized gen_fun is defined