Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
This question already has an answer here:
Is there any function to calculate statistical NDVI in landsat8 package
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
NDVI is always calculated like this:
NDVI = (NIR - RED)/(NIR + RED)
For Landsat 8 this means
NDVI = (Band5 - Band4)/(Band5 + Band4)
3 years, 8 months ago
1 year, 11 months ago