Closed brgew closed 1 year ago
Hi,
For your first question, we checked that the jackknife and bootstrap estimators were relevant for the basic PLN model. For the network version, the integration of the regularization is questionable and what was returned did not necessarily make sense so we preferred to disable it for the moment... But there is hope, and knowing that someone was using this feature will undoubtedly push us to make developments in this direction.
For the second question, I haven't used the S4 classes for a while and I lack expertise on this. Did you have a look on stackoverflow for example ? https://stackoverflow.com/questions/72559243/is-there-a-way-method-to-assign-a-r6-object-to-an-s4-object-slot
Best,
Hi,
I appreciate your clarifications. And I thank you for the help with the programming question!
Best Wishes,
Hi,
I have two more questions.
the
PLNnetwork_param()
function had aconfig_post
parameter, which we used to select things like jackknife and bootstrap. It appears to have been dropped from the current version ofPLNnetwork_param()
and it's not apparent how we can enable jackknife, bootstrap, etc. without it. Is there a different way?this is a coding question that I've been unable to answer - I wonder if you might help me. We define an S4 class with a slot that takes a
PLNfit
class object, which works nicely. But when we attempt to assign aPLNfit_spherical
orPLNfit_diagonal
object to the slot, the S4 class initiator complains that it expects aPLNfit
object, that is, it fails to recognize thatPLNfit_spherical
inheritsPLNfit
. I tried usingsetClassUnion('PLNfit_union', c('PLNfit', 'PLNfit_spherical', 'PLNfit_diagonal'))
but on loadingPLNmodels
, R complains thatPLNfit_spherical
andPLNfit_diagonal
are undefined. I wonder how we can placate the S4 initiator.I appreciate your consideration and guidance.
Thank you.