[R] Scraping data from website---Error in htmlParse: error in creating parser

2013-02-27 Thread Isaac Petersen
I'm trying to scrape football projections from accuscore.com for the different positions (right now the projections are set to zeros, but that will change). I can get the QB projections, but I can't get the projections for any of the other positions (e.g., RB). How can I get the RB projections?

[R] Interaction scatterplots in ggplot with multiple regression lines

2012-09-26 Thread Isaac Petersen
I'm trying to treat a continuous variable as discrete for plotting multiple regression lines in a scatterplot as a function of the level on the moderating variable. In the example below, there is only one regression line plotted to the whole data. I would like a separate regression line for each