ggpmisc 0.4.4

Version 0.4.4 includes enhancements. An issue raised in GitHub and a question in StackOverflow asked for the possibility of changing how fitted lines are plotted based on the “goodness” of the fit. In addition an old question in StackOverflow highlighted the need of more intuitive support for annotations based on stats::cor.test(). In addition to implementing these enhancements we continued adding support for flipping of statistics controlled through formal parameter orientation as implemented in ‘ggplot2’ since version 3.3.0.

Changes compared to version 0.4.3, the previous version in CRAN are:

  • Add new function stat_correlation() to annotate plots with correlation estimates, their P-value, a test statistic and n computed with stats::cor.test(). In addition to formatted character strings, numeric values are included in the returned data frame to facilitate conditional display.
  • Update stat_poly_line() to optionally add columns n, p.value, r.squared , adj.r.squared and method to the returned data frame. Code breaking: This statistic no longer supports fitting of splines with methods such as loess . This could potentially break user code, in which case the solution is to use stat_smooth().
  • Update stat_ma_line() to optionally add columns n, p.value, r.squared and method to the returned data frame. (As only a slope can be fitted, adj.r.squared is irrelevant.)
  • Update stat_quant_line() and stat_quant_band() to optionally add n and method columns to the returned data frame. (No exact equivalent of r.squared exists for quantile regression.)
  • Update stat_fit_residuals() to optionally return weighted
    residuals.
  • Update stat_peaks() and stat_valleys() to allow flipping with new parameter orientation.

Documentation web site at http://docs.r4photobiology.info/ggpmisc/ includes all help pages, with output from all examples, vignettes as well as a changelog in HTML format.

NOTE: Version 0.4.4 is on its way to CRAN.

Please raise issues concerning bugs or enhancements to this package through GitHub https://github.com/aphalo/ggpmisc/issues

photobiologyInOut 0.4.23

Fifteen months since the previous release, this update adds support for one new spectrometer from LI-COR and multiple spectrometers from Wasatch Photonics. Updates to the tidyverse were triggering deprecation notices which are now avoided. Updates to package ‘photobiology’ revealed some minor bugs that are also fixed. Unnecessary progress messages during file realing and text scanning have been silenced.

The main changes from version 0.4.22 the previous CRAN release, are:

  • Add parameters na and ... to read_csi_data().
  • Add function read_wasatch_csv() supporting data import from long form CSV spectrum files saved by Wasatch’s Enlighten program.
  • Add function read_li180_txt() supporting data import from files saved by the LI-180 handheld array spectrometer from LI-COR.
  • Avoid spurious progress messages when reading files.
  • Track various changes in the tidyverse that deprecated functions used in this package.
  • Fix bugs in some imports from ‘photobiology’.
  • Move git repository from Bitbucket to Github.
  • Set up Github action for CRAN-checks on Windows, OS X and Ubuntu.
  • Documentation web site at http://docs.r4photobiology.info/photobiologyInOut/.

NOTE: This version of the package is on its way to CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket at https://github.com/aphalo/photobiologyinout/issues

photobiology 0.10.7

The package documentation web site at https://docs.r4photobiology.info/photobiology/ includes a changelog with information for each release since version 0.1.0.

This release includes enhancements related to the computations of reference evapotranspiration:

Changes from version 0.10.6 the most recent CRAN release, are:

  • Add function ET_ref() for computation of reference
    evapotranspiration, implementing the original FAO56 formulation of the Penman-Monteith method as well as modified in 2005 for tall and short vegetation according to ASCE-EWRI. The formulation is that for ET expressed in mm/h, but modified to use as input flux rates in W/m2 and pressures expressed in Pa.
  • Add function net_radiation() that computes the long wave net radiation balance if downwelling long wave radiation is available and otherwise estimates it.
  • Add function irrad_extraterrestrial() that computes down-welling solar irradiance on a horizontal plane at the top of the atmosphere based on the Sun to Earth distance.
  • Revise function sun_angles() to also return the Sun to Earth distance.

NOTE: The updated package is on its way to CRAN.

Please raise issues concerning bugs or enhancements to this package through GitHub at https://github.com/aphalo/photobiology/issues

ggpmisc 0.4.3

Version 0.4.3 contain the bug fix implemented in version 0.4.2-2, which did not make it to CRAN. (See bug listed under 1. in the post ggpmisc 0.4.2.)

New

  1. Add stat_ma_line() and stat_ma_eq() implementing support for major axis (MA), standard major axis (SMA), ranged major axis (RMA) and ordinary least squares (OLS) using function lmodel2() from package ‘lmodel2’.

Documentation web site at http://docs.r4photobiology.info/ggpmisc/ includes all help pages, with output from all examples, vignettes as well as a changelog in HTML format.

NOTE: Version 0.4.3 is on its way to CRAN.

Please raise issues concerning bugs or enhancements to this package through GitHub https://github.com/aphalo/ggpmisc/issues