How Can I Learn R?
14We use the software program R to conduct statistical analysis for this site (you can download it here). Many visitors of the site have expressed interest in learning R, so we’ve put together a list of beginning resources for learning R:
- Use this intro to R: http://www.statmethods.net/
- Check out these resources for getting started with R: https://stats.idre.ucla.edu/r/
- Watch these videos from Coursera: http://blog.revolutionanalytics.com/2012/12/coursera-videos.html
- Take this Introduction to R course
- Learn R interactively with swirl
- Use the learnr package
- Post to the R mailing list or forums if you have questions
- Read other blogs on R-bloggers
- Read this site!
Here are some resources for learning statistics:
- Free textbook on statistics: https://www.openintro.org/stat/textbook.php
- Free textbook on Learning Statistics with R
- An excellent introductory textbook on Discovering Statistics using R
- Take this Data Analysis and Statistical Inference course
Share
Actually you have 3 relevant backgrounds: stats, psychology and sports. Much of the advanced work uses psychology and Decision Theory. Given your background i hope to see Behavioral Finance and formal Predictive Analytics. Hopefully you will provide some tips and formulae in R.
Hey Isaac,
Love the website really interesting! I was wondering if there is any way to work bonuses for longer touchdowns into the scoring for the app. For example my league adds a 2 point bonus for touchdowns over 25 yards and so on.
Thanks, Tyler
Hi Tyler,
Do you know of an analyst that provides projections for that? We’d need projections to include it on our tools.
Thanks,
Isaac
Hello,
I know Im brand new to this website but judging from all of your reviews/comments, its exactly what I was looking for. This is my first year doing Fantasy Football and I’m already 0-3 in my league but I have decent players. I was hoping you could show me exactly how to download your data and use it to my advantage every week!
Thanks!!
You can download weekly projections here:
http://apps.fantasyfootballanalytics.net/projections
I was curious on the lineup optimizer app if I am doing something wrong. I tried to see about getting a linuep for week 7 Fan dual but when the results come up they are blank. Am I doing something wrong? I tried it for week 6 and they came up just fine. Thanks in advance.
We hadn’t uploaded the Week 7 salaries yet, but we’ve uploaded them now, so it should be working now for all sites but Victiv.
Would love to talk to you about this database. Please email me at the email listed above.
I installed the FFA app on Ubuntu Linux, R Rel. 3.1.2
Running the code after setting setwd(), I get several runtime errors.
1. source(paste(getwd(),”/R Scripts/Rankings/IDP.R”, sep=””), echo=TRUE)
> name1 <- str_sub(kickers[,c("Player (team, bye)")], end=str_locate(kickers[,c("Player (team, bye)")], '[:upper:]{2,3},')[,1]-2)
Error in `[.data.frame`(kickers, , c("Player (team, bye)")) :
undefined columns selected
Could you please advice.
Thank you for the fast quick help
We haven’t updated the scripts for this season on the repo. The error is saying that the phrase “Player (team, bye)” is not one of the column headers. You would have to change which column header to use based on the column headers of the table that you scrape.
This is really great information. Do you also have some information about learning how to do the statistical analysis? Especially for those of us who don’t know what r-squared is.
Hi Michael,
I added some resources above to help with learning stats. For overviews on R-squared, specifically, see here:
http://blog.minitab.com/blog/adventures-in-statistics/regression-analysis-how-do-i-interpret-r-squared-and-assess-the-goodness-of-fit
http://people.duke.edu/~rnau/rsquared.htm
Hope that helps!
-Isaac
Can we do this on your phone?
The apps are not currently set up for mobile use