external_img {officer}R Documentation

external image

Description

This function is used to insert images

Usage

external_img(src, width = 0.5, height = 0.2)

## S3 method for class 'external_img'
dim(x)

## S3 method for class 'external_img'
as.data.frame(x, ...)

## S3 method for class 'external_img'
format(x, type = "console", ...)

Arguments

src

image file path

width

height in inches

height

height in inches

x

external_img object

...

unused

type

output format

Examples

# external_img("example.png")

[Package officer version 0.3.5 Index]