data-frames

  1. Nicole Seaman

    YouTube R Programming: Introduction: Data Frames (R Intro-03)

    Data frames are the most common structure in R. A data frame is a list of equal-length vectors; ie, it's a rectangle. Create a data frame with data.frame(). Single-brackets, stocks[1], returns a dataframe. Double-brackets, stocks[[1]], returns a vector and is equivalent to stocks$ticker. We can...
Top