ascii and org

Table of Contents

1 org output

> options(asciiType = "org")

2 some code

> x <- 2
> sqrt(x)
[1] 1.414214 
> x^2
[1] 4 

3 a table

> ascii(head(esoph))
agegpalcgptobgpncasesncontrolsage
125-340-39g/day0-9g/day0.0040.0025-34
225-340-39g/day10-190.0010.0025-34
325-340-39g/day20-290.006.0025-34
425-340-39g/day30+0.005.0025-34
525-3440-790-9g/day0.0027.0025-34
625-3440-7910-190.007.0025-34

4 a list

> ascii(summary(table(1:4, 1:4)))
  • Number of cases in table: 4
  • Number of factors: 2
  • Test for independence of all factors:
    • Chisq = 12, df = 9, p-value = 0.2133
    • Chi-squared approximation may be incorrect

5 a figure

> plot(1)

org-005.jpg

6 some text

2+2 equal to 4.

7 source of this document

Author: David Hajage <dhajage[at]gmail [dot]com>

Date: 2009-11-23 21:04:53 CET

HTML generated by org-mode 6.33trans in emacs 23