Displaying 2 results from an estimated 2 matches for "ctnrl".
Did you mean:
cntrl
2000 Jul 09
1
minor typos in help pages (PR#598)
Dear R Team,
A few monor typos in help pages that I noticed.
Thank you very much.
Rashid Nassar
1.
help(gl)
Examples:
# First control, then treatment:
gl(2,8, label=c("Ctnrl","Treat"))
^^^^
I assume "Cntrl" is meant.
==========================================
2.
help(pmatch)
Details:
The behaviour differs by the value of `duplicates.ok'. Consider
...
behaviour for partial matching...
1998 Jun 30
2
gl() in S -- puzzle
...get("ordered",mode="function") else factor)(
rep(rep(1:n, rep(k, n)), length = length),
labels = labels)
which works both in R and S,
as long as you keep ordered = FALSE), e.g.
gl(3,2,12)
gl(2,8,32, label=c("Ctnrl","Treat"))
Then, in R (with the above definition of gl() [and with the builtin one]):
R> gl(3,4,24, ordered=T)
[1] 1 1 1 1 2 2 2 2 3 3 3 3 1 1 1 1 2 2 2 2 3 3 3 3
Levels: 1 < 2 < 3
However, in S
S> gl(3,4,24, ordered=T)
Error in gl: object of mode (...