This package has used the st_ prefix for most function (spatial type) per SO.
However, I think that better prefixing can be used.
all functions that create or modify neighbor lists should be prefixed nb_ which has started to become a pattern.
All functions that create or modify a weights list prefixed with wt_
sfnetwork related functions prefixed with sfn_ as opposed to st_as_graph(), st_as_node(), st_as_edge()
though the latter might actually be informative. Or perhaps sf_as_graph(), sf_as_node(), and sf_as_edge() to indicate type
additionally, new functions such as node_get_nbs(), node_get_edge_list(), and node_get_edge_col() do not have the prefix, but I think the naming is satisfactory as node pertains to a network.
global measures are prefixed with global_
local measures (except losh and nb match test) are prefixed local_
This package has used the
st_
prefix for most function (spatial type) per SO.However, I think that better prefixing can be used.
nb_
which has started to become a pattern.wt_
sfn_
as opposed tost_as_graph()
,st_as_node()
,st_as_edge()
sf_as_graph()
,sf_as_node()
, andsf_as_edge()
to indicate typenode_get_nbs()
,node_get_edge_list()
, andnode_get_edge_col()
do not have the prefix, but I think the naming is satisfactory asnode
pertains to a network.global_
local_