The R Project SVN R

Rev

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

Rev 85981 Rev 85983
Line 85... Line 85...
85
\preformatted{  unit(rep(1, 3), c("npc", "strwidth", "inches"),
85
\preformatted{  unit(rep(1, 3), c("npc", "strwidth", "inches"),
86
  data = list(NULL, "my string", NULL))
86
  data = list(NULL, "my string", NULL))
87
}.
87
}.
88
 
88
 
89
  It is possible to subset unit objects in the normal way and to perform
89
  It is possible to subset unit objects in the normal way and to perform
90
  subassignment (see the examples),
90
  \I{subassignment} (see the examples),
91
  but a special function
91
  but a special function
92
  \code{unit.c} is provided for combining unit objects.
92
  \code{unit.c} is provided for combining unit objects.
93
 
93
 
94
  Certain arithmetic and summary operations are defined for
94
  Certain arithmetic and summary operations are defined for
95
  unit objects.  In particular, it is possible to add and subtract
95
  unit objects.  In particular, it is possible to add and subtract