example_images: Example images included in this package

Description Usage Format Examples

Description

Three example images (Mountain.JPG, Cicada.JPG, Alpine Flower.JPG) are available in this package (photo credit: Gen-Chang Hsu). See 'Examples' for how to load the images.

Usage

1

Format

.JPG file.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
library(PalCreatoR)
library(magick)

image_path_Mountain <- system.file("Mountain.JPG", package = "PalCreatoR")
Mountain <- image_read(image_path_Mountain)
plot(Mountain)

image_path_Cicada <- system.file("Cicada.JPG", package = "PalCreatoR")
Cicada <- image_read(image_path_Cicada)
plot(Cicada)

image_path_Alpine_flower <- system.file("Alpine Flower.JPG", package = "PalCreatoR")
Alpine_flower <- image_read(image_path_Alpine_flower)
plot(Alpine_flower)

GenChangHSU/PalCreatoR documentation built on April 2, 2021, 5:14 p.m.