πŸ“ R Vectors

A vector is the simplest and most common data structure in R β€” it’s basically a list of values of the same type (numeric, character, logical, etc.).

πŸ“– Key Facts

πŸ“ Example: Creating & Using Vectors

Console output will appear here...
πŸ’‘ Tip: You can access vector elements using square brackets, like numbers[2] to get the second value.