Search for tag: "tapply()"

T Tests in R.mp4

In this video we illustrate how to conduct paired, one-sample, and two-sample t tests in R. These tests are implemented in the t.test() function. We illustrate the tests with examples that are…

+21 More
From  Daniel Hall 133 plays 0  

Barcharts in R.mp4

Although plot() can produce bar charts, the barplot() function is often more convenient. In this video we introduce this function and illustrate its use to produce bar charts that display one and…

From  Daniel Hall 116 plays 0  

Creating Frequency Tables in R

Frequency distributions (univariate and joint) can be displayed in contingency tables, or cross-tabulations. In this video we show how tapply() can be used to create such tables, but we…

From  Daniel Hall 1,409 plays 0  

Repeatedly Applying Functions to Data - Part 1 (tapply())

The tapply() function is one of several "apply" functions in R that allow a function to operate on data repeatedly. The function tapply() applies a function to groups of observations within…

From  Daniel Hall 172 plays 0