Answer by Duck for why error: arrange() failed at implicit mutate() step
Try this. It looks like a variable assignation issue. Try replacing <- by = and %<>% by %>%. Here a possible solution:#Datatb <- tibble( year = rep(2001:2020,10))#Codetb %>%...
View Articlewhy error: arrange() failed at implicit mutate() step
The following code was executed:tb <- tibble( year <- rep(2001:2020,10))tb %<>% arrange(year) %>% mutate( id <- rep(1:10,20), r1 <- rnorm(200,0,1), r2 <- rnorm(200,1,1), r3...
View Article