Booky / R

Source ยป

R statistics scripts for parsing data from my Booky web scraper.

Booky-graphs.R

Produces a PDF with graphs of the data gathered.

Booky-stats.R

Example output

$ Rscript Booky-stats.R
Summary: Pages
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
    1.0   176.0   270.0   293.2   368.0 11012.0

Summary: Rating
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
   1.08    3.66    3.87    3.86    4.09    5.00

Call: rlm(formula = rating ~ pages)
Residuals:
          Min            1Q        Median            3Q           Max
-2.7813697033 -0.2078374401  0.0032427164  0.2121075038  1.1715305375

Coefficients:
            Value        Std. Error   t value
(Intercept) 3.812218e+00 2.622800e-03 1.453490e+03
pages       1.981900e-04 7.190000e-06 2.755642e+01

Residual standard error: 0.3110181 on 43374 degrees of freedom
                    2.5 %        97.5 %
(Intercept) 3.80707693904 3.81735813366
pages       0.00018409756 0.00021229088