mimsy.save {mimsy} | R Documentation |
mimsy.save
Save output to an Excel workbook
Description
Easily save the full output of the 'mimsy' calculation function to a nicely-formatted, multi-tab Excel .xlsx file.
Usage
mimsy.save(x, file)
Arguments
x |
object to be written to file, the output of 'mimsy' function |
file |
desired file name with .xlsx ending. Example: "mimsyCalculations.xlsx" |
Value
Outputs an excel workbook to the user's working directory
Examples
data <-
read.csv(file = system.file("extdata", "data.csv", package = "mimsy"),
header = TRUE, stringsAsFactors = FALSE)
results <- mimsy(data, baromet.press = 981.2, units = 'hPa')
mimsy.save(results, file = file.path(tempdir(), "results.xlsx"))
[Package mimsy version 0.6.5 Index]