Am 14.12.21 um 21:57 schrieb Prof Brian Ripley:
On 14/12/2021 20:26, Blackwell, Matthew wrote:
Hello all,
In attempting to create a one-sided formula from a two-sided formula,
I discovered that the following syntax will successfully complete this
operation:
f <- y ~ x + z
f[2] <- NULL
f
~x +
On 14/12/2021 20:26, Blackwell, Matthew wrote:
Hello all,
In attempting to create a one-sided formula from a two-sided formula,
I discovered that the following syntax will successfully complete this
operation:
f <- y ~ x + z
f[2] <- NULL
f
~x + z
str(f)
Class 'formula' language ~x + z
.
On 14/12/2021 3:26 p.m., Blackwell, Matthew wrote:
Hello all,
In attempting to create a one-sided formula from a two-sided formula,
I discovered that the following syntax will successfully complete this
operation:
f <- y ~ x + z
f[2] <- NULL
f
~x + z
str(f)
Class 'formula' language ~x + z
Hello all,
In attempting to create a one-sided formula from a two-sided formula,
I discovered that the following syntax will successfully complete this
operation:
> f <- y ~ x + z
> f[2] <- NULL
> f
~x + z
> str(f)
Class 'formula' language ~x + z
..- attr(*, ".Environment")=
In searching thro