Nothing
add_observations()
and plot_function()
methods.stlnpp
objects.alpha=2
.R-INLA
and inlabru
, and updated the graph_spde_data()
function for such cases.SSN
, osmdata_sp
and osmdata_sf
objects. In such cases, if available, edge weights and data will be automatically added to the graph.SpatialLinesDataFrame
, LINESTRING
, MULTILINESTRING
, etc., if the object contain edge data, they will be automatically added as edge weights.prune_vertices
now has an option to avoid creating circles when pruning.export()
method, that allows one to export a MetricGraph object as an sf
, sp
or SSN2
object.leaflet
and mapview
as methods.get_edges()
and get_vertices()
methods were created, that return the edges and vertices, respectively, in either 'sf', 'sp' or the internal formats.format
to the get_data()
method that allows one to also return the data in sf
or sp
formats.plot
method now has an argument type
, that now also allows one to set type
to mapview
, thus it can return ggplot2
, plotly
and mapview
objects.mutate_weight
, select_weights
, filter_weights
, summarise_weights
and drop_na_weights
. They have a format
argument that allows one to also return sf
or sp
objects.mutate
, filter
, select
, drop_na
and summarise
to have a format argument to also return sf
or sp
objects.observation_to_vertex
method.improve_plot
option, as now all plots from plot_function()
method are improved.merge_strategy
option for add_observations()
method, for handling observations that are very close.alpha=2
, and for building directional constraints. add_observations()
for situations where observations are projected at the same location, specifically for the duplicated_strategy
argument.simulate
method was added for graph_lme
objects.Spoints
argument in add_observations()
has been deprecated. Now, SpatialPointsDataFrame
can be added directly in the data
argument.sf
objects containing data can also be directly added using the add_observations()
method in the data
argument.graph_lme
object to provide starting values when fitting a model using graph_lme()
was added.alpha=1
when using graph_lme()
was added.kirchhoff_weights
argument was added to obtain weights for Kirchhoff vertex conditions from edge_weights
.edgeweight_to_data()
method was added to turn edge weights into data in the internal metric graph format.edge_weight
and edge_width_weight
were added to the plot()
method so that plots on metric graphs can be produced with the weights providing colors to the edges, and also with (possibly different) weights providing the thickness of the edges.edge_weights
were added to graph_components
so that the connected components will have the correct corresponding edge weights.edge_weight
and edge_width_weight
were added to the plot_function()
method, where they work in a similar manner to their counterparts for the plot()
method. The difference is that the weights are plotted as piecewise constant functions.prune_vertices
now has an option to not prune vertices whose edges have incompatible edge weights.plot
method has an interactive
argument that returns the 2D plot as a plotly object, which is interactive when using ggplotly
.viridis
package has been removed.data
to newdata
in predict
methods. The argument data
was deprecated.vertex_unit
and length_unit
on graph creations. Units are given in edge lengths with the get_edge_lengths()
method.SpatialLines
, SpatialLinesDataFrames
or MULTILINESTRING
.sf
package or sp
package) for handling longlat
by using the which_longlat
option.crs
(if using sf
) and proj4string
(if using sp
) for handling general coordinate reference systems.data
to the private
environment.mesh_A()
has been deprecated, use fem_basis()
instead.plot()
method with the option plotly=TRUE
.plot_function()
method to accept data
and newdata
.process_data()
method for metric graphsget_groups()
to get the unique groups, and also to retrieve the columns that were used to create the group variable.get_data()
method to get the data in a user-friendly manner.glance()
and augment()
methods for graph_lme()
objects.get_vertices_incomp_dir()
method to return vertices with incompatible directions.print()
, summary()
, compute_characteristics()
, check_euclidean()
, check_distance_consistency()
methods.vertices
element in the metric graph object, containing information such as degrees, indegrees, outdegrees.print
methods for edges
, vertices
, and for their entries.improve_plot
option on plot_function
.plot_function()
.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.