https://researchdatapod.com/how-to-solve-r-error-in-barplot-default-height-must-be-a-vector-or-a-matrix/
How to Solve R Error in barplot.default(): 'height' must be a vector or a matrix