Articles by geraldbelton

Loading R Packages: library() or require()?

October 23, 2017 | 0 Comments

When I was an R newbie, I was taught to load packages by using the command library(package). In my Linear Models class, the instructor likes to use require(package). This made me wonder, are the commands interchangeable? What’s the difference, and […] [Read more...]

Connecting R to an Oracle Database

May 22, 2017 | 0 Comments

R is a very popular language for doing analytics, and particularly statistics, on your data. There are a number of R functions for reading in data, but most of them take a delimited text file (such as .CSV) for input. […]
[Read more...]

More tidyverse: using dplyr functions

February 20, 2017 | 0 Comments

This week, we return to our “Getting Started With R” series. Today we are going to look at some tools from the “dplyr” package. Hadley Wickham, the creator of dplyr, calls it “A Grammar of Data Manipulation.” filter() Use filter() for […] [Read more...]

Calculating required sample size in R and SAS

February 15, 2017 | 0 Comments

Today we are going to digress from our ongoing “Intro to R” series, and talk about a subject that’s been on my mind lately: sample sizes. An important question when designing an experiment is “How big a sample do I […] [Read more...]

Dataframes and the tidyverse

February 12, 2017 | 0 Comments

The data frame is the primary structure for working with data in R. Whenever you have data that is arranged in a spreadsheet-like fashion, the default receptacle for that data in R is the data frame. In a data frame, […]
[Read more...]

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)