Re: [問題] plot 3D圖如何標示最大值
感謝大大分享
新手還不太理解
熟悉了matrix的function
目前先使用 summary(pred.tmp$maxRRfit) 的方式
來得到最大的RR值以及lag day
先放棄在3D圖上標示@@
※ 引述《celestialgod (天)》之銘言:
: 如果要找最大值可以直接使用optim來做
: 我直接base在andrew大大的程式上寫的....
: findTheMax = optim(c(1,1),
: function(x) -predict(mod, data.frame(x=x[1],y=x[2]), type = "response"),
: lower = c(1,1), upper = c(9,9))
: findTheMax$par # location of x,y
: findTheMax$value # maximum value of z
: ※ 引述《andrew43 (討厭有好心推文後刪文者)》之銘言:
--
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 211.76.246.58
※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1441355130.A.B23.html
※ 編輯: aee36900 (211.76.246.58), 09/04/2015 17:25:08
※ 編輯: aee36900 (211.76.246.58), 09/04/2015 17:25:45
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 4 篇):
R_Language 近期熱門文章
PTT數位生活區 即時熱門文章