Closed nicholasjhorton closed 6 years ago
@mchien20 can you please be sure to extirpate any use of $ in the files? (If this is coming from SDM4 we'll want to fix it there as well):
"Nightmares$Dream <- ifelse(Nightmares$Dream == "N", "Nightmare", "SweetDreams")
should be:
Nightmares <- Nightmares %>% mutate(Dream = recode(... etc.)
If you prefer to use ifelse I wouldn't object (but it's important to change to mutate).
For questions such as: "#### Example 3.5: Looking for Associations in Large Data Sets: Text Messages
in future can you please post an issue and provide a specific page ref?
@mchien20 can you please be sure to extirpate any use of $ in the files? (If this is coming from SDM4 we'll want to fix it there as well):
"Nightmares$Dream <- ifelse(Nightmares$Dream == "N", "Nightmare", "SweetDreams")
should be:
Nightmares <- Nightmares %>% mutate(Dream = recode(... etc.)
If you prefer to use ifelse I wouldn't object (but it's important to change to mutate).
For questions such as: "#### Example 3.5: Looking for Associations in Large Data Sets: Text Messages
Not sure where the data is
in future can you please post an issue and provide a specific page ref?