Creating a vector in base R with the c, :, seq, and rep functions (CC170)

December 9, 2021 • PD Schloss • 1 min read

Everything in R is a vector. In this Code Club, Pat shows how to use base R functions including c, :, seq, and rep to build a vector. As a bonus, he’ll show you how to access built in vectors letter, LETTERS,, and This is part of a series of videos demonstrating how to functions from base R to make these data compatible with tools from the tidyverse.

comments powered by Disqus