Re: [R] Passing formula as parameter to `lm` within `sapply` causes error [BUG?]

2019-05-01 Thread Jens Heumann
38 -0.1404174 -0.010338774 Std. Error 0.9042738 0.4577001 1.858138516 t value1.7991275 -0.3067890 -0.005564049 Pr(>|t|) 0.3229600 0.8104951 0.996457853 Best, Jens On 30.04.2019 23:03, David Winsemius wrote: Try using do.call — David Sent from my iPhone On Apr 30, 2019, at 9:24

[R] Passing formula as parameter to `lm` within `sapply` causes error [BUG?]

2019-04-30 Thread Jens Heumann
Hi, `lm` won't take formula as a parameter when it is within a `sapply`; see example below. Please, could anyone either point me to a syntax error or confirm that this might be a bug? Best, Jens [Disclaimer: This is my first post here, following advice of how to proceed with possible bugs f