This function reads a Runsalt output file, processes it, and returns a tidy dataframe. It separates salt and variable information, pivots the data, and adds columns for relative humidity (RH) and moles (mol).
Value
A tibble with columns:
Salt The type of salt
RH Relative Humidity
mol Moles of salt
filename The name of the input file
Examples
if (FALSE) { # \dontrun{
result <- tidyRunsalt("path/to/runsalt/output.txt")
head(result)
} # }