ppm.reader: Read a PPM file with a .ppm file extension.

Description Usage Arguments Value Examples

View source: R/ppm.reader.R

Description

This function will load the specified PPM file into memory using the pixamp package. This is useful for working with image files as a data set.

Usage

1
ppm.reader(data.file, filename, variable.name)

Arguments

data.file

The name of the data file to be read.

filename

The path to the data set to be loaded.

variable.name

The name to be assigned to in the global environment.

Value

No value is returned; this function is called for its side effects.

Examples

1
2
3
library('ProjectTemplate2')

## Not run: ppm.reader('example.ppm', 'data/example.ppm', 'example')

connectedblue/ProjectTemplate2 documentation built on May 17, 2019, 2:46 p.m.