Etikett: R statistics

  • Pipes in R

    I started using R long before RStudio were a thing. In fact, the reason I started to useEmacs was because of ESS (Emacs Speaks Statistics). Emacs was a so to say IDE for Rstatistics. If I had started using RStudio I may not have not been using Emacs at all now.When I started using R…

  • Ave-command i R statistics

    Imaging you have some data on unemployment: In the data we have some NA. We want to replace these based on the mean of cntry. This can be done using the ave-command (from R-base):  We can actually base the new data on both the mean from cntry and the mean from size. Amazing!

  • How to get R up and running in Fedora Linux

    It is trivial to install R in Fedora. Just type: sudo dnf install R After that you can run R in the terminal. If you want an environment to work in you can use RStudio. I use Emacs and ESS. Everything works nice up until the point you want to install a package — say…

  • R-codes

    I just, for fun, made a site to publish some handy R-codes. I have just ordered them alphabetical order. Some of the codes I don’t use anymore. Here they are anyway!