| packS4-package {packS4} | R Documentation |
This package is a toy example build to illustrate the construction of an S4 package as explain in the tutorial S4 : From An Idea To Its Package.
| Package: | packS4 |
| Type: | Package |
| Version: | 0.5.2 |
| Date: | 2009-10-15 |
| License: | GPL (>=2.0) |
| LazyLoad: | yes |
| Depends: | methods,graphics |
This package is a toy example build to illustrate the construction of a package as explain in the book Book: "Petit Manuel de Programmation Orientee Objet sous R" There is mainly two classes. May be there is another one, but it is a secret...
Christophe Genolini <genolini@u-paris10.fr>
Book: "Petit Manuel de Programmation Orientee Objet sous R"
packClassic is another toy example build to
illustrate the construction of a classic (non S4) package.
### classW is the constructor of ClassW object
www <- classW(u1=3,u2=4,w1="Title")
### plot is a method for ClassW
plot(www)
### There is no constructor for ClassV (which is bad !)
new("ClassV",v1=2,v2=3)