TilburgNetworkGroup / remstats

Computes Statistics for Relational Event History Data
https://tilburgnetworkgroup.github.io/remstats/
Other
7 stars 1 forks source link

some thingies regarding the 'attr_data' argument #63

Open jomulder opened 1 year ago

jomulder commented 1 year ago
  1. When specifying exogenous variables, e.g., in the difference() or send() function via the 'attr_data' argument, it should be fine if the 'time' column is not present. Now users are forced to include this column even though it may not be relevant.

  2. Not sure about this one but if possible it would be nice if it is allowed if the data.frame for attr_data has missing values (NAs) for covariates of actors who are not present in the riskset.

  3. I also get an error message

Error in FUN(X[[i]], ...) : Missing actors in the attr_data object.

even though all actors are present in the attr_data object. But maybe I am doing something wrong for this specific situation which I will not put on GitHub now...

mlmeijerink commented 11 months ago
  1. :fixed in v3.2.0 (on CRAN).

  2. remstats gives a warning for missing values, but it is allowed. In the future it might be nice if the warning is not outputted if the actor is not in the riskset.