我有以下列表:順序列表,命令不工作
MYLIST
[[1]]
[1] 11
[[2]]
[1] 9
[[3]]
[1]
10
我想對它進行排序。 我試圖
sort(mylist)
Error: mylist must be atomic
sort.list(mylist)
Error in sort.list(mylist) : 'x' must be atomic for 'sort.list' Have you called 'sort' on a list?
order(mylist)
Error in order(mylist) : unimplemented type 'list' in 'orderVector1'
解決使用名單的問題。謝謝 – Thegamer23