The R Project SVN R

Rev

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

Rev 80981 Rev 87653
Line 28... Line 28...
28
  A length-one logical value.  All objects of length 0 or 1 are sorted.
28
  A length-one logical value.  All objects of length 0 or 1 are sorted.
29
  Otherwise, the result will be \code{NA} except for atomic vectors and
29
  Otherwise, the result will be \code{NA} except for atomic vectors and
30
  objects with an S3 class (where the \code{>=} or \code{>} method is
30
  objects with an S3 class (where the \code{>=} or \code{>} method is
31
  used to compare \code{x[i]} with \code{x[i-1]} for \code{i} in
31
  used to compare \code{x[i]} with \code{x[i-1]} for \code{i} in
32
  \code{2:length(x)}) or with an S4 class where you have to provide a
32
  \code{2:length(x)}) or with an S4 class where you have to provide a
33
  method for \code{\link{is.unsorted}()}.
33
  method for \code{is.unsorted()}.
34
%% FIXME: rather want  '>' and '>=' methods for S4 classes be sufficient
34
%% FIXME: rather want  '>' and '>=' methods for S4 classes be sufficient
35
}
35
}
36
\note{
36
\note{
37
  This function is designed for objects with one-dimensional indices, as
37
  This function is designed for objects with one-dimensional indices, as
38
  described above.  Data frames, matrices and other arrays may give
38
  described above.  Data frames, matrices and other arrays may give