similar to: Changing pch spacing]

Displaying 20 results from an estimated 7000 matches similar to: "Changing pch spacing]"

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! --
2020 Apr 30
0
Use of 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.
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
0
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 > > <script id="MathJax-script" async > src="https://cdn.jsdelivr.net/npm/mathjax at 3/es5/tex-mml-chtml.js"> > </script> > > or > > <script
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
2003 Feb 17
4
inserting elements in a list
I've searched the doc for insert and could not find the way to do the following, hope someone can help: Let's say we have a vector: > a [1] "1" "2" "3" "5" "6" "3" and we want to insert a "7" after any given "3", i.e., we want vector a to become: [1] "1" "2" "3"
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
2017 Oct 09
0
Discourage the weights= option of lm with summarized data
AFAIR, it is a little more subtle than that. If you have replication weights, then the estimates are right, it is "just" that the SE from summary.lm() are wrong. Somehow, the text should reflect this. It is of some importance when you put glm() into the mix, because you can in fact get correct results from things like y <- c(0,1) w <- c(49,51) glm(y~1, weights=w,
2003 Jul 16
2
Stem and leaf display?
I would like to do some fairly basic stem-and-leaf displays in R. I am aware (I might even say painfully aware) of stem(base) and have tried it. That's why I'm hoping someone has a usable stem- and-leaf display for R so that I don't have to write my own. r-project.org > Search > R Site Search > "stem and leaf display" finds nothing. I also tried the mail archive
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
2000 Sep 29
1
Two tcltk questions and Re: tcltk package functionality
Sorry, for my mail from last night contains no subject. Therefore, I send it again and two tcltk questions are appended. ---------------------------------------------------------------------------- Prasad wrote: > I wrote a function in R which uses tcltk package .... essentially I wanted > to give within that function, a widget with 2 radiobuttons to choose > between plotting Precip
2017 Nov 28
0
Discourage the weights= option of lm with summarized data
My local R-devel version now has (in ?lm) 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); or equivalently, when the elements of ?weights? are positive integers w_i, that each response y_i is the mean of w_i unit-weight observations
2015 May 13
0
CRAN check for package on Sparc Solaris
Hi Wolfgang, I can test your package, please send it to me in private. Btw. I only have an x86 machine, and no sparc, so if your problem is sparc-specific, then my test is probably useless. Gabor On Wed, May 13, 2015 at 3:48 PM, Viechtbauer Wolfgang (STAT) < wolfgang.viechtbauer at maastrichtuniversity.nl> wrote: > Dear All, > > The metafor package currently fails CRAN checks on
2017 Nov 28
0
Discourage the weights= option of lm with summarized data
Since the three posters agree (only) that there is a bug, I propose to file it as a bug, which is the least we can do now. There is more to it: the only other case of a change in the Reference Manual which I know of, is also about the weights option! This is in coxph. The Reference Manual version 3.0.0 (2013) says about coxph: " ... If weights is a vector of integers, then the estimated
2001 Jun 06
3
error in dbeta (PR#970)
Full_Name: Hans Peter Wolf Version: 1.2.1 OS: hpux10.20 Submission from: (NULL) (129.70.84.25) dbeta computes a wrong result with parameters (1.3,1) > version platform hppa2.0-hp-hpux10.20 arch hppa2.0 os hpux10.20 system hppa2.0, hpux10.20 status major 1 minor 2.1 year
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
2020 Apr 30
0
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 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
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
2008 Sep 25
1
grid.newpage()
Hi, I'm trying to customize a window with 2 graphs. I'm able to do the first one with something like this general example par(mfrow=c(1,2),cex.axis=0.85,cex.lab=0.80,mai=c(1.3,1,0.5,0),las=3) bplot<-barplot(bar.values,names.arg=cf.names,width=0.5,ylab="% Area held") abline(h=0.3,lty=3,col="red") abline(h=0.1,lty=3,col="blue")
2017 May 05
0
lm() gives different results to lm.ridge() and SPSS
Dear Nick, On 2017-05-05, 9:40 AM, "R-devel on behalf of Nick Brown" <r-devel-bounces at r-project.org on behalf of nick.brown at free.fr> wrote: >>I conjecture that something in the vicinity of >> res <- lm(DEPRESSION ~ scale(ZMEAN_PA) + scale(ZDIVERSITY_PA) + >>scale(ZMEAN_PA * ZDIVERSITY_PA), data=dat) >>summary(res) >> would reproduce the