Error in select(Gender, HomeOwn) %>% filter(HomeOWn %in% c("Own", "Rent")) :
could not find function "%>%"
Please, who know?
You have to load the libraries before using their functions, in this case you forgot to load dplyr
package.
library(dplyr)
WOW, I will try, thanks
ggplot (NHANES,aes(x=Gender,fill=HomeOwn))+
- geom_bar (position="fill")+
- ylab("Relative Frequencies")
Error in ggplot(NHANES, aes(x = Gender, fill = HomeOwn)) :
could not find function "ggplot"
Same problem, different package, this time you forgot to load ggplot2
library(ggplot2)
On each new R session, you have to load all the libraries you are going to use
I did it
Why its asking again and again?
I already select Own or Rent but it didnt show me.
Do you know why?
Sorry but I don't understand what you mean and screenshots are not very useful (also not a good thing to do here), please provide a proper REPRoducible EXample (reprex) to exemplify your issue.