Рет қаралды 8,586
This tutorial demonstrates how to subset cases from a data frame object using the subset function in R, where a "subset" is sometimes referred to as a "filter." The subset function comes standard with the base R install, which means that installation of an outside package is not required. This tutorial shows how subset variables of type integer/numeric, character, and Date, and provides an overview of logical operators in R.
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".