The summary function doesn't give me the summary I want to see?

Troubeshoot R

When I run the code below

summary()

I get the results shown in the image.

However, I would like to see the Max, Min, Mean, and Median statistics. Instead, I get Length, class, and mode. What could the problem be? I tried it also on the RStudio offline version and had the same result. Please assist.

All your data is of character class, you can't get a numeric summary from a string, maybe you need to convert your variables to numeric first.

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

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.