Need help because my code will not run

Can someone please tell me why my code isn't running? I have to make a boxplot when given a data set and am just very lost.
I keep trying to run:

# Boxplot (NHANES$SleepHrsNight)

as a chunk but i just am very new and have no idea what I am doing.

R commands are case sensitive, so you should use the command boxplot() and not Boxplot() unless you have been provided a special Boxplot function. If you intend to get a single box plot of all of the SleepHrsNight values, then fixing the function name should work. If you want to see SleepHrsNight broken out by some categories from a different column, then you need to explain what that column is.

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.