R-bloggers 日本語
フォロー
Rで分布をプロットする
Rで分布を扱う際、各分布には4つの関数があります。具体的には以下の通りです。- dXXX - 確率密度関数 (density function)
- rXXX - その分布から乱数を生成する関数 (generate random number from this distribution)
- pXXX - 指定された値より左側の面積(累積確率)を返す関数 (returns the area to the left of the given value)
- qXXX - 分位数を返す関数 (returns the quantile)