search for: 22reverse

Displaying 2 results from an estimated 2 matches for "22reverse".

2009 Apr 16
3
"reverse truncate" to extract only decimal values
...retain only the values to the right of the decimal?? i.e. rather than: > trunc(39.5) [1] 39 i would get something like: > revtrunc(39.5) [1] 0.5 I've been searching to no avail but I imagine there is a very simple solution! Tyler -- View this message in context: http://www.nabble.com/%22reverse-truncate%22-to-extract-only-decimal-values-tp23086851p23086851.html Sent from the R help mailing list archive at Nabble.com.
2009 Aug 19
2
[Hmisc] latex() with ctable=T inserting unwanted empty line in .tex file when used on summary.formula(method="reverse") object
Dear useRs, When I'm using Hmisc's latex() function with ctable=TRUE on a summary.formula with method="reverse" object and saving in a .tex file, the latter contains an unwanted empty line which makes compilation fail. Here is a brief example : library(Hmisc) test <- data.frame(a=sample(1:30,10),b=sample(c("good","bad","ugly"),10,replace=T))