靚麗時尚館

位置:首頁 > 健康生活 > 心理

r語言怎麼把list變成table

心理2.36W
r語言怎麼把list變成table

table()

引數型別one or more objects which can be interpreted as factors (including character strings), or a list (or data frame) whose components can be so interpreted. (For as.table, arguments passed to specific methods for as.data.frame, unused.)

我們一般使用將引數轉化為用unlist()列表轉化為向量型別

返回值為table型別,一種類似於字典的型別

標籤:list 語言 Table