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

elo.model.frame breaks with NAs #40

Closed
eheinzen opened this issue May 20, 2019 · 0 comments
Closed

elo.model.frame breaks with NAs #40

eheinzen opened this issue May 20, 2019 · 0 comments
Labels

Comments

@eheinzen
Copy link
Owner

> elo.run(replace(wins.A, 1, NA) ~ adjust(team.A, 10) + team.B, data = rbind(dat, dat), k = 20)
 Error in `$<-.data.frame`(`*tmp*`, adj.A, value = c(10, 10, 10, 10, 10,  : 
  replacement has 6 rows, data has 5 

where dat is the test data.

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

1 participant