# names in r code example
Example 1: naming matrix in r
> baskets.team
1st 2nd 3th 4th 5th 6th
Granny 12 4 5 6 9 3
Geraldine 5 4 2 4 12 9
Example 2: naming matrix in r
> rownames(baskets.team) <- c(“Granny”, “Geraldine”)
> baskets.team
1st 2nd 3th 4th 5th 6th
Granny 12 4 5 6 9 3
Geraldine 5 4 2 4 12 9
> rownames(baskets.team) <- c(“Granny”, “Geraldine”)