mime_part.trellis {sendmailR}R Documentation

Creates a MIME part from a trellis plot object

Description

Writes a PDF file of the plot defined by x and turns this PDF file into a file attachment.

Usage

## S3 method for class 'trellis'
mime_part(x, name = deparse(substitute(x)), device = pdf, ...)

Arguments

x

A trellis (lattice) object

name

Name of attachment (sans .pdf extension).

device

Graphics device used to render the plot. Defaults to pdf.

...

Ignored.

Value

An S3 mime_part object.


[Package sendmailR version 1.4-0 Index]