Home » r

r

R: Is a bootstrap of mean differences statistically significant

  • by
  • 2 min read

Last year, I wrote a blog post about bootstrapping (two-sample) the mean in R. Recently, someone contacted me with the question of how to get the corresponding percentile for a specific value of those bootstrapped differences. It’s something you need to answer the question if the difference is statistically significant… 

Prevent column type list when using read_sheet from R’s googlesheets4

  • by
  • 2 min read

Google Spreadsheets and R: a dynamic duo! An annoying feature in googlesheets4’s read_sheet(), is that within a column, it assigns a type to each cell individually when it is confused. However, this makes perfect sense. Sometimes, a column contains a mix of values that could be integers and values that… 

Excel’s LEFT, RIGHT and MID in R

  • by
  • 2 min read

LEFT() and RIGHT() are probably the most used string functions within Microsoft Excel (or other spreadsheet software). Many people who make the transition to R wonder where to find these functions. Short story: they’re not available out-of-the-box. However, why not create them yourself or find a library that suits your…