IvanWilli / DemoKin

DemoKin estimates kinship distribution by type and age
Other
22 stars 7 forks source link

Suggested improvements to package #6

Closed alburezg closed 1 year ago

alburezg commented 2 years ago
IvanWilli commented 2 years ago

Adding a few more:

alburezg commented 2 years ago
alburezg commented 2 years ago

A few more things, ahead of the new release:

library(DemoKin)
swe_surv_2015 <- swe_px[,"2015"]
swe_asfr_2015 <- swe_asfr[,"2015"]
swe_2015 <- kin(U = swe_surv_2015, f = swe_asfr_2015, time_invariant = TRUE)
Error in kin_time_invariant(U = U, f = f, output_kin = output_kin, birth_female = birth_female) %>%  : 
  could not find function "%>%"
IvanWilli commented 2 years ago

The last error was because "%>%" needs a library to load it. use_this has a great solution. Now solved

IvanWilli commented 1 year ago

@alburezg Do we close this? For final testing against Caswell's paper (mostly first) we would need more than visual inspection. Maybe is better to add it in a new list, together with final changes pre CRAN submision, and close this issue.

alburezg commented 1 year ago

Agreed, let's close this!