importing data and getting colmeans

That is a screenshot, we can't copy from that to try to give you a working solution. I suspect that your variables are being treated as character vectors because of the comma in the number format but I can't be sure since you are not providing sample data, you can try converting them using as.numeric() function.

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.

1 Like