Learn R Programming

lazyraster (version 0.5.1)

lazyraster-methods: Lazy raster S3 methods

Description

Print and format for lazyraster.

Plot for lazyraster, data pulled on-demand at a reasonable level-of-detail.

Usage

# S3 method for lazyraster
print(x, ...)

# S3 method for lazyraster format(x, ...)

# S3 method for lazyraster plot(x, y, ...)

Arguments

...

passed to raster::plot

y

ignored

Details

Data is pulled from the GDAL source at a resolution suited for the currently open graphics device.

Examples

Run this code
# NOT RUN {
fl <- system.file("images/ga_srtm.png", package = "lazyraster")
print(lazyraster(fl))
plot(lazyraster(fl))
# }

Run the code above in your browser using DataLab