data
It is possible now to choose between two strategies to deal with density at 0 when calculating LOO likelihood for several bandwidths. For more details, see the parameter zero_strat in the functions bw_cvl_calc, bw_cvl_calc.mc, bw_cv_likelihood_calc, bw_cv_likelihood_calc.mc, bws_tnkde_cv_likelihood_calc and bws_tnkde_cv_likelihood_calc.mc.
It is possible now to set directly the size of local bandwidths for the functions nkde, nkde.mc, tnkde and tnkde.mc. This feature is currently experimental, please submit an issue if you encounter a bug.
One can now use the identity matrix type for neighbour weighting (network_listw). It is useful if one wants to apply different function to calculate the weights and to compare the results.
Adaptive bandwidth for TNKDE can now be calculated separately or simultaneously. For more details, see the parameter adaptive_separate.
The vignette Details about NKDE” has been removed from the package because it could not be knitted on some CRAN machines. It is still accessible on the website.
A new vignette K-nearest neighbour adaptive bandwidth has also be added to the website. It presents how spNetwork can use user defined local bandwidths.
An error was raised when points were sharing the exact same locations in the function network_knn. It has been corrected an a warning was added to clarify the situation.
A clearer error message is now raised when multiple geometries are passed to the nkde and nkde.mc functions.
When using the discontinuous NKDE, NA values were returned if an event was located exactly at the extremity of an edge with no connexions. This has been corrected.
Minor release to fix a bug on SOLARIS for CRAN
Several vignettes were added to present the new features. A pkgdown website was also built to give a more attractive way to browse the documentation.
We follow now the code coverage. We want to reach 70% coverage before the next CRAN release.