Displaying 11 results from an estimated 11 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) %||%
2024 Oct 11
1
Error message when calling t.test() and aov() with a factor variables
Hi all,
Just noticed that the error that arises when calling t.test() with factors could be a bit clearer:
> t.test(factor(c(3,1,2,4,3,5,4,5)), factor(c(2,1,2,3,4,5)))
Error in var(x) : Calling var(x) on a factor x is defunct.
Use something like 'all(duplicated(x)[-1L])' to test for a constant vector.
In addition: Warning message:
In mean.default(x) :
argument is not numeric or
2024 Oct 11
1
Error message when calling t.test() and aov() with a factor variables
> -----Original Message-----
> From: Kurt Hornik <Kurt.Hornik at wu.ac.at>
> Sent: Friday, October 11, 2024 14:18
> To: Viechtbauer, Wolfgang (NP) <wolfgang.viechtbauer at maastrichtuniversity.nl>
> Cc: r-devel <r-devel at r-project.org>
> Subject: Re: [Rd] Error message when calling t.test() and aov() with a factor
> variables
>
> >>>>> Viechtbauer, Wolfgang (NP) writes:
>
> > Hi all,
> > Just noticed that the error that aris...
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]
2024 Jun 23
1
Issue with pkgconf when upgrading to 4.4.1
Hi all,
I am running Ubuntu 20.04.6 (focal) (yes, planning to upgrade soon) and just updated to 4.4.1. However, the process did not quite go as smoothly. 'sudo apt upgrade' ran but 'r-base-dev' was not updated because of a dependency issue:
[08:57] ? wviechtb at wv-x5 ? ~/ ? sudo apt upgrade r-base-dev
Reading package lists... Done
Building dependency tree
Reading state
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...