R語言中as()函數與as.data.frame()、as.array()等有什麼區別?

         as()函數比as.data.frame()、as.array()等函數廣泛,更具有強制性。 一、         as()函數:強制給對象到定類。如關聯規則(arules)類型、智能推薦("binaryRatingMatrix""recommenderlab")類型,as.data.frame()、as.array()等函數就做不到轉換。使用: as ( object , cl
相關文章
相關標籤/搜索