Displaying 1 result from an estimated 1 matches for "nselecciona".
Did you mean:
selecciona
2009 Nov 23
1
Re adline()
...n R and I use the
readline method to ask the user some things,but i don?t use the R console
but I use Win console then not appear what I put.I put the code as you look
for:
cat("1- 24horas\n")
cat("2- 12horas\n")
cat("3- 8horas\n")
selection<-readline(prompt="\nSelecciona numero de horas:")
if(selection=="1"){
prediccion=exp(x.reconstruida[1441:1450])
}
if(selection=="2"){
prediccion=exp(x.reconstruida[720:729])
}
if(selection=="3"){
prediccion=exp(x.reconstruida[481:491])
}
write.table(prediccion,"C:\\Temp\\prePrueba.txt&qu...