Skip to content
Prev 109997 / 398500 Next

Accessing the class of an object with two elements.

Le Jeudi 22 F?vrier 2007 05:37, Shubha Vishwanath Karanth a ?crit?:
Well, given your code the condition in the 'if' statement will return c(TRUE, 
TRUE), hence the warning. Executing your code piece by piece would tell you 
that.

That said, you probably rather want to use inherit() for such purposes.

HTH