First and last values of a vector
Consider these functions.
cppFunction('double fun1(NumericVector x) {
return x[1];
}')
cppFunction('double fun2(NumericVector x) {
int n = x.size();
return x[n];
}')
Which statement is true?
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Optimizing R Code with Rcpp
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำจริง
เปลี่ยนทฤษฎีให้เป็นการลงมือทำด้วยแบบฝึกหัดเชิงโต้ตอบหนึ่งในของเรา
เริ่มแบบฝึกหัด