Displaying 3 results from an estimated 3 matches for "ichar".
Did you mean:
char
2003 Oct 23
1
Re: ichar() function in R : 1st implementation, RFC
...Thu, 23 Oct 2003 11:45:22 +1000 writes:
Tim> Hi Martin,
Tim> In October 2000 you wrote to r-help:
>>> which reminds me that I've had a desire for something like
>>> the old S function [from the blue book, and library(examples) I think]
>>> ichar(ch)
>>> which would return a vector of integers, each the (decimal) equivalent of
>>> the (ISO-latin1) representation of the corresponding characters in ch.
>>>
>>> This should be easy enough (and be done in C).
>>> Any volunteers?...
1999 Oct 18
1
reading binary file
Is there facility in R to read binary file? In Splus scan() has
'width=' argument and AsciiToInt() command to translate the
binary data. Is there something similar in R?
Thanks,
-Yudi-
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2012 Apr 09
1
Panel.abline would not show beyond a certain slope value
...on(x, # x is the variable column in melted data, equals the Domain Nos
y, # y is the value column in melted data, the degrees
... # Rest of the arguments
)
{
kfreq <- table(y); # compute frquency hash table of y, the values
k <- 1:max(y)
for (i in k) {
ichar <- as.character(i) # convert to match the names(freq), the character-based hash key of freq, which is the value
if (!(ichar %in% names(kfreq)))
kfreq[ichar] <- 0
}
sortedkeys <- as.character(k)
kfreq <- kfreq[sortedkeys]
pk <- kfreq / length(y)...