File: plot_log_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 (17 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local({
## Print result
rk.header ("Log-Normal distribution function", parameters=list("Number of Observations"="100",
	"Lower quantile"="0.01",
	"Upper quantile"="3.29",
	"Mean"="4.00",
	"Standard deviation"="1.00",
	"Tail"="Lower tail: P[X ≤ x]",
	"Logarithmic"="no",
	"Function"="plnorm"))

rk.graph.on ()
try ({
	curve (plnorm(x, meanlog=4.00, sdlog=1.00, lower.tail = TRUE), from=0.01, to=3.29, n=100)
})
rk.graph.off ()
})