Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
操作パッケージのスライダー コントロールから現在の値を抽出する方法はありますか? 例えば:
library(manipulate) xx <- seq(-pi, pi, pi/20) manipulate( plot(xx, sin(par.a*xx)), par.a = slider(-3, 3, step=0.01, initial = 1))
par.aスライダーで遊んだ後、コントロールを見て毎回手動で書き込むことなく、さらに計算するために値を取得したいと思います。
par.a