I can't understand why this table viz won't plot. The code seems correct, and the packages are installed/opened. The file was uploaded properly, and I can see the dataframe for "monkeys_info" in another window - so I know the csv file uploaded properly and the data can be accessed by the editor.... And even though its saying that it can't find my variable "bodywt" I can see it at the top of the column in the viewing window inside the editor pane....
Any ideas what I am doing wrong here? Code and error code immediately below. THANKS!!
ggplot(data = monkeys_info) +
geom_point(mapping = aes(x = Brainwt, y = bodywt))
Error in geom_point()
:
! Problem while computing aesthetics.
Error occurred in the 1st layer.
Caused by error in FUN()
:
! object 'bodywt' not found
Run rlang::last_trace()
to see where the error occurred.