search for: echtb

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

Did you mean: echt
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()?
...|% (1L:nc)[colInd] Maybe this should be: labCol <- labCol[colInd] %||% colnames(x) %||% (1L:nc)[colInd] > sessionInfo() R Under development (unstable) (2020-06-21 r78727) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 16.04.6 LTS Matrix products: default BLAS: /home/wviechtb/rdev/lib/libRblas.so LAPACK: /home/wviechtb/rdev/lib/libRlapack.so locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 [4] LC_COLLATE=C LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C...
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
...\if{html}{}) doesn't do that (it just gets printed). If somebody has already successfully done this, I would be interested in hearing how. Best, Wolfgang >-----Original Message----- >From: G?bor Cs?rdi [mailto:csardi.gabor at gmail.com] >Sent: Thursday, 30 April, 2020 11:51 >To: Viechtbauer, Wolfgang (SP) >Cc: r-devel >Subject: Re: [Rd] Use of MathJax (or something similar) in .Rd 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 > &...
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
Hi All, After some tinkering, and with support from Duncan, I put together a package that allows for easy inclusion of MathJax equations in Rd files. The package has been submitted to CRAN, but those who want to try this out already can get it here: https://github.com/wviechtb/mathjaxr or in other words: install.packages("remotes") remotes::install_github("wviechtb/mathjaxr") Package authors can then use the \loadmathjax macro to enable its use and the \mjeqn{latex}{ascii} and \mjdeqn{latex}{ascii} macros for including inline and displayed equation...
2020 Apr 30
2
Use of MathJax (or something similar) in .Rd files
...int_0^x t^{a-1} (1-t)^{b-1} dt\]}} to render the equation (inline or as 'displaymath'). I'll try to add MathJax locally next. Best, Wolfgang >-----Original Message----- >From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] >Sent: Thursday, 30 April, 2020 12:22 >To: Viechtbauer, Wolfgang (SP); r-devel >Subject: Re: [Rd] Use of MathJax (or something similar) in .Rd files > >On 30/04/2020 6:15 a.m., Viechtbauer, Wolfgang (SP) wrote: >> Interesting. I gave this a try, but couldn't make this work. One would >have to infuse something like >> &gt...