Skip to content
Prev 60392 / 63424 Next

Dropping RHS of a formula using NULL assignment

Am 14.12.21 um 21:57 schrieb Prof Brian Ripley:
I'd also mention delete.response() here. It takes a "terms" object (a 
formula with attributes) and uses the same technique internally to 
remove the response -- if there is one... I.e., be sure that 
length(f)==3 before dropping the second element.

Best regards,

	Sebastian Meyer