In below mlist
, how to update value to character
which currenr are "ordered" "factor"
?
<code>library(tidyverse)
mlist <- sapply(diamonds,class)
</code>
<code>library(tidyverse)
mlist <- sapply(diamonds,class)
</code>
library(tidyverse)
mlist <- sapply(diamonds,class)
mlist[['color']] <- 'character'
can just update one of them , is there any way to update all of them at once
<code>mlist[['color']] <- 'character'
</code>
<code>mlist[['color']] <- 'character'
</code>
mlist[['color']] <- 'character'