it works! Thanks.
__
R-help@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.
On 08/11/2010 04:42 AM, egc wrote:
> # Two test for a class like this:
> setClass("XXX",
> representation=representation(
> "matrix"
> )
> )
>
> i<-new("XXX");
> m=matrix();
> colnames(m)<-c("colA");
> i...@.data=m;
> # >i
> # An object of class “XXX”
> # colA
> #[1,] NA
> #_
2 matches
Mail list logo