Description Usage Arguments Examples
This function takes an exported data file in Microsoft Excel format, discards or includes certain data depending on the options chosen in the function, and returns a list of two data frames: the complete raw data and an aggregated statistics file. The statistics are aggregated from the raw data alone; the statistics sheet as outputted to the Excel file is not read.
1 2 |
file |
The filename, which must end in .xls or .xlsx. |
step.time |
Defaults to TRUE. Includes the step time variable from the data file if TRUE. |
energy |
Defaults to TRUE. Includes the (dis)charge energy variables from the data file if TRUE. |
cycles |
Defaults to 100. Determines the maximum number of cycles to be considered when aggregating the statistics dataset. |
mass |
Defaults to NULL. If an active material mass is specified - in MILLIGRAMS - the capacities in the raw and statistics data frames will be converted to mAh/g. |
meanE |
Defaults to FALSE. Will calculate a statistic for average charge and discharge voltage if set to TRUE. |
1 2 | mydataset <- arbin_import("dataset.xlsx")
mydataset <- arbin_import("dataset.xlsx", step.time = FALSE, cycles = 200, mass = 2.55)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.