Questions tagged [olsrr]
4 questions
0
votes
0 answers
Breusch Pagan Test
Attempting to run this line of code but receiving this error message:
ols_test_breusch_pagan(wls_model)
# Error in ols_test_breusch_pagan(wls_model) :
# could not find function "ols_test_breusch_pagan"
Can anyone help diagnose? I've tried…

razztazz
- 13
- 4
0
votes
0 answers
Using foreach and doparrell packages to faster process ols_step_all_possible function in R
I have a rather large dataset that takes forever to run the olsrr package's "ols_step_all_possible" function. In fact, it crashes my computer through the process.
I've seen that parallel processing may be a way to rectify this situation using…

user14288796
- 15
- 2
0
votes
1 answer
How to fix could not find function error while building lm model in R Shiny?
To explain the issue, I created the simple app you see below. I have no problem using the mtcars dataset directly, but when the issue is reactive (or master in the example), I get the could not find function "master" error. No matter what I tried, I…

youraz
- 463
- 4
- 14
0
votes
1 answer
Incompatibility of ols_step_both_p with dplyr
I am trying to use ols_step_both_p with group_by function of dplyr package. I am using the following code
library(tidyverse)
library(olsrr)
#Do linear regression for all the locations
model = df %>%
mutate(Location = factor(Location, levels =…

UseR10085
- 7,120
- 3
- 24
- 54