Thank you very much Martin.
Below is a patch implementing that.
Two newbie questions:
- should I add row.names = NULL, optional = FALSE to match the arguments of the
generic? (this is not the case for e.g. as.data.frame.table but I thought it
was needed:
https://cloud.r-project.org/doc/manuals
> SOEIRO Thomas via R-devel
> on Fri, 17 Jan 2025 14:19:31 + writes:
> Following Duncan Murdoch's off-list comments (thanks again!), here is a more
> complete/flexible version:
>
> as.data.frame.lm <- function(x, ..., level = 0.95, exp = FALSE) {
> cf <- x |> summary() |> stat
> Henrik Bengtsson writes:
Thanks. Will take a look ...
Best
-k
> Thanks for looking into this and the patch. FWIW, there's an open
> PR18105 - "R CMD build: Add dependency on R >= 4.1.0 if code uses pipe
> symbol |>" for this
> (https://bugs.r-project.org/show_bug.cgi?id=18105).
> /Henrik
Following Duncan Murdoch's off-list comments (thanks again!), here is a more
complete/flexible version:
as.data.frame.lm <- function(x, ..., level = 0.95, exp = FALSE) {
cf <- x |> summary() |> stats::coef()
ci <- stats::confint(x, level = level)
if (exp) {
cf[, "Estimate"] <- exp(cf[,
Thanks Ivan and Kurt, for nailing this down, best regards, Peter
Am 17.01.2025 um 09:01 schrieb Kurt Hornik:
Ivan Krylov via R-devel writes:
Thanks. Will try to fix ...
Best
-k
В Thu, 16 Jan 2025 18:09:25 +0100
Peter Ruckdeschel via R-devel пишет:
this is to report some minor UTF-8 encodi
> Ivan Krylov via R-devel writes:
Thanks. Will try to fix ...
Best
-k
> В Thu, 16 Jan 2025 18:09:25 +0100
> Peter Ruckdeschel via R-devel пишет:
>> this is to report some minor UTF-8 encoding issue with R CMD check
>> with option --install-args="--latex" (and possibly more install-args).