Exercise: Assign numeric vector to variable

  • Use the concatenate function c() and create a vector containing the numbers 2, 3, 5 and 7.
  • Assign this vector to a variable named primes.
Output

Submit code to see output here.

Create variables through assignments