我正在尝试使用R语言为我的NDVI数据编写代码,在代码部分,我在表单中显示错误:
import java.util.Scanner;
public class test{
public static void main (String[]args){
Scanner kb= new Scanner(System.in);
double r5q1,r5q2,r5q3,r5q4,r5q5;
System.out.println("Welcome to the money level.. This is the last and most difficult level!");
//Question 1
System.out.println("Question 1: I have $10.00 and I buy a candy bar for $3.00. How much change will I get?");
r5q1=kb.nextDouble();
if(r5q1==7)
System.out.println("Correct!");
else
System.out.println("Try again!");
r5q1=kb.nextDouble();
}
}
有人可以帮帮我吗?我的NDVI时间序列数据以这种形式保存200001,200002,200003 .... 20012,200101,200102 ..... 200012。我实际上是R的初学者,只是学习语言。简化的帮助对我来说很棒
{{1}}