Counts & Frequencies in R | Using the table & barplot Functions

  Рет қаралды 8,594

David Caughlin

David Caughlin

Күн бұрын

This tutorial demonstrates how to compute counts (i.e., frequencies) in R, where counts are a common (and easily interpreted) type of descriptive statistics and are useful for describing variables that have nominal or ordinal measurement scales. I demonstrate how to use the table function from base R to compute counts in table form and how to use the barplot function from base R to create simple bar charts to visually display the results. Finally, I demonstrate how to convert a variable to an ordered factor variable, which is sometimes useful when working with variables that have an ordinal measurement scale.
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".

Пікірлер
Cross Tabulation in R | Using the xtabs Function
18:39
David Caughlin
Рет қаралды 17 М.
My MEAN sister annoys me! 😡 Use this gadget #hack
00:24
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 73 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 28 МЛН
Accelerating Bridge Design Work flow
30:45
Naveed Anwar
Рет қаралды 7
Cleaning Data in R
28:13
David Caughlin
Рет қаралды 26 М.
Path Analysis in R
51:21
David Caughlin
Рет қаралды 19 М.
Mediation Analysis in R
41:01
David Caughlin
Рет қаралды 26 М.
Descriptive Statistics in R
25:51
David Caughlin
Рет қаралды 54 М.
Introduction to R: Frequency Tables
16:23
DataDaft
Рет қаралды 20 М.
Describe and Summarise your data
19:44
R Programming 101
Рет қаралды 56 М.
Creating Tables in R
18:01
David Caughlin
Рет қаралды 45 М.
Mediation Analysis
23:18
David Caughlin
Рет қаралды 68 М.