Displaying 2 results from an estimated 2 matches for "msecond".
Did you mean:
second
2009 May 27
2
Object-oriented programming in R
...p.plot = ggplot(data=some.data,aes(x=V1, y=V2)) ;
> class(p.plot) ;
> [1] "ggplot"
My understanding is that the object p.plot belongs to the "ggplot"
class. However, a new class definition like
> setClass("AClass", representation(mFirst = "numeric", mSecond =
> "ggplot")) ;
yields the warning
> Warning message:
> In .completeClassSlots(ClassDef, where) :
> undefined slot classes in definition of "AClass": mSecond(class
> "ggplot")
The ggplot object is also a list :
> is.list(p.plot)
> [1] TRUE
So,...
2009 Jun 01
1
installing sn package
...p.plot = ggplot(data=some.data,aes(x=V1, y=V2)) ;
> class(p.plot) ;
> [1] "ggplot"
My understanding is that the object p.plot belongs to the "ggplot"
class. However, a new class definition like
> setClass("AClass", representation(mFirst = "numeric", mSecond =
> "ggplot")) ;
yields the warning
> Warning message:
> In .completeClassSlots(ClassDef, where) :
> undefined slot classes in definition of "AClass": mSecond(class
> "ggplot")
The ggplot object is also a list :
> is.list(p.plot)
> [1] TRUE
So,...