The R Project SVN R

Rev

Rev 8185 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8185 Rev 8189
Line 32... Line 32...
32
    \code{x \%+-\% y}   \tab x plus or minus y \cr
32
    \code{x \%+-\% y}   \tab x plus or minus y \cr
33
    \code{x \%/\% y}   \tab x divided by y \cr
33
    \code{x \%/\% y}   \tab x divided by y \cr
34
    \code{x \%*\% y}   \tab x times y \cr
34
    \code{x \%*\% y}   \tab x times y \cr
35
    \code{x[i]}   \tab x subscript i \cr
35
    \code{x[i]}   \tab x subscript i \cr
36
    \code{x^2}    \tab x superscript 2 \cr
36
    \code{x^2}    \tab x superscript 2 \cr
37
    \code{paste(x, y, z}) \tab juxtapose x, y, and z \cr
37
    \code{paste(x, y, z)} \tab juxtapose x, y, and z \cr
38
    \code{sqrt(x})   \tab square root of x \cr
38
    \code{sqrt(x)}   \tab square root of x \cr
39
    \code{sqrt(x, y)}   \tab yth root of x \cr
39
    \code{sqrt(x, y)}   \tab yth root of x \cr
40
    \code{x == y}   \tab x equals y \cr
40
    \code{x == y}   \tab x equals y \cr
41
    \code{x != y}   \tab x is not equal to y \cr
41
    \code{x != y}   \tab x is not equal to y \cr
42
    \code{x < y}   \tab x is less than y \cr
42
    \code{x < y}   \tab x is less than y \cr
43
    \code{x <= y}   \tab x is less than or equal to y \cr
43
    \code{x <= y}   \tab x is less than or equal to y \cr
44
    \code{x > y}   \tab x is greater than y \cr
44
    \code{x > y}   \tab x is greater than y \cr
45
    \code{x >= }y   \tab x is greater than or equal to y \cr
45
    \code{x >= y}   \tab x is greater than or equal to y \cr
46
    \code{x \%~~\% y}   \tab x is approximately equal to y \cr
46
    \code{x \%~~\% y}   \tab x is approximately equal to y \cr
47
    \code{x \%=~\% y}   \tab x and y are congruent \cr
47
    \code{x \%=~\% y}   \tab x and y are congruent \cr
48
    \code{x \%==\% y}   \tab x is defined as y \cr
48
    \code{x \%==\% y}   \tab x is defined as y \cr
49
    \code{x \%prop\% y}  \tab x is proportional to y \cr
49
    \code{x \%prop\% y}  \tab x is proportional to y \cr
50
    \code{plain(x)}   \tab draw x in normal font \cr
50
    \code{plain(x)}   \tab draw x in normal font \cr
51
    \code{bold(x)}   \tab draw x in bold font \cr
51
    \code{bold(x)}   \tab draw x in bold font \cr
52
    \code{italic(x)}   \tab draw x in italic font \cr
52
    \code{italic(x)}   \tab draw x in italic font \cr
53
    \code{bolditalic(x)} \tab draw x in bolditalic font \cr
53
    \code{bolditalic(x)} \tab draw x in bolditalic font \cr
54
    \code{list(x, y, z}) \tab comma-separated list \cr
54
    \code{list(x, y, z)} \tab comma-separated list \cr
55
    \code{...}    \tab ellipsis (height varies) \cr
55
    \code{...}    \tab ellipsis (height varies) \cr
56
    \code{cdots}   \tab ellipsis (vertically centred) \cr
56
    \code{cdots}   \tab ellipsis (vertically centred) \cr
57
    \code{ldots}   \tab ellipsis (at baseline) \cr
57
    \code{ldots}   \tab ellipsis (at baseline) \cr
58
    \code{x \%subset\% y} \tab x is a proper subset of y \cr
58
    \code{x \%subset\% y} \tab x is a proper subset of y \cr
59
    \code{x \%subseteq\% y} \tab x is a subset of y \cr
59
    \code{x \%subseteq\% y} \tab x is a subset of y \cr
60
    \code{x \%notsubset\%} \tab x is not a subset of y \cr
60
    \code{x \%notsubset\% y} \tab x is not a subset of y \cr
61
    \code{x \%supset\% y} \tab x is a proper superset of y \cr
61
    \code{x \%supset\% y} \tab x is a proper superset of y \cr
62
    \code{x \%supseteq\% y} \tab x is a superset of y \cr
62
    \code{x \%supseteq\% y} \tab x is a superset of y \cr
63
    \code{x \%in\% y}   \tab x is an element of y \cr
63
    \code{x \%in\% y}   \tab x is an element of y \cr
64
    \code{x \%notin\% y} \tab x is not an element of y \cr
64
    \code{x \%notin\% y} \tab x is not an element of y \cr
65
    \code{hat(x)}   \tab x with a circumflex \cr
65
    \code{hat(x)}   \tab x with a circumflex \cr
66
    \code{tilde(x})   \tab x with a tilde \cr
66
    \code{tilde(x)}   \tab x with a tilde \cr
67
    \code{ring(x)}   \tab x with a ring \cr
67
    \code{ring(x)}   \tab x with a ring \cr
68
    \code{bar(xy})   \tab xy with bar \cr
68
    \code{bar(xy)}   \tab xy with bar \cr
