Description Usage Arguments Value Examples
Used to create a reduced data file of times and currents for a chronocoulogram. When passed to plotCC, the resulting plot shows the data as discrete points instead of as a line.
| 1 | sampleCC(filename, data.reduction = 1)
 | 
| filename | The filename that contains the result of a simulated chronocoulometry experiment (created using the  | 
| data.reduction | A value that gives the percentage of the original data to keep, which then is spaced evenly across the full data set. | 
Returns a list with the following components
| expt | type of experiment; CC for a chronocoulometry experiment | 
| file_type | value that indicates whether the output includes all data (full) or a subset of data (reduced); defaults to reduced | 
| charge | vector giving the charge as a function of time | 
| time | vector giving the time | 
| 1 2 3 4 5 | ex_ca = simulateCA(e.start = 0.25, e.pulse = -0.25, e.form = 0,
  pulses = "double", t.2 = 20, x.units = 100, t.units = 1000)
ex_cc = simulateCC(ex_ca)
ex_ccsample = sampleCC(ex_cc, data.reduction = 5)
str(ex_ccsample)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.