soapcheckr

Check whether a soap film smoother boundary and knots make sense

Setting up a soap film smoother is often a hard and frustrating process. This packages provides functions that checks the boundary, knots, and data that you feed to a soap are “correct”. The functions in the package will also plot the area that will be modeled by the soap film smoother in red, and knots and/or data as circles as viable locations. Any circles that have a X through them are considered inadequate and will need to be removed.

To do the spatial analysis, we require a couple of extra libraries: {sf} and {mgcv}. That will be loaded when installing {soapcheckr}.

{soapcheckr} can be installed using the following code;

install.packages("devtools")
devtools::install_github("dill/soapcheckr")

Next load {soapcheckr} and walk through the vignette to see how to use the functions. We highly encourage walking through both examples in the vignette.

library(soapcheckr)
vignette("how_to_use_soapcheckr")

Other tips

Written by David L. Miller and Benjamin L. Hlina. Released under the GPL (version 2).