Releases: ltrr-arizona-edu/burnr
Releases · ltrr-arizona-edu/burnr
burnr v0.1.1
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 confidence intervals in the departure table. Mind you,run_sea()
is still very experimental. - Several minor changes to documentation and meta data.
burnr v0.1.0
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.
v0.0.2
burnr v0.0.2
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).
concatenate()
has been renamedcombine()
at the request of beloved users.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()
.
v0.0.1
burnr v0.0.1
- 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.
v0.0.1.9000
burnr v0.0.1.9000
Trying to get most of the compatibility-breaking code out of the way now. Consider this a beta release. A stable version of this will be released in early November, 2015. The stable release will include fixes for major bugs found during beta testing.
Major changes from earlier code includes:
- 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. Change in default behavior makes it makes it more comparable with R's genericsort
function.+
withfhx
objects, (+.fhx
) is nowconcatenate
. So,a + b
should now beconcatenate(a, b)
.