Crandore Hub

image2data

Turn Images into Data Sets

The goal of 'image2data' is to extract images and return them into a data set, especially for teaching data manipulation and data visualization. Basically, the eponymous function takes an image file ('png', 'tiff', 'jpeg', 'bmp') and turn it into a data set, pixels being rows (subjects) and columns (variables) being their coordinate positions (x- and y-axis) and their respective color (in hex codes). The function can return a complete image or a range of color (i.e., contour, silhouette). The data can then be manipulated as would any data set by either creating other related variables (to hide the image) or as a genuine toy data set.

Versions across snapshots

VersionRepositoryFileSize
1.0.1 rolling source/ R- image2data_1.0.1.tar.gz 508.6 KiB
1.0.1 rolling linux/jammy R-4.5 image2data_1.0.1.tar.gz 519.3 KiB
1.0.1 rolling linux/noble R-4.5 image2data_1.0.1.tar.gz 519.2 KiB
1.0.1 latest source/ R- image2data_1.0.1.tar.gz 508.6 KiB
1.0.1 latest linux/jammy R-4.5 image2data_1.0.1.tar.gz 519.3 KiB
1.0.1 latest linux/noble R-4.5 image2data_1.0.1.tar.gz 519.2 KiB
1.0.1 2026-04-26 source/ R- image2data_1.0.1.tar.gz 508.6 KiB
1.0.1 2026-04-23 source/ R- image2data_1.0.1.tar.gz 508.6 KiB
1.0.1 2026-04-09 windows/windows R-4.5 image2data_1.0.1.zip 522.3 KiB
1.0.1 2025-04-20 source/ R- image2data_1.0.1.tar.gz 508.6 KiB

Dependencies (latest)

Imports