The R Project SVN R

Rev

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

Rev 88585 Rev 90060
Line 104... Line 104...
104
  level (so that \code{NA} values are counted in tables, for instance).
104
  level (so that \code{NA} values are counted in tables, for instance).
105
 
105
 
106
  \code{.valid.factor(object)} checks the validity of a factor,
106
  \code{.valid.factor(object)} checks the validity of a factor,
107
  currently only \code{levels(object)}, and returns \code{TRUE} if it is
107
  currently only \code{levels(object)}, and returns \code{TRUE} if it is
108
  valid, otherwise a string describing the validity problem.  This
108
  valid, otherwise a string describing the validity problem.  This
109
  function is used for \code{\link{validObject}(<factor>)}.
109
  function is used for \code{\link{validObject}(\var{factor})}.
110
}
110
}
111
\details{
111
\details{
112
  The type of the vector \code{x} is not restricted; it only must have
112
  The type of the vector \code{x} is not restricted; it only must have
113
  an \code{\link{as.character}} method and be sortable (by
113
  an \code{\link{as.character}} method and be sortable (by
114
  \code{\link{order}}).
114
  \code{\link{order}}).