When t was used to pivot the data .frame, it changed it to a matrix and the type of the numeric values became character. The as.numeric function was used to cast it back.
Excerpt from:
R-Chart: World Cup 2010 Statistics Plotted with R
When t was used to pivot the data .frame, it changed it to a matrix and the type of the numeric values became character. The as.numeric function was used to cast it back.
Excerpt from:
R-Chart: World Cup 2010 Statistics Plotted with R