How do I input this in R studio
1. Combine the following lists into a matrix called animals,
where each list becomes a row:
Cats = 2,2,4
Dogs = 1,2,1
Cows = 30,35,41
2. Add column names of “Farm A”, Farm B”, and “Farm C”.
3. Transpose the rows and columns in animals and store the
result to a matrix called farms.
4. Display the contents of farms.