On Jul 3, 2013, at 4:54 PM, Erin Hodgess wrote:
> Dear R People:
>
>
> I am experimenting with S4 classes and methods but am having trouble with
> setting up a class.
>
> Here is an example:
>
>> buzz <- setClass("buzz",slots=c(x="matrix"),
> + validity <- function(object) {
> + if(is.matrix(
On 13-07-03 7:54 PM, Erin Hodgess wrote:
Dear R People:
I am experimenting with S4 classes and methods but am having trouble with
setting up a class.
Here is an example:
buzz <- setClass("buzz",slots=c(x="matrix"),
+ validity <- function(object) {
+ if(is.matrix(object)==FALSE)stop("Input m
2 matches
Mail list logo