Re: [R] CRAN UC Berkeley link

2020-01-26 Thread Anindya Mozumdar
Hi John, > This link > https://cran.cnr.berkeley.edu/ > on the "mirrors" page no longer points to a CRAN mirror.  It seems to > be generic to UCB. I suggest you email c...@r-project.org reporting them of the broken mirror. Regards, Anindya __ R-help@r-

Re: [R] Executing an R script and show the plots.

2020-01-26 Thread Anindya Mozumdar
Dear Felix, > I would like to run R scripts like that: R -f script.r and still get the > plots that pop up. Since you are using ggplot2, you can use the ggsave function from the package to save the plot to a location of your choice. I tested the following script from the command line and it wor

Re: [R] Computation of r.squared for weighted least squares linear models

2020-01-07 Thread Anindya Mozumdar
Dear Sebastian, I was able to replicate the R^2 value of 0.993019 using the function provided as the second answer (by Julien Massardier) to the following question - https://stats.stackexchange.com/questions/83826/is-a-weighted-r2-in-robust-linear-model-meaningful-for-goodness-of-fit-analys Tha