Skip to content

Unable to output the result using function ols_step_both_p #172

@yayyb

Description

@yayyb

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions