[R] order() 'decreasing =' argument must be typed in full

2006-07-28 Thread Thaden, John J
## While in R v. 2.3.1 (the mid-July patch for Windows) ## on a Windows XP machine, this call to order() works fine... order(1:10,decreasing = TRUE) ## [1] 10 9 8 7 6 5 4 3 2 1 ## ...however, the argument name 'decreasing' ## must be typed in toto (note the missing 'g' ## in the

Re: [R] order() 'decreasing =' argument must be typed in full

2006-07-28 Thread Berwin A Turlach
G'day John, JT == Thaden, John J [EMAIL PROTECTED] writes: JT Isn't is standard practice to have R base functions accept JT truncated argument names as long as they are unambiguous? No. :) The help page of order states: Usage: order(..., na.last = TRUE, decreasing = FALSE)