knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The diwanalr (diffusing-wave spectroscopy (DWS) analysis using R) package contains a number of functions suitable for analysing DWS data. The package utilises two R packages, tidyverse and ggplot2, in its implementation.
DWS is derived from dynamic light scattering which is an optical technique that studies the dynamics of scattered light. If carefully calibrated, DWS allows the quantitative measurement of microscopic motion in a soft material from which micro-rheology can be used to determine the rheological properties of a complex medium.
Research capability exists which allows the application of DWS to food systems. In some instances, the analysis of data resulting from such capability can be tedious (e.g. using spreadsheets). This package is intended to allow users of such capability to perform analysis of DWS data in a more straightforward manner.
At present, there are three stages in the workflow, involving three sets of calculations.
data(dws) g1 <- form_g1(dws) plot_g1(g1)
msd <- form_msd(g1) plot_msd(msd)
mods <- form_modulus(msd) plot_modulus(mods)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.