dcastで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)
これは私にエラーを与えます助けてください
前もってありがとう パヴァン・カンチャララ