animateCC: Animate Chronocoulometry Simulation

Description Usage Arguments Value

Description

Creates either an HTML or a GIF animation of a chronocoulometry simulation created using ccSim. The resulting animation displays the diffusion profiles for Ox, Red, and, where appropriate, Z situated above the chronoamperogram. Note: the animateCC function requires that the animation package is installed.

Usage

1
animateCC(filename, out_type = c("html", "gif"), out_name = "aniCC")

Arguments

filename

Name of the file that contains the results of a chronocoulometry simulation.

out_type

Identifies the type of file generated, either an HTML file or a GIF file.

out_name

Name used for the file(s) created by this function.

Value

For an HTML animation, the function saves four items in the working directory: a folder with CSS files, a folder with javascript files, a folder with the image files for the animation, and a .html file; the latter two files are named using the function's out_name argument. For a GIF animation, the function saves a single .gif file using the function's out_name argument. See the vignettes for examples.


dtharvey/eChem documentation built on July 9, 2019, 1:35 a.m.