File: plot_normal_distribution.rkcommands.R

package info (click to toggle)
rkward 0.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 45,628 kB
  • sloc: cpp: 50,489; xml: 9,596; javascript: 6,401; python: 21; makefile: 13
file content (16 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local({
## Print result
rk.header ("Normal density function", parameters=list("Number of Observations"="100",
	"Lower quantile"="-3.29",
	"Upper quantile"="3.29",
	"Mean"="0.00",
	"Standard deviation"="1.00",
	"Logarithmic"="no",
	"Function"="dnorm"))

rk.graph.on ()
try ({
	curve (dnorm(x, mean=0.00, sd=1.00), from=-3.29, to=3.29, n=100)
})
rk.graph.off ()
})