search for: chtun

Displaying 8 results from an estimated 8 matches for "chtun".

Did you mean: chten
2019 Mar 05
0
Weird problem / bug with augPred() from nlme
Posted this to r-sig-mixed-models (https://stat.ethz.ch/pipermail/r-sig-mixed-models/2019q1/027620.html) but this might rather need to go to r-devel anyway, so reposting here: I came across a weird problem / bug with augPred() from nlme (nlme_3.1-137). Here is a reproducible example to illustrate the issue (tested on R 3.5.2 and R-devel 2019-03-03 r76192): library(nlme) dat <- data.frame(id
2020 Jun 21
1
Possible bug in heatmap()?
Dear All, There might be a bug in heatmap(): x <- matrix(rnorm(10*5), 10, 5) heatmap(x, labCol=1:5) Error in axis(1, 1L:nc, labels = labCol, las = 2, line = -0.5, tick = 0, : 'at' and 'labels' lengths differ, 5 != 10 Works fine under 4.0.1. Looking at the code from 4.0.1 vs. Rdevel, esp. this part sticks out: labRow <- labRow[rowInd] %||% rownames(x) %||%
2020 Apr 30
3
Use of MathJax (or something similar) in .Rd files
Hello All, I am wondering if there has ever been any discussion/consideration given to incorporating MathJax (or something similar) into R for rendering equations in .Rd files. I know that equations are rendered beautifully in the pdf manuals, but I suspect the majority of users primarily look at the html help files when using R. While I am comfortable reading something like "B_x(a,b) =
2023 Apr 25
2
xyTable(x,y) versus table(x,y) with NAs
Hi all, Posted this many years ago (https://stat.ethz.ch/pipermail/r-devel/2017-December/075224.html), but either this slipped under the radar or my feeble mind is unable to understand what xyTable() is doing here and nobody bothered to correct me. I now stumbled again across this issue. x <- c(1, 1, 2, 2, 2, 3) y <- c(1, 2, 1, 3, NA, 3) table(x, y, useNA="always") xyTable(x, y)
2020 Apr 30
2
Use of MathJax (or something similar) in .Rd files
...d files > >You can probably already do this using the \if{html} conditional, and >either including the matchjax js files in the package, or getting them >from a CDN. > >Gabor > >On Thu, Apr 30, 2020 at 9:13 AM Viechtbauer, Wolfgang (SP) ><wolfgang.viechtbauer at maastrichtuniversity.nl> wrote: >> >> Hello All, >> >> I am wondering if there has ever been any discussion/consideration given >to incorporating MathJax (or something similar) into R for rendering >equations in .Rd files. I know that equations are rendered beautifully in >th...
2020 May 12
4
S3 method dispatch for methods in local environments
Dear All, In R 3.6.3 (and earlier), method dispatch used to work for methods stored in local environments that are attached to the search path. For example: myfun <- function(y) { out <- list(y=y) class(out) <- "myclass" return(out) } print.myclass <- function(x, ...) print(formatC(x$y, format="f", digits=5)) myfun(1:4) # prints: [1]
2020 May 05
1
Use of MathJax (or something similar) in .Rd files
...MathJax (or something similar) in .Rd files > >Thank you.? This is a very useful idea! > >Best, >Ravi >________________________________________ >From: R-devel <r-devel-bounces at r-project.org> on behalf of Viechtbauer, >Wolfgang (SP) <wolfgang.viechtbauer at maastrichtuniversity.nl> >Sent: Thursday, April 30, 2020 6:59:02 AM >To: r-devel >Subject: Re: [Rd] Use of MathJax (or something similar) in .Rd files > >Thanks Gabor and Duncan! It works. For those interested, I added this to the >beginning of the \details{} section: > >\if{html}{\ou...
2020 Apr 30
2
Use of MathJax (or something similar) in .Rd files
...\if{html} conditional, and >>> either including the matchjax js files in the package, or getting them >>>from a CDN. >>> >>> Gabor >>> >>> On Thu, Apr 30, 2020 at 9:13 AM Viechtbauer, Wolfgang (SP) >>> <wolfgang.viechtbauer at maastrichtuniversity.nl> wrote: >>>> >>>> Hello All, >>>> >>>> I am wondering if there has ever been any discussion/consideration given >>> to incorporating MathJax (or something similar) into R for rendering >>> equations in .Rd files. I know...