[R] alias for a class

From: Christophe Genolini <cgenolin_at_u-paris10.fr>
Date: Fri, 14 Mar 2008 10:26:49 +0100

Hi the list

Is it possible to give two names for a class ? One long name for using in programmation, and one short name for the "quick and durty" uses ?

With function, we can do

mcf <- myCoolFunction <- function(x)....

With class, I define "clusterizedLongData", I want to use it with the full name when I am writing my code, but I would like something like cld when I make a demo, or when I try things on console... Is it possible ?



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 14 Mar 2008 - 09:33:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 14 Mar 2008 - 11:30:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive