- In
frag.get.parameters()
if the vertices 'layer' attribute of the graph do not have two values, the variables 'balance', 'components.balance', and 'disturbance' are not computed and NAs are returned. - Parameter asymmetric.transport.from for
frag.simulprocess()
now admit value 0 (similar to NULL, disabling this feature). - Revision of
frag.graph.reduce
: to preserve the number of connected components, the use of igraph::articulation points is introduced. A bug in the while loops is fixed with a new control through the 'is.reducible' variable. - Corrections in the documentation.
Released: 2024-12-16
Fourth major release.
- Fix in the
frag.layers.admixture()
andfrag.layers.cohesion()
functions to handle pair of layers when only one layer includes fragments. - In the
frag.layers.cohesion()
andfrag.layers.admixture()
functions, new optionnal parameters ("morphometry", "x", "y", "z") to pass to thefrag.edges.weighting()
function when applied to multiple pairs of layers. - New
frag.graph.reduce()
function to reduce the number of fragments of a fragmentation graph while preserving the number of objects (i.e. connected components). - Fix the
frag.relations.by.layers()
to return a square matrix. - Values returned by
frag.layers.admixture()
andfrag.layers.cohesion()
are now rounded to four digits (to avoid negative admixture values). - Fix the ordering of the pairs of layers returned by
frag.layers.admixture()
to correspond with the same order returned byfrag.layers.cohesion()
. - Revising and optimising
frag.edges.weighting()
. - Add verbose parameter to
frag.edges.weighting()
,frag.get.layers.pair()
,frag.get.parameters()
,frag.layers.admixture()
,frag.layers.cohesion()
. - Add datasets: Chauzey, Le Bout des Vergnes, Grande Rivoire, Tai, Font-Juvenal.
- Add dependency to R (>= 3.5.0) to use serialized datasets (RData format).
- Balance and components balance computation in
frag.get.parameters()
were fixed to measure the value of the spatial unit with less fragments or components, respectively. This fix might result in values different from the value get before with this function. - Add a 'components.balance' variable in the results of
frag.simul.compare
.
Released: 2022-11-16
- add an option to remove the vertices in the
frag.observer.failure()
function.
Released: 2022-07-27
- adding unit tests with testthat and test coverage analysis with covr.
- fix the
frag.simul.process()
function.
Released: 2022-07-13
- all functions from other packages are tagged with their package.
- the RBGL is moved to the 'suggested' packages list, the functionalities related to planarity are now optional.
- igraph functions' names are updated.
- creation of a utils.R file, including internal functions to check the fragmentation graph and the "layer" argument.
Released: 2022-03-08
Third major release.
- add license.
- complete update of the vignette.
Released: 2022-02-17
- when using
frag.weight.edges()
with xyz coordinates, the function now returns a graph with an edge attribute with the spatial distance between fragments frag.layers.summarise()
has three new parameters with default values to define the names of the colums with the cohesion and admixture values- the balance, disturbance, and aggreg.factor values returned by
frag.get.parameters()
are now rounded with two digits. - an error has been corrected in the
asymetric.transport.from
parameter of thefrag.simul.process()
function.
Released: 2021-04-26
Second major release, after complete revision of the documentation.
Released: 2021-04-12
- new function
frag.layers.compare()
to generate simulated graphs for two deposition hypotheses, from the parameters of an observed graph. - new function
frag.layers.summarise()
for post-processing the results of thefrag.layers.compare()
function. - the
frag.weight.edges()
function now enables to weight the edges with morphometric and spatial distance values.
Released: 2021-03-30
- the
frag.simul.process()
function has a newasymetric.transport.from
parameter. - new features in
frag.graph.plot()
: if the graph has two layers, the fragments are distributed by layers in two different regions of the plot. - new
make_sr_graph()
function, to generate a connection graph from afrag.object
. frag.get.admixture()
can now be applied to a graph with more than 2 layers.frag.get.cohesion()
can now be applied to a graph with more than 2 layers.- The edges of the graphs generated with
frag.simul.process()
are now internally weighted with thefrag.edges.weighting()
function. frag.observer.failure()
: new function to simulate the inaccuracy of an observer in determining the relationships between fragments.
Released: 2020-11-27
This is the first public release of the archeofrag package.