[問題] cannot find function "ddply"
[問題類型]:
請把以下不需要的部份刪除
意見調查(我對R 有個很棒的想法,想問問大家的意見)
程式諮詢(我想用R 做某件事情,但是我不知道要怎麼用R 寫出來)
[軟體熟悉度]:
新手(沒寫過程式,R 是我的第一次)
[問題敘述]:
請簡略描述你所要做的事情,或是這個程式的目的
大家好~
我已經裝了package "plyr"
但是我的R還是找不到"ddply"這個function
不知道有沒有版友有類似經驗能提供建議?
謝謝~~
[程式範例]:
package ‘plyr’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\User\AppData\Local\Temp\RtmpAZwHOf\downloaded_packages
> findFunction("ddply")
list()
> summarydata<-ddply(shoesales, .(ExerciseType), summarise, Total=sum(Sales))
Error in ddply(shoesales, .(ExerciseType), summarise, Total = sum(Sales)) :
could not find function "ddply"
[環境敘述]:
請提供 sessionInfo() 的輸出結果,
裡面含有所有你使用的作業系統、R 的版本和套件版本資訊,
讓版友更容易找出錯誤
R version 3.4.4 (2018-03-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.4.4 tools_3.4.4
[關鍵字]:
選擇性,也許未來有用
--
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 129.21.70.109
※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1524153230.A.BCE.html
→
04/20 00:59,
7年前
, 1F
04/20 00:59, 1F
→
04/20 12:40,
7年前
, 2F
04/20 12:40, 2F
R_Language 近期熱門文章
PTT數位生活區 即時熱門文章