69
    \code{widehat(xy})   \tab xy with a wide circumflex \cr
69
    \code{widehat(xy)}   \tab xy with a wide circumflex \cr
70
    \code{widetilde(xy}) \tab xy with a wide tilde \cr
70
    \code{widetilde(xy)} \tab xy with a wide tilde \cr
71
    \code{x \%<->\% y}   \tab x double-arrow y \cr
71
    \code{x \%<->\% y}   \tab x double-arrow y \cr
72
    \code{x \%->\% y}   \tab x right-arrow y \cr
72
    \code{x \%->\% y}   \tab x right-arrow y \cr
73
    \code{x \%<-\% y}   \tab x left-arrow y \cr
73
    \code{x \%<-\% y}   \tab x left-arrow y \cr
74
    \code{x \%up\% y}   \tab x up-arrow y \cr
74
    \code{x \%up\% y}   \tab x up-arrow y \cr
75
    \code{x \%down\% y}  \tab x down-arrow y \cr
75
    \code{x \%down\% y}  \tab x down-arrow y \cr
Line 83... Line 83...
83
    \code{infinity}   \tab infinity symbol \cr
83
    \code{infinity}   \tab infinity symbol \cr
84
    \code{32*degree}   \tab 32 degrees \cr
84
    \code{32*degree}   \tab 32 degrees \cr
85
    \code{60*minute}   \tab 60 minutes of angle \cr
85
    \code{60*minute}   \tab 60 minutes of angle \cr
86
    \code{30*second}   \tab 30 seconds of angle \cr
86
    \code{30*second}   \tab 30 seconds of angle \cr
87
    \code{displaystyle(x)} \tab draw x in normal size (extra spacing) \cr
87
    \code{displaystyle(x)} \tab draw x in normal size (extra spacing) \cr
88
    \code{textstyle(x})  \tab draw x in normal size \cr
88
    \code{textstyle(x)}  \tab draw x in normal size \cr
89
    \code{scriptstyle(x)} \tab draw x in small size \cr
89
    \code{scriptstyle(x)} \tab draw x in small size \cr
90
    \code{scriptscriptstyle(x}) \tab draw x in very small size \cr
90
    \code{scriptscriptstyle(x)} \tab draw x in very small size \cr
91
    \code{x ~~ y}        \tab put extra space between x and y \cr
91
    \code{x ~~ y}        \tab put extra space between x and y \cr
92
    \code{x + phantom(0) + y} \tab leave gap for "0", but don't draw it \cr
92
    \code{x + phantom(0) + y} \tab leave gap for "0", but don't draw it \cr
93
    \code{x + over(1, phantom(0))} \tab leave vertical gap for "0" (don't draw) \cr
93
    \code{x + over(1, phantom(0))} \tab leave vertical gap for "0" (don't draw) \cr
94
    \code{frac(x, y)}   \tab x over y \cr
94
    \code{frac(x, y)}   \tab x over y \cr
95
    \code{over(x, y)}   \tab x over y \cr
95
    \code{over(x, y)}   \tab x over y \cr
96
    \code{atop(x, y)}   \tab x over y (no horizontal bar) \cr
96
    \code{atop(x, y)}   \tab x over y (no horizontal bar) \cr
97
    \code{sum(x[i], i==1, n)} \tab sum x[i] for i equals 1 to n \cr
97
    \code{sum(x[i], i==1, n)} \tab sum x[i] for i equals 1 to n \cr
98
    \code{prod(plain(P)(X==x), x)} \tab product of P(X=x) for all values of x \cr
98
    \code{prod(plain(P)(X==x), x)} \tab product of P(X=x) for all values of x \cr
99
    \code{integral(f(x)*dx, a, b}) \tab definite integral of f(x) wrt x \cr
99
    \code{integral(f(x)*dx, a, b)} \tab definite integral of f(x) wrt x \cr
100
    \code{union(A[i], i==1, n)} \tab union of A[i] for i equals 1 to n \cr
100
    \code{union(A[i], i==1, n)} \tab union of A[i] for i equals 1 to n \cr
101
    \code{intersect(A[i], i==1, n)} \tab intersection of A[i] \cr
101
    \code{intersect(A[i], i==1, n)} \tab intersection of A[i] \cr
102
    \code{lim(f(x), x \%->\% 0)} \tab limit of f(x) as x tends to 0 \cr
102
    \code{lim(f(x), x \%->\% 0)} \tab limit of f(x) as x tends to 0 \cr
103
    \code{min(g(x), x > 0}) \tab minimum of g(x) for x greater than 0 \cr
103
    \code{min(g(x), x > 0)} \tab minimum of g(x) for x greater than 0 \cr
104
    \code{inf(S)}        \tab infimum of S \cr
104
    \code{inf(S)}        \tab infimum of S \cr
105
    \code{sup(S)}   \tab supremum of S \cr
105
    \code{sup(S)}   \tab supremum of S \cr
106
    \code{x^y + z}   \tab normal operator precedence \cr
106
    \code{x^y + z}   \tab normal operator precedence \cr
107
    \code{x^(y + z)}    \tab visible grouping of operands \cr
107
    \code{x^(y + z)}    \tab visible grouping of operands \cr
108
    \code{x^{y + z}}  \tab invisible grouping of operands \cr
108
    \code{x^{y + z}}  \tab invisible grouping of operands \cr