Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to output the result using function ols_step_both_p #172

Open
yayyb opened this issue Dec 14, 2020 · 3 comments
Open

Unable to output the result using function ols_step_both_p #172

yayyb opened this issue Dec 14, 2020 · 3 comments
Assignees
Labels

Comments

@yayyb
Copy link

yayyb commented Dec 14, 2020

My code:

in_model <- lm(as.formula(paste("max_def~", paste(att_list2, collapse = "+"))), data = t2)
step_wise <- ols_step_both_p(in_model, pent = 0.05, prem = 0.05, details = TRUE )

This is the error message:

Error in data.frame(model = rep(seq_len(all_step), lbetas), predictor = names(betas), :
arguments imply differing number of rows: 39, 35

image

@aravindhebbali aravindhebbali self-assigned this Dec 14, 2020
@aravindhebbali
Copy link
Member

Hi @yayyb Is it possible to share the data (after anonymizing), so that we can debug this further.

@wbw111
Copy link

wbw111 commented Oct 10, 2022

I met the same problem. Could you tell me how did you solve it?

@aravindhebbali
Copy link
Member

Hi @wbw111, is it possible to share a reproducible example that will help us debug the error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants