Contains my own R functions. First commit.
Function cv2df that accurately reads CV files into dataframe together with CV attributes.

Function works as far as I have tested.
Added function lsv2df() to read Linear Scan data.

Essentially copy-paste of cv2df(), just changed the attributes part.
Two new functions in common.R

Celsius2Kelvin()
Kelvin2Celsius()

Including very crude error checks (checks that supplied temperature
is not below absolute zero, if so, sets it to absolute zero).
Idea: would be nice if function returned same number of significant
digits as it received.
Added the functions chronocm2df(), chronoamp2df(), and amperometry2df().

All of them based on the previous functions. Note: Changed regexp to match
also numbers in scientific notation.
Added function ConvertRefPot().

Function takes a potential and its reference electrode, and converts to a specified reference electrode scale, either another or the same.
I made it to simplify converting between different reference electrode scales in running text.
Added function ocp2df() in CHI.R
cv2df() now includes cycles as well as segments in the returned df.
Corrected syntax error in previous commit. Now it works as expected.
Started working on a Cu Ka2 elimination algorithm.

Based on the paper by Dong et al.
I call the function EliminateKa2().
Added the function Raman2df().

Note: There should be a possibility to supply (as an argument to
Raman2df()) a custom sampleid which should then override the regexp-
based algorithm (only if that argument was supplied).
Most recent change: added working electrode area to electrochemical functions.
Created the new function ProvideSampleId().
Updated all functions to use the new ProvideSampleId() function.
New function It2charge() in common.R - amperometry2df() updated accordingly.
Updated It2charge() and fixed the relevant parts of amperometry2df().

It2charge() is now explicitly meant to be used only from within
other functions, such as amperometry2df().
Added the new function int2padstr().

Using a combination of format() and gsub().
The purpose is to simplify looping through many datafiles
in a single report using for-loops.
A way was needed to "convert" the for-loop's counting variable
into a string of set length padded with zeroes.
This function fills that need.
Major update to cv2df(). Removed df attributes, built-into df instead.

Be advised: This change will break all old reports that used the cv2df() function.
Experimental information (potential limits, scanspeeds, etc.) are now added to the
return dataframe as columns instead of attributes.
With this information built-in to the dataframe, analysis is simplified using melt
and cast and other grouping functions.
Changed attribute name Segment to Segments (stores no of segments).

Because we already have the counter "segment", which stores the
current segment (so for Segments = 10, segment = 1:10).
Added function LinearBaseline().