Error in function_list[[i]](value) : could not find function "pivot_wider"

Please help, I loaded tidyverse/tidyr and same error.

freq_data %>%
pivot_wider(names_from = 'Hired',values_from ='n')%>%

You need to use the tidyr package.

library(tidyr) or library(tidyverse)

Make sure you have the packages installed first.

e.g. install.packages("tidyverse")

1 Like

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.