x <- NULLfor (i in 1:30){
x[i]<--0.1+0.2*i
}Em 3 de outubro de 2011 01:17, Luís Gustavo [via R-br] <ml-node+s2285057n3866526h83@n4.nabble.com> escreveu:
Você precisa definir a variável x antes, não?
x=c()for (i in 1:30){Em 3 de outubro de 2011 01:13, Mauro Sznelwar <[hidden email]> escreveu:
x[i]<--0.1+0.2*i
}--
> Alguém pode explicar por que a variável x não está sendo reconhecida neste
> caso?
> for (i in 1:30){
> x[i]<--0.1+0.2*i
> }
>
> _______________________________________________
> R-br mailing list
> [hidden email]
> https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
> Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código
> mínimo reproduzível.
>
Luís Gustavo Silva e Silva_______________________________________________
R-br mailing list
[hidden email]
https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código mínimo reproduzível.
http://r-br.2285057.n4.nabble.com/R-br-Nao-reconhece-variavel-tp3866522p3866526.htmlIf you reply to this email, your message will be added to the discussion below:To unsubscribe from R-br, click here.--
Saudações,Pedro Rafael Diniz Marinho.Estatístico - Secretaria de Estado da Saúde - PB.