mimsy.save: 'mimsy.save' Save output to an Excel workbook

Description Usage Arguments Value Examples

Description

Easily save the full output of the 'mimsy' calculation function to a nicely-formatted, multi-tab Excel .xlsx file.

Usage

1

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

1
2
3
4
5
6
7
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"))

mimsy documentation built on May 2, 2019, 4:03 p.m.