Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
model_data <- dataset
fantasy_lm <- lm(points_per_90 ~ now_cost + goals_scored + assists + clean_sheets, data = model_data)
model_data$score_lm <- predict(fantasy_lm, model_data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.