Code
price_formula_obj = stats::as.formula("price~lotsize+sqrft+bdrms")
RregressPkg::ols_BP_test_calc(df = wooldridge::hprice1, formula_obj = price_formula_obj)
Output
$statistic
[1] 14.09239
$p.value
[1] 0.00278206
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.