e:
C
attached base packages:
[1] stats graphics utils datasets grDevices methods base
Any thoughts are greatly appreciated.
Kind regards,
Oleg
Dr Oleg Sklyar
Research Technologist
AHL / Man Investments Ltd
+44 (0)20 7144 3107
oskl...@maninvestments.com
> -----Original Messa
So, I was intrigued and played around a bit more. Still can't get any
warnings, but the following may be the issue.
One thing NOT currently possible is to have a class that has NULL as its
data part, because type NULL is abnormal and can't have attributes.
So if you want a class that contain
What warnings? Which part of the following is not what you're looking
for? (The usual information is needed, like version of R, reproducible
example, etc.)
> setClassUnion("numericOrNULL", c("numeric","NULL"))
[1] "numericOrNULL"
> setClass("foo", representation(x="numericOrNULL"))
[1] "foo"
>
Dear list:
I am looking for a good way to create an S4 class that would extend
numeric, but would allow NULL instead of data as well. As far as I can
see there is no way at the moment to do that, but please correct me if I
am wrong. The best solution I came up with so far was the following (it
als