R Code Examples

Click the Red or Green text to expand or collapse the section
Below is a listing of my R Code. For each entry, I have provided a description, the source code, an example, and if applicable, sample output. The source code and example can be copy and pasted directly into R. To be efficient with space, I collapsed all sections except Description.

encodeVideo.R (Windows only)

  • Description

    This code simplifies the creation of a video in R. It saves a series of images and then invokes the shell to feed the images to a video encoder. It requires the video encoder mencoder. For more, read about it here
  • Source Code

  • Example

  • Output