July 2020

Refactor

July 22, 2020 | R | Gianluca Baio

This is quite exciting: since Nathan (this is his very interesting blog) has arrived to UCL a couple of months ago, we’ve started to work on quite a few of very interesting projects — including a major “refactoring” of the cod... [Read more...]

Demographic Modeling – Cluster analysis

July 22, 2020 | Corey Sparks, Ph.D.

In this topic, we will discuss Unsupervised Learning, or as we talked about last time, the situation where you are looking for groups in your data when your data don’t come with a group variable. I.e. sometimes you want to find groups of similar observations, and you need ...
[Read more...]

Bexar County Income Ratio

July 22, 2020 | Corey Sparks, PhD

This example shows how to calculate an index of income segregation for Bexar County, TX using data from the 2018 American Community Survey Some measures of economic segregation are calculated by the Census bureau directly, in the American Community Survey, the Census provides the Gini Index of income inequality for many ...
[Read more...]

Refactor

July 22, 2020 | R | Gianluca Baio

This is quite exciting: since Nathan (this is his very interesting blog) has arrived to UCL a couple of months ago, we’ve started to work on quite a few of very interesting projects — including a major “refactoring” of the code for BCEA. I’m obviously very attached to BCEA — ... [Read more...]

[The Art of] Regression and other stories

July 22, 2020 | xi'an

CoI: Andrew sent me this new book [scheduled for 23 July on amazon] of his with Jennifer Hill and Aki Vehtari. Which I read in my garden over a few sunny morns. And as Andrew and Aki are good friends on mine, this review is definitely subjective and biased! Hence to ...
[Read more...]

Archive Existing RDS Files

July 22, 2020 | Lukas Feick

In this blog post, our colleague Lukas gives you a high-level introduction to RDS files (vs. RData files) and serialization. The function checks whether there is already an RDS with the same name in the path, renames it if required, and provides it with a timestamp and a reference ARCHIVED_...
[Read more...]

Estimating the risks of partying during a pandemic

July 22, 2020 | Fabian Dablander

There is no doubt that, every now and then, one ought to celebrate life. This usually involves people coming together, talking, laughing, dancing, singing, shouting; simply put, it means throwing a party. With temperatures rising, summer offers all the more incentive to organize such a joyous event. Blinded by the ...
[Read more...]

Create a scatter plot with ggplot

July 22, 2020 | Quantargo Blog

Make your first steps with the ggplot2 package to create a scatter plot. Use the grammar-of-graphics to map data set attributes to your plot and connect different layers using the + operator. Define a dataset for the plot using the ggplot() function ...
[Read more...]

Quine with R

July 22, 2020 | tomaztsql

Quine is a self-reproducing function or a computer program that will output its source source or itself. Terms used are for these programs are also self-replicating programs, self-reproducing programs or self-copying programs (courtesy of wikipedia). Many programming languages have been…Read more ›
[Read more...]
1 3 4 5 6 7 14

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)