search for: chartoint

Displaying 5 results from an estimated 5 matches for "chartoint".

Did you mean: charting
2001 May 08
1
ASCII map?
Is there a way to convert between and integer and a character and vice versa? For instance i <- 65; ch <- intToChar(i); # "A" i <- charToInt(ch); # 65 or even better i <- c(65, 66); ch <- intToChar(i); # c("A", "B") i <- charToInt(ch); # c(65, 66) I have tried to do a ASCII map myself, and I figured out that the ASCII characters can be generated by "\nn", where nn is a octal number....
2010 Mar 26
1
Discrete values in levelplot?
Dear all, I am trying represent a matrix of discrete values. At the moment I am using levelplot from the lattice package, but it seems to only work with numerical values. Is there an option in levelplot that will allow me to assign a color to a discrete value, or another package that will do the same? To clarify, with levelplot I can represent a matrix such as: [,1] [,2] [,3] [,4] [1,]
2009 Oct 13
2
No funtions for character code?
Hello, Do you have a function returns codes of given characters? Best Regards, hyunjo [[alternative HTML version deleted]]
2016 Mar 12
2
R-3.2.4 Mac/Linux different in < on characters
Linux: > x<-c("0","1");y<-c("a","-1"); x<y [1] TRUE TRUE Mac: x<-c("0","1");y<-c("a","-1"); x<y [1] TRUE FALSE On both systems, LC_COLLATE/LC_CTYPE/LANG are set to en_US.UTF-8 In Java,FWIW, I get the Mac answer if I use String.compareTo and the Linux answer if I use Collator.compareTo, but
2008 Dec 22
3
Convert ASCII string to Decimal in R (vice versa) was: Hex
Hi Dieter, Sorry my mistake. I wanted to convert them into Decimal (not Hexadecimal). Given this string, the desired answer follows: > ascii_str <- "ORQ>IK" 79 82 81 62 73 75 > ascii_str2 <- "FDC" 70 68 67 - Gundala Viswanath Jakarta - Indonesia On Mon, Dec 22, 2008 at 5:49 PM, Dieter Menne <dieter.menne at menne-biomed.de> wrote: > Gundala