Displaying 1 result from an estimated 1 matches for "factor_list".
2012 Mar 13
2
sort list
Hello can anyone help please?
i read two words "cell1", "cell2" into a list. I want to turn this list
into a factor.
> cell_data <-list(c('cell1','cell2'))
> cell_data
[[1]]
[1] "cell1" "cell2"
> factor_list <- factor(cell_data)
Error in sort.list(y) : 'x' must be atomic for 'sort.list'
Have you called 'sort' on a list?
> sort.list(cell_data)
Error in sort.list(cell_data) : 'x' must be atomic for 'sort.list'
Have you called 'sort' on a list?
Ca...