Error in `.rowNamesDF<-`(x, value = value) : invalid 'row.names' length

I keep getting this error, Error in .rowNamesDF<-(x, value = value) : invalid 'row.names' length

my code above is

model_aic = step(model_1, 
               scope = list(upper = aggression ~ .,
                            lower = aggression ~ comp + sibling + diet + parent
                            ), 
               trace = FALSE)

model_aic %>% Anova() %>% tidy()

and the code which gets the error is

model_aic %>%
  center_mod() %>%
  glm_coef(labels = model_labels(model_aic)) %>%
  as_hux() %>% set_align(everywhere, 2:3, "right")

I'm trting to perform model simplification keeping both significant preditcors as well as predictors of interest

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.