I found a little error (url: https://365datascience.teachable.com/courses/295218/lectures/4541840)
tb.separated <- tb.gathered %>% separate(column, into = c(“sex”, “age”), sep = “.”)
has the wrong regular expression.
It should be: sep = “\\.”
All the best from Germany
Thanks for pointing that out! In this case, you could also leave out the ‘sep’ argument completely, which is what I’d to.
Yes you are right. Because “.” is the default value.
Thanks for the awesome course!