我正在使用dcast
函数来 rshape 中的 datframe R
,但同时使用大型数据框。我将其转换为ffdf dataframe
无法使用的dcast
功能,如果有其他选择,请帮助我。找到我用于小型数据框的以下示例以及我想要做什么ffdf dataframe
:
- hdsample <- read.csv("C:/Users/PK5016573/Desktop/hdsample.csv")
- View(hdsample)
hd<-dcast(hhpsample,MemberID~Year+Specialty+ProcedureGroup+Vendor+PlaceSvc+PCP+PrimaryConditionGroup+CharlsonIndex)
这是有效的,但是:
hhp<-read.ffdf("C:/Users/PK5016573/Desktop/hdsample.csv")
hd<-dcast(hhpsample,MemberID~Year+Specialty+ProcedureGroup+Vendor+PlaceSvc+PCP+PrimaryConditionGroup+CharlsonIndex)
这给了我错误请帮助
在此先感谢 pavan kancharala