~l3on/ubuntu/precise/rkward/rebuild1

« back to all changes in this revision

Viewing changes to tests/distributions/RKTestStandard.chi_squared_quantiles.rkcommands.R

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Friedrichsmeier
  • Date: 2009-10-26 14:30:00 UTC
  • mfrom: (1.1.13 upstream) (6.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20091026143000-wzwt6cryjnwce23k
Tags: 0.5.2-1
* new upstream release
  closes: #551306 (added support for the new dynamic help system)
* Add "DM-Upload-Allowed: yes" in control
* bump standards version to 3.8.3 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
local({
 
2
## Prepare
 
3
## Compute
 
4
result <- (qchisq (p = c (0.95), df = 1.00, ncp = 0.00, lower.tail=TRUE, log.p = FALSE))
 
5
## Print result
 
6
rk.header ("Chi-squared quantile", list ("Vector of probabilities", "c (0.95)", "Degrees of freedom", "1.00", "non-centrality parameter", "0.00", "Tail", "lower.tail=TRUE", "Probabilities p are given as", "log.p = FALSE"));
 
7
rk.results (result, titles="Chi-squared quantiles")
 
8
})
 
9
.rk.rerun.plugin.link(plugin="rkward::chi_squared_quantiles", settings="df.real=1.00\nlogp.string=log.p = FALSE\nncp.real=0.00\np.text=0.95\ntail.string=lower.tail=TRUE", label="Run again")
 
10
.rk.make.hr()
 
11
local({
 
12
## Prepare
 
13
## Compute
 
14
result <- (qchisq (p = c (-1, -2), df = 1.02, ncp = 3.00, lower.tail=FALSE, log.p = TRUE))
 
15
## Print result
 
16
rk.header ("Chi-squared quantile", list ("Vector of probabilities", "c (-1, -2)", "Degrees of freedom", "1.02", "non-centrality parameter", "3.00", "Tail", "lower.tail=FALSE", "Probabilities p are given as", "log.p = TRUE"));
 
17
rk.results (result, titles="Chi-squared quantiles")
 
18
})
 
19
.rk.rerun.plugin.link(plugin="rkward::chi_squared_quantiles", settings="df.real=1.02\nlogp.string=log.p = TRUE\nncp.real=3.00\np.text=-1 -2\ntail.string=lower.tail=FALSE", label="Run again")
 
20
.rk.make.hr()