The R Project SVN R

Rev

Rev 76253 | Rev 87588 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 76253 Rev 76258
Line 13... Line 13...
13
  Simple manipulation of (a small set of) integer numbers as roman numerals.
13
  Simple manipulation of (a small set of) integer numbers as roman numerals.
14
}
14
}
15
\usage{
15
\usage{
16
as.roman(x)
16
as.roman(x)
17
.romans
17
.romans
-
 
18
\special{% no \alias
18
r1 + r2
19
r1 + r2
19
r1 <= r2
20
r1 <= r2
20
max(r1)
21
max(r1)
21
sum(r2)
22
sum(r2)
22
}
23
}
-
 
24
}
23
\arguments{
25
\arguments{
24
  \item{x}{a numeric or character vector of arabic or roman numerals.}
26
  \item{x}{a numeric or character vector of arabic or roman numerals.}
25
  \item{r1, r2}{a roman number vector, i.e., of \code{\link{class}} \code{"roman"}.}
27
  \item{r1, r2}{a roman number vector, i.e., of \code{\link{class}}
-
 
28
    \code{"roman"}.}
26
}
29
}
27
\details{
30
\details{
28
  \code{as.roman} creates objects of class \code{"roman"} which are
31
  \code{as.roman} creates objects of class \code{"roman"} which are
29
  internally represented as integers, and have suitable methods for
32
  internally represented as integers, and have suitable methods for
30
  printing, formatting, subsetting, coercion, etc, see
33
  printing, formatting, subsetting, coercion, etc, see