Hi there,
I am trying to get my hist() function to work but when I put the variable 'income' as the x, it says object not found even though income is in my dataset. I am not sure how to fix this.
Hi there,
I am trying to get my hist() function to work but when I put the variable 'income' as the x, it says object not found even though income is in my dataset. I am not sure how to fix this.
If your dataset is df, try hist(df$income)
If your dataset is named dataset, try hist(dataset$income)