Cross Tabulation in R | Using the xtabs Function

  Рет қаралды 17,914

David Caughlin

David Caughlin

Күн бұрын

This tutorial demonstrates how to perform cross tabulation in R using the xtabs function from base R, where cross-tabulation tables (i.e., contingency tables, cross tabs) display the frequencies (i.e., counts) of different combinations of categories/levels from two or more variables. Cross tabulation is a relatively simple process but serves as the foundation for the chi-square test of independence and allows for deriving insights through segmentation and understanding potential associations between categorical variables. Cross tabulation is often most useful when the variables involved have nominal or ordinal measurement scales.
Other videos from my "R for Beginners" playlist can be found here: • R for Beginners . The videos in this playlist focus on simulated human resources (HR) data.
The data file(s) referenced in this R tutorial (and other R tutorials on this playlist) can be downloaded as a compressed (zipped) folder by visiting the following link: github.com/dav.... Click "Clone or Download" followed by "Download ZIP".

Пікірлер
Statistics 101: Descriptive Statistics Cross Tabulation
17:02
Brandon Foltz
Рет қаралды 82 М.
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 152 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 2,7 МЛН
CAN YOU DO THIS ?
00:23
STORROR
Рет қаралды 49 МЛН
Contingency tables in R
8:30
Equitable Equations
Рет қаралды 9 М.
Counts & Frequencies in R | Using the table & barplot Functions
26:34
How to make RIDICULOUS Tables in R (from Excel)
10:31
Business Science
Рет қаралды 6 М.
RStudio - Creation of Frequency Table for Categorical Data
13:07
Describe and Summarise your data
19:44
R Programming 101
Рет қаралды 56 М.
Introduction to R: Frequency Tables
16:23
DataDaft
Рет қаралды 20 М.
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 152 МЛН