Changes in this minor release:
-
Change to
sea
objects, addedevent_years
. -
Added function
percent_scarred()
for calculating timeseries of number trees recording, scarred, and the percentage. -
Update to
sample_depth()
to account for single-series fhx objects -
Several updates to documentation, including citation.
Changes in this patch:
-
Added warnings and errors to catch bad input on
seas()
(#112). -
Added warning if using
series_mean_interval()
on fhx object with multiple series (#113). -
Fixed bad numbers in
print()
for SEAs objects (#111). -
Fixed typos in warning messages (#114).
Changes in this patch:
-
intervals
objects' KS test for distribution test is now two sided (Issue #108). -
Printed
intervals
objects now report the Weibull median, regardless of fit chosen (Issue #109).
Changes in this minor release:
-
Renamed
run_sea()
tosea()
and enhanced speed, and changed thetime_span
parameter toevent_range
,key
argument is nowevent
, andyears_before
andyears_after
are nownbefore
andnafter
, respectively. The function now returns a proper sea object with specialplot()
andprint()
methods. Theplot()
generic method uses the newplot_sealags()
. You can still use the oldrun_sea()
, but it is deprecated and will be removed in future releases. We're happy with the general interfaces tosea()
but its internal structure may change over the next few minor releases, so beware. -
Added
intervals()
to handle interval analysis. These are a whole new object.mean_interval()
has been renamedseries_mean_interval()
to avoid confusion. We also have a genericplot()
function that usesplot_intervals_dist()
. It plots a little histogram with a rug along the x-axis. -
Added
pgm_pdsi
data to run with sea. Load it withdata("pgm_pdsi")
. -
Added
make_rec_type()
. I hope this will make it easier to createrec_type
factors used byfhx()
. -
Added
event_count_position()
, which gives the number of events found in different positions or seasons. -
Added
year_range()
to give (min, max) years for anfhx
object. -
Updated
composite()
to include a filter for number of events. This necesitates fixes in other functions (e.g.plot_demograph()
). -
Added
summary()
function for fhx and intervals objects. -
count_fire()
renamedcount_scar()
-
Added
quantile()
function for intervals.
Changes in this patch:
-
Fixed additional bug in
read_fhx()
caused by "FHX2 format" in FHX file header. -
Fixed bug #71, causing
read_fhx()
to fail when FHX has empty lastline. -
Added
text
option toread_fhx()
. -
Corrected error message for
series
arg infhx()
. Fixes #73. -
Fixed write_fhx() reversing order of series names in output file.
Changes in this patch:
-
Added option to sort series by their last (or most recent) year with
sort()
. -
Updated
run_sea()
to better replicate EVENT Fortran program. Addresses #58. Added detailed description and an example page with graphics. Also fixed issue with percentage CIs in the departure table. Mind you,run_sea()
is still super experimental. -
Several minor changes to documentation and meta data.
Changes in this minor release:
-
Added a vignette!
-
get_ggplot()
is being depreciated. Please useplot_demograph()
. -
Changed design of fhx objects. They are now data.frame and not lists (nobody used the 'meta', list member anyways). This means that if x is your fhx object and you previously used x$rings, you can now just use x.
-
Added function
is.fhx()
. -
Updated
pgm
example data. -
composite() now returns an fhx object.
-
Added function get_event_years() to find fire and fire injury years in fhx objects. This is especially helpful for composites.
-
concatenate()
andcombine()
were reverted back to '+' at the request of beloved users. This means code likelgr2 + pgm
will combine these objects together into a single fhx object! -
Added examples to all function documentation.
-
resolve_duplicates()
is now hidden (i.e.burnr:::check_duplicates()
). -
Added function sample_depth() to get sample depth.
-
Added run_sea function to begin to address issue #58. Has pretty table output. This is still very experimental.
-
Bug fix in series_stats to maintain series IDs for those with no features
-
Changed composite() behavior. Now more similar to FHAES. Can choose to count injuries as "fire events" with the injury_event argument.
-
Added count_recording() function.
-
Fixed minor bugs in series_stats.
-
Removed sorting by default on read_fhx() and '+.fhx'
-
Fixed sort()s non-responsive decreasing argument.
-
Fixed poor sorting function for FHX objects.
-
Added several small utility functions:
get_year()
,get_series()
,series_names()
,delete()
. -
Improved documentation!
-
Adding series_stats function, closes issue #44.
Changes in this patch:
-
plot()
andget_ggplot()
should no longer allow the user to plot facets and composite rugs in the same plot. This closes bug #25. -
Ring types (the
rec_type
column inx$rings
) has "." in all levels replaced with a "_". For example, 'dormant.fs' is now 'dormant_fs.' Closes #45. -
In
get_ggplot()
thelegend
argument is nowplot_legend
to avoid clash with common functions. -
In
fhx$rings
and all functions,type
arugment is nowrec_type
to avoid clash withtype
function.rec_type
is short for "record_type". -
Can now read FHX files with a single series (closes bug #43).
-
lgr2
andpgm
are available fire-history datasets when you load this package. The metadata for each of these sets islgr2_meta
andpgm_meta
. Load the data withdata()
.
-
First github release
-
Added
NEWS.md
file. Existing users should check back here for changes. -
rug.filter
function is renamedcomposite
. -
ggplot.fhx
is nowget_ggplot
. This is more descriptive. The following arguments for this function have been changed as a part of this fix:plot.rug
is nowcomposite_rug
,filter.min
is nowfilter_min
,filter.prop
is nowfilter_prop
,event.size
is nowevent_size
,rugbuffer.size
is nowrugbuffer_size
,rugdivide.pos
is nowrugdivide_pos
.spp
argument is renamed tocolor_group
.sppid
is nowcolor_id
.cluster
is nowfacet_group
.clusterid
is nowcluster_id
. -
read.fhx
function is renamedread_fhx
. -
write.fhx
function is renamedwrite_fhx
. -
order.fhx
is nowsort
(see methodsort.fhx
). Also, added a boolean argumentdecreasing
, which defaults to FALSE. Previously this has been TRUE.. -
+
withfhx
objects, (+.fhx
) is nowconcatenate
. So,a + b
should now beconcatenate(a, b)
. -
Fixed bug that disappeared a series which started or ended with fire scars.