Displaying 18 results from an estimated 18 matches for "wviechtb".
2017 Jun 22
1
Compiling R-devel - missing some expected features (zlib, bzlib, lzma, PCRE)
...nal libraries: readline, curl
Additional capabilities: PNG, JPEG, TIFF, NLS, cairo, ICU
Options enabled: shared BLAS, R profiling
Under 'External libraries', I am missing "zlib, bzlib, lzma, PCRE". As far as I can tell, I have all necessary libs installed:
wviechtb at psysim:~$ dpkg -l | grep zlib
ii zlib1g:amd64 1:1.2.8.dfsg-2ubuntu4.1
ii zlib1g-dev:amd64 1:1.2.8.dfsg-2ubuntu4.1
wviechtb at psysim:~$ dpkg -l | grep libbz
ii libbz2-1.0:amd64 1.0.6-8
ii libbz2-dev:amd64...
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...
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 information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distr...
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...
2024 Jul 25
1
OFF TOPIC: Nature article on File Drawer Problem in Reserach
Chapter 9 might be of interest:
https://bookdown.org/MathiasHarrer/Doing_Meta_Analysis_in_R/
And specifically, for funnel plots in R:
https://wviechtb.github.io/metafor/reference/funnel.html
Best,
Rob
On 7/25/2024 6:40 AM, Richard O'Keefe wrote:
> I know you didn't want to stimulate discussion, but the problem is not
> confined to publication. "Adverse reaction to medication" monitoring
> programs are plagued by a si...
2020 Apr 30
2
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}{\out{
<script id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax at 3/es5/tex-mml-chtml.js">
</script>
}}
And then I can use:
\if{html}{\out{\(B_{x(a,b)} = \int_0^x t^{a-1} (1-t)^{b-1} dt\)}}
or
2000 Jul 13
2
R_memory/Question
Bonjour,
Je voudrais savoir comment on peut modifier les capacit?s de m?moire pour le logiciel R, car j'ai un probl?me pour lire un tableau contenant 200000 observations et 30 variables.
Je vous remercie d'avance pour toute aide ?ventuelle.
Cordialement,
Steffy.Ruiz at wanadoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2024 Jul 25
1
OFF TOPIC: Nature article on File Drawer Problem in Reserach
I know you didn't want to stimulate discussion, but the problem is not
confined to publication. "Adverse reaction to medication" monitoring
programs are plagued by a similarly massive under-reporting problem:
adverse reactions are seldom reported unless they are particularly bad
or surprising. (The Ministry of Health in my country estimates 90% of
cases are never reported.)
2002 Aug 24
2
Density of non-central t distribution
Hello Everybody,
Is there a function available for calculating the density of a
non-central t distribution? (dt does not accept the ncp option).
Thanks in advance!
--
Wolfgang Viechtbauer
"Are you not thinking what I am not thinking?"
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2003 Feb 02
3
Finding Missing Data Patterns
Dear R-Helpers,
I have a large data matrix, which contains missing data. The matrix
looks something like this:
1) X X X X X X NA NA NA
2) NA NA NA NA X X X X X
3) NA NA X X X X NA NA NA
4) X X X X X X X X X
5) X X NA NA X NA NA NA NA
and so on. Notice that the first row starts with complete data but ends
with missing. The second row starts with missing, but the rest is
2002 Aug 09
2
Help with improving efficiency
Dear All,
I have a problem that I think could be solved much more efficiently, but
I don't have a clue how to accomplish this. I have a matrix W with
dimensions k*(p+1):
Let's say W is 5*4 and looks like this:
> W
[,1] [,2] [,3] [,4]
[1,] 1 -1 -1 1
[2,] 1 1 1 1
[3,] 1 2 -2 -1
[4,] 1 0 -1 -1
[5,] 1 -2 -1 0
I want to take
2002 May 28
4
Indexing Elements of a Dataframe
Hello List-Members,
Let's say that I have the following code:
for (i in c(10, 20, 30)) {
for (j in c(200, 400, 600)) {
...
...
x <- "something"
* (code here)
}
}
* Now, x is some result that I want to put into a results "matrix" that
looks like this:
200 400 600
10
20
30
I came up with an ad-hoc solution adding some counters (called
2001 Aug 29
5
newbie graphics question
Hi!
I need to plot two lines on the same graph. I do
plot(x,y)
then
plot(x,z,add=TRUE)
but I get the following warning messages
Warning messages:
1: parameter "add" couldn't be set in high-level plot() function
2: parameter "add" couldn't be set in high-level plot() function
3: parameter "add" couldn't be set in high-level plot() function
4:
2001 Nov 27
3
Equations as arguments to functions
I am trying to pass an equation as an arguement to a function, which seems
pretty straightforward given lazy evaluation.
I constructed the following little test to make sure I sort of knew what I
was doing:
go <- function(X,eq) { C <<- X*2; d <<- eq}
a _ rnorm(100)
go(10,eq=a[.5*length(a)]+C+1)
> C
[1] 20
> d
[1] 21.10551
> a[.5*length(a)]
[1] 0.1055086
Everything
2004 Feb 27
1
Outer with Three Vectors
Hello,
outer() is great for avoiding things like:
for (val1 in val1s) {
for (val2 in val2s)) {
x[i,j] <- somefunction(val1, val2)
}
}
The same can be obtained with:
outer(val1s, val2s, somefunction)
But what if there are three (or more) sets of values to loop over? Any
way of avoiding the loops then?
Thanks,
--
Wolfgang Viechtbauer
2004 Aug 02
3
Title with substitute and paste
Hello All,
I am generating some plots where the title is generated with substitute
and paste. An example:
nval <- 20
plot(0,0)
title(substitute(paste("n = ", n), list(n = nval)))
But when compared to:
plot(0,0)
title("n = 20")
the title in the first plot looks slightly different (it is not in
bold). How can I get the two titles to look exactly the same?
Also, how can I
2002 Oct 31
3
Changing pch spacing
Hello R-Helpers,
plot(x, y, type="b", pch="1")
plots x vs. y with both a line and the symbol "1" but how do I change
the "spacing" of the symbol being plotted. In other words, I don't want
to plot the "1" at every data point, but only at every kth point (things
get too cluttered when there are many data points). Thanks in advance!
--
2003 Jun 12
1
Tested Random Number Generator
Dear All,
The editor of a journal to which I had submitted a publication asked
whether R has a "tested random number generator." My paper included
Monte Carlo simulations generating random normal and random chi-square
values.
help(rnorm) lists
Wichura, M. J. (1988) Algorithm AS 241: The Percentage Points of
the Normal Distribution. Applied Statistics, 37, 477-484.
as a