S3 Ops Group Generic Functions for stars objects
Ops functions for stars objects, including comparison, product and divide, add, subtract
## S3 method for class 'stars' Ops(e1, e2) ## S3 method for class 'stars' Math(x, ...) ## S3 method for class 'stars_proxy' Ops(e1, e2) ## S3 method for class 'stars_proxy' Math(x, ...)
| e1 | object of class  | 
| e2 | object of class  | 
| x | object of class stars | 
| ... | parameters passed on to the Math functions | 
object of class stars
tif = system.file("tif/L7_ETMs.tif", package = "stars")
x = read_stars(tif)
x * x
x / x
x + x
x + 10
all.equal(x * 10, 10 * x)
tif = system.file("tif/L7_ETMs.tif", package = "stars")
x = read_stars(tif)
a = sqrt(x)
b = log(x, base = 10)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.