christophergandrud / christophergandrud/coreSim

. in predictor variable name causes errors

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

```
dat <- tibble(x.x = 1:10,
y = rnorm(x.x)) %>%
as.data.frame()

mod <- lm(y ~ x.x, data = dat)

a <- qi_builder(mod,
newdata = dat,
slim = FALSE,
ci = 1
)
```

Causes the error

```
Error in possible_interaction_terms(fitted_names, n = k) :
Number of possible interaction terms cannot exceed number of base terms.
```

If I replace the . with a _, the error goes away.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.