Learn R Programming

stars (version 0.1-1)

Math.stars: Mathematical operations for stars objects

Description

Mathematical operations for stars objects

Usage

# S3 method for stars
Math(x, ...)

Arguments

x

object of class stars

...

parameters passed on to the Math functions

Examples

Run this code
# NOT RUN {
tif = system.file("tif/L7_ETMs.tif", package = "stars")
x = read_stars(tif)
a = sqrt(x)
b = log(x, base = 10)
# }

Run the code above in your browser using DataLab