Tag: r

Comparative Data Visualisation in R: an Example of Building a Data Frame from the Ground Up

When we do data analysis, we often deal with existed data-sets from an official database or survey. That is because R is a powerful tool allowing us to import a wide range of data formats, including excel, SPSS, Stata and other formats. In most occasions, we do not need to create a data frame ourselves. … Continue reading Comparative Data Visualisation in R: an Example of Building a Data Frame from the Ground Up

Dummy variables in R – an example for logistic regression modeling

Doing social research in a quantitative way means we have to fix our data with our expected theories. This is a very different approach from qualitative research, as the grounded theory is not very likely to be purely constructed by numbers. Thus, we sometimes need to fix our data in order to meet our theoretical … Continue reading Dummy variables in R – an example for logistic regression modeling