Tidymodels package installed but no initial_split() function

I have successfully installed the library tidymodels with all its dependencies but when I use the function initial_split() I get the error

Error in initial_split("mtcars") :
could not find function "initial_split"

Why? Any idea?

Thank you!

I got it!

I used a different package, the rsample package....Strange though. Lots of examples online use the tidymodels library...

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.