search for: asmod

Displaying 1 result from an estimated 1 matches for "asmod".

Did you mean: lsmod
2000 Sep 07
2
asmode.integer() -- RFC
...hat because as.vector() and it's descendants such as as.integer, as.double, as.character drop all attributes. Several months ago, someone proposed to use a new function As.integer() instead. Since I just now again "stumbled" on it, I wondered if it might be worth to define asmode.integer <- function(x) { mode(x) <- "integer" ; x } asmode.double <- function(x) { mode(x) <- "double" ; x } asmode.character <- function(x) { mode(x) <- "character" ; x } in order to encourage more shorter & more readable...