Debian Codegraph @

R/Iconv.R

raw
1 Iconv <- function(x,from="",to="",...) UseMethod("Iconv")
2
3 Iconv.character <- function(x,from="",to="",...){
4 iconv(x,from=from,to=to,...)
5 }
6
7 Iconv.importer <- function(x,from="",to="",...){
8 [email protected] <- lapply([email protected],Iconv.item,from,to,...)
9 return(x)
10 }
11
12 Iconv.item <- function(x,from="",to="",...){
13 if(length(ann <- annotation(x)))
14 annotation(x) <- Iconv.annotation(ann,from=from,to=to,...)
15 if(length(vl <- labels(x)))
16 labels(x) <- Iconv.value.labels(vl,from=from,to=to,...)
17 return(x)
18 }
19
20 Iconv.value.labels <- function(x,from="",to="",...){
21 [email protected] <- iconv([email protected],from=from,to=to,...)
22 return(x)
23 }
24
25 Iconv.annotation <- function(x,from="",to="",...){
26 [email protected] <- iconv([email protected],from=from,to=to,...)
27 return(x)
28 }
29
30 Iconv.data.set <- function(x,from="",to="",...){
31 [email protected] <- lapply([email protected],Iconv.item,from,to,...)
32 return(x)
33 }
34