Displaying 20 results from an estimated 10000 matches similar to: "Font Size for View()"
2017 Oct 20
1
Font Size for View()
Thanks for the feedback. At least on Windows, the font size for View() appears to be controlled by the font size specified under the Rgui preferences / Rconsole. I thought that under Linux, it might be controlled by some .Xresources/.Xdefaults setting.
Ok, will wait for a bit but if nobody else has any suggestions, I'll ask on r-devel.
Best,
Wolfgang
-----Original Message-----
From: Dirk
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
2020 Apr 30
2
Use of MathJax (or something similar) in .Rd files
Interesting. I gave this a try, but couldn't make this work. One would have to infuse something like
<script id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax at 3/es5/tex-mml-chtml.js">
</script>
or
<script id="MathJax-script" async
src="<url-to-your-site>/mathjax/tex-chtml.js">
</script>
into
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")
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) =
2012 Sep 26
3
Broken Links on http://www.r-project.org
I was not sure who I should contact about this, so I am posting this here.
There are a few broken links on the R website.
1) http://www.r-project.org/search.html -> link to the Nabble R Forum. I belive the correct/new URL should be: http://r.789695.n4.nabble.com/
2) http://www.r-project.org/other-docs.html -> link to "Auswertung ?kologischer Daten". Not sure if there is a new
2017 Oct 09
2
Discourage the weights= option of lm with summarized data
Yes. Thank you; I should have quoted it.
I suggest to remove this text or to add the word "not" at the beginning.
Arie
On Sun, Oct 8, 2017 at 4:38 PM, Viechtbauer Wolfgang (SP)
<wolfgang.viechtbauer at maastrichtuniversity.nl> wrote:
> Ah, I think you are referring to this part from ?lm:
>
> "(including the case that there are w_i observations equal to y_i and
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
>
> >>>>>
2017 Oct 08
2
Discourage the weights= option of lm with summarized data
Indeed: Using 'weights' is not meant to indicate that the same
observation is repeated 'n' times. As I showed, this gives erroneous
results. Hence I suggested that it is discouraged rather than
encouraged in the Details section of lm in the Reference manual.
Arie
---Original Message-----
On Sat, 7 Oct 2017, wolfgang.viechtbauer at maastrichtuniversity.nl wrote:
Using
2017 Oct 12
4
Discourage the weights= option of lm with summarized data
OK. We have now three suggestions to repair the text:
- remove the text
- add "not" at the beginning of the text
- add at the end of the text a warning; something like:
"Note that in this case the standard estimates of the parameters are
in general not correct, and hence also the t values and the p value.
Also the number of degrees of freedom is not correct. (The parameter
2015 May 13
4
CRAN check for package on Sparc Solaris
Dear All,
The metafor package currently fails CRAN checks on Sparc Solaris:
http://cran.r-project.org/web/checks/check_results_metafor.html
The problem is probably due to an unintended (= stupid) use of identical() in a couple tests. I have changed that to more appropriate tests using all.equal(). However, before I resubmit the package to CRAN, I would really like to make sure that the updated
2013 Dec 12
1
refline in forest() {metafor}
Hello all,
I am using forest.rma to plot a random effects model meta-analysis. I noticed
that refline sets a vertical line indicating the null hypothesis.
Is there a way to draw another vertical line, possibly dashed, centered on the
summary estimate?
Prof. Viechtbauer, if you happen to read this, I'd like to thank you for making
an excellent package. I have been using the metafor package
2024 Oct 11
1
Error message when calling t.test() and aov() with a factor variables
>>>>> Viechtbauer, Wolfgang (NP) writes:
> 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.
2017 May 05
6
lm() gives different results to lm.ridge() and SPSS
Hi,
Here is (I hope) all the relevant output from R.
> mean(s1$ZDEPRESSION, na.rm=T) [1] -1.041546e-16 > mean(s1$ZDIVERSITY_PA, na.rm=T) [1] -9.660583e-16 > mean(s1$ZMEAN_PA, na.rm=T) [1] -5.430282e-15 > lm.ridge(ZDEPRESSION ~ ZMEAN_PA * ZDIVERSITY_PA, data=s1)$coef ZMEAN_PA ZDIVERSITY_PA ZMEAN_PA:ZDIVERSITY_PA
-0.3962254 -0.3636026
2023 Apr 25
1
xyTable(x,y) versus table(x,y) with NAs
x <- c(1, 1, 2, 2, 2, 3)
y <- c(1, 2, 1, 3, NA, 3)
> str(xyTable(x,y))
List of 3
$ x : num [1:6] 1 1 2 2 NA 3
$ y : num [1:6] 1 2 1 3 NA 3
$ number: int [1:6] 1 1 1 NA NA 1
How many (2,3)s do we have? At least one, the third entry, but the fourth
entry, (2,NA), is possibly a (2,3) so we don't know and make the count NA.
I suspect this is not the intended logic, but a
2018 Jan 10
3
1600x900 not available
My laptop is a Dell XPS-13 running CentOS 7.? It has a 13" 1920x1080
screen and it's a bit difficult for my mid-40s eyesight.? Fedora and
Debian, on this laptop, give me the option of choosing 1600x900 which is
much easier for me to read but CentOS doesn't show this resolution as
available.
I followed the steps I found in a post on stackexchange using xrandr,
substituting
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)
2012 Aug 01
1
"metafor" package, proportions: single groups wrt to a categorical dependent variable
Dear Dushanthi,
Please keep your e-mails on the R-Help list, where Michael has already given you some excellent advice. As Michael already explained, metafor can handle proportions, but does not have any specific functionality for categorical variables with more than 2 levels (at the moment). So, if it is logical and possible to do so, you could collapse the levels of the categorical outcome to 2
2018 Feb 15
1
Codes to conduct network meta-analysis, gemtc package
This aside, there is the R-sig-meta-analysis mailing list where this probably belongs:
https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis
Best,
Wolfgang
>-----Original Message-----
>From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Bert
>Gunter
>Sent: Thursday, 15 February, 2018 16:49
>To: shaju jacob
>Cc: R-help
>Subject: Re: [R] Codes to conduct
2017 Dec 03
1
Discourage the weights= option of lm with summarized data
Peter,
This is a highly structured text. Just for the discussion, I separate
the building blocks, where (D) and (E) and (F) are new:
BEGIN OF TEXT --------------------
(A)
Non-?NULL? ?weights? can be used to indicate that different
observations have different variances (with the values in ?weights?
being inversely proportional to the variances);
(B)
or equivalently, when the elements of