LoginSignup
0
2

More than 5 years have passed since last update.

Rで関数をプロット(視覚化)

Posted at

プロット例

aaa <- function(x) exp(-sqrt(x))
plot(aaa)

image.png

ガウス関数(正規分布関数(正規分布の確率密度関数))

image.png

$\sigma$: 標準偏差
$\mu$: 平均値

Gauss_function
gauss.density <- function(x) 1/sqrt(2*pi)*exp(-x^2/2)  # 標準正規分布の密度
plot(gauss.density,-3,3)

image.png

参考

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2