rs
> within ` `.
>
> Isaac.
>
> -Mensaje original-
> De: Rui Barradas [mailto:ruipbarra...@sapo.pt]
> Enviado el: lunes, 10 de diciembre de 2018 11:27
> Para: Subirana Cachinero, Isaac; r-help@r-project.org
> Asunto: Re: [R] repeating the same variable in formul
hin ` `.
>
> Isaac.
>
> -Mensaje original-
> De: Rui Barradas [mailto:ruipbarra...@sapo.pt]
> Enviado el: lunes, 10 de diciembre de 2018 11:27
> Para: Subirana Cachinero, Isaac; r-help@r-project.org
> Asunto: Re: [R] repeating the same variable in formula
>
&g
white spaces or other characters
within ` `.
Isaac.
-Mensaje original-
De: Rui Barradas [mailto:ruipbarra...@sapo.pt]
Enviado el: lunes, 10 de diciembre de 2018 11:27
Para: Subirana Cachinero, Isaac; r-help@r-project.org
Asunto: Re: [R] repeating the same variable in formula
Hello,
The fo
Hello,
The formulas
y ~ cholesterol + age + age
and
y ~ cholesterol + age
are the same formula.
If you want 'age' twice, maybe
g <- y ~ cholesterol + I(age + age)
attr(terms(g), "term.labels")
#[1] "cholesterol" "I(age + age)"
Hope this helps,
Rui Barradas
Às 06:49 de 10/12/2018, Subira
4 matches
Mail list logo