v1.2.0
Released on 2023-11-06
- Changed argument
datatonewdatainpredictmethods. The argumentdatawas deprecated. - Bugfixes on sample_spde and when adding observations based on Euclidean positions.
- Added options
vertex_unitandlength_uniton graph creations. Units are given in edge lengths with theget_edge_lengths()method. - Added a method to check if the graph is a tree.
- The graph construction was thoroughly refactored. The resulting construction is faster and cleaner.
- The graph constructions now accepts list of coordinates (where the coordinates are given as either matrices or data frames),
SpatialLines,SpatialLinesDataFramesorMULTILINESTRING. - Adding two options (
sfpackage orsppackage) for handlinglonglatby using thewhich_longlatoption. - Adding
crs(if usingsf) andproj4string(if usingsp) for handling general coordinate reference systems. - Moving
datato theprivateenvironment. - Several data manipulation helper tools and methods were introduced, together with a vignette with a brief tutorial on these tools.
- The method
mesh_A()has been deprecated, usefem_basis()instead. - Several quality of life improvements.
- Improved the
plot()method with the optionplotly=TRUE. - Improved the
plot_function()method to acceptdataandnewdata. - Included a
process_data()method for metric graphs - Renamed the data internal structure from "__group", "__edge_number", "__distance_on_edge", "__coord_x", "__coord_y" to ".group", ".edge_number", ".distance_on_edge", ".coord_x" and ".coord_y".
- Added an "advanced grouping" option, in which the group variable can be a combination of several columns.
- Improved graph_lme() behavior to avoid having NaN as std.errors.
- Added check for distance consistency and, more generally, check to see if the graph has euclidean edges.
- Added method
get_groups()to get the unique groups, and also to retrieve the columns that were used to create the group variable. - Added the
get_data()method to get the data in a user-friendly manner. - Added
glance()andaugment()methods forgraph_lme()objects. - Added
get_vertices_incomp_dir()method to return vertices with incompatible directions. - Added
print(),summary(),compute_characteristics(),check_euclidean(),check_distance_consistency()methods. - Added support for edge weights.
- Created
verticeselement in the metric graph object, containing information such as degrees, indegrees, outdegrees. - Created
printmethods foredges,vertices, and for their entries. - Added the
improve_plotoption onplot_function. - Added support for discontinuous meshes (at the vertices).
- Added support for discontinuous functions (at the vertices) for
plot_function().