search for: lst_city

Displaying 1 result from an estimated 1 matches for "lst_city".

2023 Nov 08
1
Problem in R code
...angalore","Chennai") lon <- c(77.219934,75.793261,88.365394,72.900361,73.875199,78.47476,77.602114,80.192181) lat <- c(28.589256,26.892024,22.619754,19.110629,18.50269,17.422973,12.974087,13.044415) results <- data.frame() #A data frame to store the results for(i in 1:8) { LST_city <- extract(LST, c(lon[i],lat[i]), fun = mean, buffer = 10000, na.rm = TRUE) #error } # Fit a 2D Gaussian surface to the LST data x <- coordinates(LST)[,1] y <- coordinates(LST)[,2] z <- values(LST) mu_x0 <- mean(x) mu_y0 <- mean(y) sigma_x0 <- sd(x)/2 sigma_y0 <- sd(y)/2...