Data Frame
Data Frame This format is usually used when the information is not contained in just one dimension (vector) Example product <- c("Product A", "Product B", "Product C", "Product D", "Product E") price <- c(5, 15, 4, 6, 8) table_price_product <- data.frame(product, price) table_price_product ## product price ## 1 Product A 5 ## 2 Product B 15 ## 3 Product C 4 ## 4 Product D 6 ## 5 Product E 8 Indexing Access the D Product in the Products Table: