Learn R Programming

stars (version 0.1-1)

Ops.stars: S3 Ops Group Generic Functions for stars objects

Description

Ops functions for stars objects, including comparison, product and divide, add, subtract

Usage

# S3 method for stars
Ops(e1, e2)

Arguments

e1

object of class stars

e2

object of class stars

Value

object of class stars

Examples

Run this code
# NOT RUN {
tif = system.file("tif/L7_ETMs.tif", package = "stars")
x = read_stars(tif)
x * x
x / x
x + x
x + 10
# }

Run the code above in your browser using DataLab