gt; Oleg (MI London)
> Sent: 07 May 2008 16:13
> To: Robin Hankin; R-devel@r-project.org
> Subject: Re: [Rd] optional setValidity()
>
> You could add a flag to your class and check if it set as a
> first thing in the validity as in the example below:
>
> setClass("foo&
TED]
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Robin Hankin
> Sent: 07 May 2008 15:44
> To: R-devel@r-project.org
> Subject: [Rd] optional setValidity()
>
> Hi
>
>
> Suppose I have an S4 class "f
Hi
Suppose I have an S4 class "foo" and a validity checking
function ".checkfoo()":
setClass("foo", representation=representation("numeric"))
setValidity("foo" , .checkfoo)
is fine; in my application, .checkfoo() verifies that a bunch
of necessary conditions are met.
But .checkfoo() is very