fortify.im: Fortify method for 'im' objects

View source: R/vis.R

fortify.imR Documentation

Fortify method for im objects

Description

This method extracts coordinate and intensity data from a im to a data frame, so that it can be plotted with ggplot.

Usage

## S3 method for class 'im'
fortify(model, data, ...)

Arguments

model

im object

data

not used by this method

...

ignored by this method

Value

data.frame with 3 columns: x, y and value where x & y are the pixel coordinates, value is the intensity value at that pixel coordinate.

See Also

im


keithschulze/supr documentation built on Nov. 26, 2022, 7:09 a.m.