plotImage {handwriter}R Documentation

Plot Image

Description

This function plots a basic black and white image.

Usage

plotImage(doc)

Arguments

doc

A document processed with processDocument() or a binary matrix (all entries are 0 or 1)

Value

ggplot plot

Examples

csafe_document <- list()
csafe_document$image <- csafe
plotImage(csafe_document)

## Not run: 
document <- processDocument('path/to/image.png')
plotImage(document)

## End(Not run)


[Package handwriter version 3.1.1 Index]