Re: [R] how to print "<=" in plot title

2011-06-28 Thread array chip
Thank Peter! How do I make the title in bold font? John - Original Message From: Peter Ehlers To: array chip Cc: R Sent: Tue, June 28, 2011 10:52:07 AM Subject: Re: [R] how to print "<=" in plot title On 2011-06-28 10:25, array chip wrote: > Hi, how can I print

Re: [R] how to print "<=" in plot title

2011-06-28 Thread array chip
(from variable x) in bold. Anyway to solve that? Thanks again! John - Original Message From: David Winsemius To: Peter Ehlers Cc: array chip ; R Sent: Tue, June 28, 2011 11:04:07 AM Subject: Re: [R] how to print "<=" in plot title On Jun 28, 2011, at 1:52 PM, Peter E

Re: [R] how to print "<=" in plot title

2011-06-28 Thread array chip
David, I tried your suggestion, still not working: x<-3 plot(1:10) title(bquote(bold(x) <= bold(as.character(.(x)) ))) It prints x<=as.character(3) as title Thanks John - Original Message From: David Winsemius To: array chip Cc: Peter Ehlers ; R Sent: Tue, June 28, 2

Re: [R] cumulative incidence plot vs survival plot

2011-06-28 Thread array chip
Thank you Alan again! Hope you could also share your thought on my another email about the coding of censoring before death.. Thanks again! John - Original Message From: alanm (Alan Mitchell) To: array chip ; David Winsemius Cc: r-help@r-project.org Sent: Tue, June 28, 2011 11

Re: [R] how to print "<=" in plot title

2011-06-28 Thread array chip
Thank you David for the obvious fix and sorry for my lacking innovative spirit, :-) Really, I know I haven't grasped the essence of plotting these math symbols in R. John - Original Message From: David Winsemius To: array chip Cc: Peter Ehlers ; R Sent: Tue, June 28, 2011

Re: [R] how to print "<=" in plot title

2011-06-28 Thread array chip
Thank you again David for the thoughtful comments on plotmath. Really appreciated. John - Original Message From: David Winsemius To: array chip Cc: Peter Ehlers ; R Sent: Tue, June 28, 2011 12:20:49 PM Subject: Re: [R] how to print "<=" in plot title On Jun 28, 201

Re: [R] cumulative incidence plot vs survival plot

2011-06-30 Thread array chip
ce or recurrence-free survival) with death as being censored. Because death is a competing risk for recurrence, does this mean those KM curves are not appropriate, instead CI curves should be used? Thanks very much! John - Original Message From: Terry Therneau To: array chip Cc: r-h

[R] decimal points midline

2012-08-08 Thread array chip
Hi, does anyone know how to make decimal points midline when plotting? The journal to which we are going to submit a manuscript require this particular formatting, and it gives direction how to do this on PC: hold down ALT key and type 0183 on the number pad Thanks John [[alternative H

Re: [R] decimal points midline

2012-08-08 Thread array chip
Thanks Uwe, options(OutDec="\xB7") worked! From: Uwe Ligges To: John Kane roject.org> Sent: Wednesday, August 8, 2012 12:43 PM Subject: Re: [R] decimal points midline On 08.08.2012 21:22, John Kane wrote: > Can you point to an example?  It sounds like the

[R] forest plots from rmeta package

2011-11-21 Thread array chip
Hi, I am trying forestplot() and metaplot() from rmeta package to plot some hazard ratios. Now foreatplot() can draw clipping with "<" or ">" at the ends of the confidence line using "clip" argument, but can't use multiple colors for different lines. On the other hand, metaplot() can use differe

[R] compare proportions

2011-09-27 Thread array chip
Hi, I have a seemingly simple proportional test.  here is the question I am trying to answer:   There is a test running each day in the lab, the test comes out as either positive or negative. So at the end of each month, we can calculate a positive rate in that month as the proportion of positive

[R] compare proportions

2011-09-28 Thread array chip
Hi all, I asked this yesterday, but hadn't got any response yet. Understand this is not pure R technical question, but more of statistical. With many statistical experts in the list, I would appreciate any suggestions... Many thanks John -- Hi,

[R] why NA coefficients

2011-11-07 Thread array chip
Hi, I am trying to run ANOVA with an interaction term on 2 factors (treat has 7 levels, group has 2 levels). I found the coefficient for the last interaction term is always 0, see attached dataset and the code below: > test<-read.table("test.txt",sep='\t',header=T,row.names=NULL) > lm(y~factor(t

Re: [R] why NA coefficients

2011-11-07 Thread array chip
imable?   Thanks John From: David Winsemius Cc: "r-help@r-project.org" Sent: Monday, November 7, 2011 5:13 PM Subject: Re: [R] why NA coefficients On Nov 7, 2011, at 7:33 PM, array chip wrote: > Hi, I am trying to run ANOVA with an interaction term on 2 factors

Re: [R] why NA coefficients

2011-11-07 Thread array chip
> > But why the coefficient for "treat 7-group 2" is not estimable? > > Thanks > > John > > > > > > From: David Winsemius > > Cc: "r-help@r-project.org" > Sent: Monday, November 7, 2011 5:13 PM > Subje

Re: [R] why NA coefficients

2011-11-08 Thread array chip
>> John >> >> >> From: David Winsemius >> Cc: "r-help@r-project.org" >> Sent: Monday, November 7, 2011 5:13 PM >> Subject: Re: [R] why NA coefficients >> >> >> On Nov 7, 2011, at 7:33 PM, array chip wrote: >> >> &g

Re: [R] why NA coefficients

2011-11-08 Thread array chip
true, why it has to omit "treat 7-group 2" Thanks again From: David Winsemius Cc: "r-help@r-project.org" Sent: Monday, November 7, 2011 10:19 PM Subject: Re: [R] why NA coefficients On Nov 7, 2011, at 10:07 PM, array chip wrote:

Re: [R] why NA coefficients

2011-11-08 Thread array chip
reat 1 2 >>     1 8 0 >>     2 1 5 >>     3 5 5 >>     4 7 3 >>     5 7 4 >>     6 3 3 >>     7 8 2 >> >> But why the coefficient for "treat 7-group 2" is not estimable? >> >> Thanks >> >> John >> >>

[R] statistical contrasts on 3-way interaction

2012-03-14 Thread array chip
Hi all,  I was trying to use glht() from multcomp package to construct a contrast on interaction term in a linear model to do some comparisons. I am little uncertain on how to construct contrasts on a 3-way interaction containing a continuous variable, and hope someone can confirm what I did i

Re: [R] Difference in Kaplan-Meier estimates plus CI

2012-04-05 Thread array chip
Hi, I have the same question as Jason on how to estimate the standard error and construct CI around S_1(t) - S_2(t). From summary.survfit(obj), how can I combine the 2 survival estimates and the associated standard errors, to get an estimate of standard error for the difference / then calculate

[R] standard error for lda()

2012-02-08 Thread array chip
Hi, I am wondering if it is possible to get an estimate of standard error of the predicted posterior probability from LDA using lda() from MASS? Logistic regression using glm() would generate a standard error for predicted probability with se.fit=T argument in predict(), so would it make sense t

[R] standard error for lda()

2012-02-09 Thread array chip
Hi, didn't hear any response yet. want to give it another try.. appreciate any suggestions. John To: "r-help@r-project.org" Sent: Wednesday, February 8, 2012 12:11 PM Subject: [R] standard error for lda() Hi, I am wondering if it is possible to get an estima

Re: [R] standard error for lda()

2012-02-09 Thread array chip
9, 2012 2:59 PM Subject: Re: [R] standard error for lda() On Feb 9, 2012, at 4:45 PM, array chip wrote: > Hi, didn't hear any response yet. want to give it another try.. appreciate > any suggestions. > My problem after reading this the first time was that I didn't agr

[R] prediction for linear mixed model

2012-02-20 Thread array chip
Hi, I am wondering if we can make prediction on a linear mixed model by lmer() from lme4 package? Specifically I am fitting a very simple glmer() with binomial family distribution, and want to see if I can get the predicted probability like that in regular logistic regression?   fit<-glmer(y~x+(

[R] "CV" for log normal data

2012-02-21 Thread array chip
Hi, I have a microarray dataset from Agilent chips. The data were really log ratio between test samples and a universal reference RNA. Because of the nature of log ratios, coefficient of variation (CV) doesn't really apply to this kind of data due to the fact that mean of log ratio is very close

Re: [R] "CV" for log normal data

2012-02-21 Thread array chip
Thank you Peter. John From: Peter Langfelder To: Bert Gunter Sent: Tuesday, February 21, 2012 2:51 PM Subject: Re: [R] "CV" for log normal data > > Good advice. But perhaps ?mad or some other perhaps robust plain old > measure of spread? The problem is n

[R] low R square value from ANCOVA model

2012-05-07 Thread array chip
Hi, what does a low R-square value from an ANCOVA model mean? For example, if the R square from the model is about 0.2, does this mean the results should NOT be trusted? I checked the residuals of the model, it looked fine...   Thanks for any suggestion.   John [[alternative HTML version

Re: [R] low R square value from ANCOVA model

2012-05-08 Thread array chip
dalgaard Cc: "r-help@r-project.org" Sent: Monday, May 7, 2012 11:07 PM Subject: Re: [R] low R square value from ANCOVA model On May 8, 2012, at 05:10 , array chip wrote: > Hi, what does a low R-square value from an ANCOVA model mean? For example, if > the R square from the mo

Re: [R] low R square value from ANCOVA model

2012-05-08 Thread array chip
John From: peter dalgaard Cc: "r-help@r-project.org" Sent: Monday, May 7, 2012 11:43 PM Subject: Re: [R] low R square value from ANCOVA model On May 8, 2012, at 08:34 , array chip wrote: > Thank you Peter, so if I observe a significant coefficient, that sig

Re: [R] low R square value from ANCOVA model

2012-05-08 Thread array chip
n on this argument? Many thanks! John From: peter dalgaard Cc: "r-help@r-project.org" Sent: Monday, May 7, 2012 11:43 PM Subject: Re: [R] low R square value from ANCOVA model On May 8, 2012, at 08:34 , array chip wrote: > Thank you Pe

Re: [R] low R square value from ANCOVA model

2012-05-08 Thread array chip
Paul, thanks for your thoughts. blunt, not at all If I understand correctly, it doesn't help anything to speculate whether there might be additional variables existing or not. Given current variables in the model, it's perfectly fine to draw conclusions based on significant coefficients reg

[R] a simple mixed model

2012-05-26 Thread array chip
Hi, I was reviewing a manuscript where a linear mixed model was used. The data is simple: a response variable "y" was measured for each subject over 3 time points (visit 1, 2 and 3) that were about a week apart between 2 visits. The study is a non-drug study and one of the objectives was to eval

Re: [R] a simple mixed model

2012-05-27 Thread array chip
9 AM Subject: Re: [R] a simple mixed model On May 27, 2012, at 07:12 , array chip wrote: > Hi, I was reviewing a manuscript where a linear mixed model was used. The > data is simple: a response variable "y" was measured for each subject over 3 > time points (visit 1, 2 and

[R] fractional ranks

2008-06-05 Thread array chip
Hi, is there a function to calculate fractional ranks? Thanks __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal,

[R] rbind() problem

2008-06-13 Thread array chip
Hi, I would like to rbind 2 data frames. They both some common column names, but also some unique column names each, is there any simple function that rbind these 2 data frames with filling NAs for those columns of unique names? thanks __ R-help@r-pro

[R] how to check linearity in Cox regression

2008-05-09 Thread array chip
Hi, I am just wondering if there is a test available for testing if a linear fit of an independent variable in a Cox regression is enough? Thanks for any suggestions. John Zhang [[elided Yahoo spam]]

Re: [R] diagonal LDA

2007-11-16 Thread array chip
AIL PROTECTED]> wrote: > supclust > > On 11/9/07, array chip <[EMAIL PROTECTED]> > wrote: > > Hi is there a package for diagonal linear > discriminant > > analysis (diagonal LDA)? > > > > Thanks > > > > ___

[R] rounding format

2008-01-02 Thread array chip
Hi, The code round(0.0002234,4) will return 2e-04, how can I return 0.0002 instead? I want to print 0.0002 instead of 2e-04 for formating purpose. thanks Looking for last minute shopping deals?

[R] general linear hypothesis glht() to work with lme()

2008-01-09 Thread array chip
Hi, I am trying to test some contrasts, using glht() in multcomp package on fixed effects in a linear mixed model fitted with lme() in nlme package. The command I used is: ## a simple randomized block design, ## type is fixed effect ## batch is random effect ## model with interaction

Re: [R] general linear hypothesis glht() to work with lme()

2008-01-10 Thread array chip
sqtest()) However, after looking at the examples from the help page of contrast(), I still couldn't figure out how to specify that comparison. Thanks for any suggestions. --- Dieter Menne <[EMAIL PROTECTED]> wrote: > array chip yahoo.com> writes: > > (Real names

[R] glht() and contrast() comparison

2008-01-11 Thread array chip
Hi, I have been trying glht() from multcomp package and contrast() from contrast package to test a contrast that I am interested in. With the following simulated dataset (fixed effect "type" with 3 levels (b, m, t), and random effect "batch" of 4 levels, a randomized block design with interaction

[R] how to specify a particular contrast

2008-01-17 Thread array chip
Hi, I am running a simple one-way ANOVA with an independent factot variable "treat" (3 levels: a, b and c) and a response variable "y". I want to test a linear relationship of the response among the 3 levels of the variable "treat" (ordered a->b->c). I used glht() from multcomp package. Later I fou

Re: [R] how to specify a particular contrast

2008-01-17 Thread array chip
f a linear trend > 3) is there a quadratic response > > If you declare your factor to be "ordered" then the > default contrasts > will be poly()nomials. > > Ross Darnell > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PRO

[R] forestplot() with large number of confidence intervals

2008-02-14 Thread array chip
Hi I am using forestplot() in rmeta package on a dataset of 45 point estimates with corresponding confidence intervals. The resulting plot was just too large and plotted out of the graphic window that I can not see whole picture. Is there anyway to fix this problem? Thanks ___

[R] fastbw() in Design works for continuous variable?

2008-02-20 Thread array chip
Hi, it seems that the fastbw() in the Design package only works with variable of class "factor" according to the help page if I understand correctly. Is there any R function/package that do stepwise variable selection for a Cox model with continuous independent variables? Thank you John

[R] lasso with Cox regression

2008-02-26 Thread array chip
Rob Tibshirani propose to use lasso with Cox regression for variable selection in his 1997 paper "The lasso method for variable selection in the Cox model" published in Statistics In Medicine 16:385. I understand the lars() function in lars package implemented lasso, but it does not do lasso with C

[R] missing packages from install

2008-02-26 Thread array chip
Hi, When I install new packages from CRAN, I frequently find that some packages were missing from the download queue. For example, on one of my computer with R2.6.2, I can not find package glmpath from the download queue. On my other computer with R2.5.1, I could still find that particular package

[R] coxpath() in package glmpath

2008-03-01 Thread array chip
Hi, I am new to model selection by coefficient shrinkage method such as lasso. And I became particularly interested in variable selection in Cox regression by lasso. I became aware of the coxpath() in R package glmpath does lasso on Cox model. I have tried the sample script on the help page of cox

[R] multiple plots with a title

2008-03-04 Thread array chip
Hi, I am wondering how can I add a common title to the top of a page that contains multiple plots using, e.g., par(mfrow=c(2,3))? thanks John Zhang __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the pos

[R] multiple plots with a title using postscript()

2008-03-04 Thread array chip
title', outer=T, line=-1) > > HTH > > Peter Alspach > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > array chip > > Sent: Wednesday, 5 March 2008 10:48 a.m. > > To: [EMAIL PROTECTED]

[R] plotting region

2007-10-04 Thread array chip
Hi, I have been playing with graphic parameters to meet my specific plot requirement. I would like to draw a plot in the top right region of the plot region, I can do that with a number of parameters such as plt, mar or oma. For example setting the parameters: par(plt=c(0.28,0.956,0.25,0.9)) or pa

[R] diagonal LDA

2007-11-09 Thread array chip
Hi is there a package for diagonal linear discriminant analysis (diagonal LDA)? Thanks __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and pro

[R] SAMseq errors

2017-11-29 Thread array chip via R-help
Hi, I am trying to using SAMseq() to analyze my RNA-seq experiment (2 genes x 550 samples) with survival endpoint. It quickly give the following error: > library(samr)Loading required package: imputeLoading required package: > matrixStats Attaching package: ‘matrixStats’ The following objects

[R] SAMseq errors

2017-11-29 Thread array chip via R-help
Sorry forgot to use plain text format, hope this time it works: Hi, I am trying to using SAMseq() to analyze my RNA-seq experiment (2 genes x 550 samples) with survival endpoint. It quickly give the following error: > library(samr) Loading required package: impute Loading required package: m

[R] Fleming-Harrington weighted log rank test

2018-02-13 Thread array chip via R-help
Hi all,  The survdiff() from survival package has an argument "rho" that implements Fleming-Harrington weighted long rank test.  But according to several sources including "survminer" package (https://cran.r-project.org/web/packages/survminer/vignettes/Specifiying_weights_in_log-rank_comparison

Re: [R] Fleming-Harrington weighted log rank test

2018-02-15 Thread array chip via R-help
Thank you David! On Wednesday, February 14, 2018, 6:05:46 PM PST, David Winsemius wrote: > On Feb 14, 2018, at 5:26 PM, David Winsemius wrote: > >> >> On Feb 13, 2018, at 4:02 PM, array chip via R-help >> wrote: >> >> Hi all, >> >

Re: [R] weighed Fleming-Harrington log rank test

2018-02-16 Thread array chip via R-help
Thank you Terry. Right now I can use comp() from survMisc package to do the 2-parameter version of F-H weighting. I think both SAS and stata offer the 2-parameter version, so just thought it would be nice if survdiff() can have that option given it's standard package in R.  Thanks! John On

[R] Lattice xyplot

2017-05-01 Thread array chip via R-help
Dear all, I am new to lattice, so would appreciate anyone's help on the questions below. I am using xyplot to plot some trend in my dataset. Using the example dataset attached, I am trying to plot variable "y" over variable "time" for each subject "id": dat<-read.table("dat.txt",sep='\t',header=

Re: [R] Lattice xyplot

2017-05-01 Thread array chip via R-help
Thanks all for the clarification! From: Jeff Newmiller To: r-help@r-project.org; Bert Gunter ; array chip Cc: "r-help@r-project.org" Sent: Monday, May 1, 2017 10:53 AM Subject: Re: [R] Lattice xyplot It is not a question of whether lattice "understands&quo

[R] deviance in GLM vs. summary.glm

2017-05-30 Thread array chip via R-help
Hi, I am running a logistic regression on a simple dataset (attached) using glm: > dat<-read.table("dat.txt",sep='\t',header=T) If I use summary() on a logistic model: > summary(glm(y~x1*x2,dat,family='binomial')) Coefficients:            Estimate Std. Error z value Pr(>|z|)(Intercept)     19.57  

[R] gsDesign Pocock & OBF boundary

2017-09-22 Thread array chip via R-help
Hi, I am learning to use your gsDesign package! I have a question about Pocock and OBF boundary. As far as Iunderstand, these 2 boundaries require equal spacing between interim analyses(maybe this is not correct?). But I can still use gsDesign to run an analysisbased on unequal spacing:  gsDes

Re: [R] gsDesign Pocock & OBF boundary

2017-09-23 Thread array chip via R-help
her the above analysis is still valid? Or for unequal spacing, I have to use Lan-Demet’s error spending function approximations? Thank you, From: Berend Hasselman To: array chip Cc: R-help Mailing List Sent: Friday, September 22, 2017 11:46 PM Subject: Re: [R] gsDesign Pocock & OBF b

Re: [R] gsDesign Pocock & OBF boundary

2017-09-24 Thread array chip via R-help
] https://cran.r-project.org/web/packages/reprex/index.html (read the vignette) -- Sent from my phone. Please excuse my brevity. On September 23, 2017 9:53:05 PM PDT, array chip via R-help wrote: >Sorry for messed up text. Here it goes again: >I am learning to use the gsDesign package. &

[R] 2 KM curves on the same plot

2020-09-28 Thread array chip via R-help
Hello, Can anyone suggest a simple way to generate a Kaplan-Meier plot with 2 survfit objects, just like this one:  https://drive.google.com/file/d/1fEcpdIdE2xYtA6LBQN9ck3JkL6-goabX/view?usp=sharing Suppose I have 2 survfit objects: fit1 is for the curve on the left (survtime has been truncate

Re: [R] 2 KM curves on the same plot

2020-09-29 Thread array chip via R-help
new clipping rectangle will persist until you or something else resets it. Jim On Tue, Sep 29, 2020 at 10:34 AM array chip via R-help wrote: > > Hello, > > Can anyone suggest a simple way to generate a Kaplan-Meier plot with 2 > survfit objects, just like this one: > &g

Re: [R] 2 KM curves on the same plot

2020-09-29 Thread array chip via R-help
0, 1, 0.2), labels = FALSE, lty = "dashed") Regards, Marc Schwartz > On Sep 28, 2020, at 8:33 PM, array chip via R-help > wrote: > > Hello, > > Can anyone suggest a simple way to generate a Kaplan-Meier plot with 2 > survfit objects, just like this one: > &

Re: [R] 2 KM curves on the same plot

2020-09-29 Thread array chip via R-help
direct way would be: plot(fit1, col=1:2) xylim<-par("usr") clip(4,xylim[2],xylim[3],xylim[4]) lines(fit2,col=1:2) Remember that the new clipping rectangle will persist until you or something else resets it. Jim On Tue, Sep 29, 2020 at 10:34 AM array chip via R-help wrote: > &g

Re: [R] 2 KM curves on the same plot

2020-09-29 Thread array chip via R-help
perate until you have issued a graphics command. Try: points(-1,-1) before calling lines() Jim On Wed, Sep 30, 2020 at 12:26 PM array chip wrote: > > Hi Jim, > > I tried the clip() function below, surprisingly it did not work! I read the R > help file and feel your script should w

Re: [R] 2 KM curves on the same plot

2020-09-29 Thread array chip via R-help
hics command. Try: points(-1,-1) before calling lines() Jim On Wed, Sep 30, 2020 at 12:26 PM array chip wrote: > > Hi Jim, > > I tried the clip() function below, surprisingly it did not work! I read the R > help file and feel your script should work. To have a workable exampl

Re: [R] 2 KM curves on the same plot

2020-09-30 Thread array chip via R-help
nes" method that resets the clipping region out of sight. Fortunately Mark Schwartz provided a way to get your plot so I will give the wall against which I have been banging my head a break. Jim On Wed, Sep 30, 2020 at 1:57 PM array chip wrote: > > Jim, > > I tried a few things

Re: [R] 2 KM curves on the same plot

2020-09-30 Thread array chip via R-help
ll against which I have been banging my head a break. Jim On Wed, Sep 30, 2020 at 1:57 PM array chip wrote: > > Jim, > > I tried a few things, I found that clip() works if I just do some regular > graphing tasks. But as long as I run lines(fit) with "fit" object is

Re: [R] linear mixed model using lmer

2022-03-04 Thread array chip via R-help
4:41:57 PM PST, array chip via R-help wrote: >Dear all, I have this simple dataset to measure the yeild of a crop collected >in 2 batches (attached). when I ran a simple inear mixed model using lmer to >estimate within-batch and between-batch variability, the between-batch >variabil

Re: [R] R 4.0.2 is released

2020-06-23 Thread array chip via R-help
Hi, I downloaded R4.0.2 and installed it succesffully without any error. However, when I opened up a R session (using x64) and tried to install packages, I got the following error message: > utils:::menuInstallPkgs() Warning: failed to download mirrors file (internet routines cannot be loaded);

Re: [R] R 4.0.2 is released

2020-06-23 Thread array chip via R-help
PDT, array chip via R-help wrote: Hi, I downloaded R4.0.2 and installed it succesffully without any error. However, when I opened up a R session (using x64) and tried to install packages, I got the following error message: > utils:::menuInstallPkgs() Warning: failed to download mirrors f

[R] How to generate this type of scatter plots in R

2020-07-22 Thread array chip via R-help
Hello everyone, I saw this scatterplots from a paper and thought it looked very nice: https://drive.google.com/file/d/1V7F1gq-J_GIFDOrJs00hwGyXUqCZ_xwa/view?usp=sharing It was similar to stripchart() with 'jitter' method, but it has a special pattern of aligning points which made it look nice

[R] how to generate this kind of graph

2020-07-22 Thread array chip via R-help
Hello everyone, I saw this scatterplots from a paper and thought it looked very nice: https://drive.google.com/file/d/1V7F1gq-J_GIFDOrJs00hwGyXUqCZ_xwa/view?usp=sharing It was similar to stripchart() with 'jitter' method, but it has a special pattern of aligning points which made it look nice

[R] R rounding problem?

2020-09-03 Thread array chip via R-help
Hello, I made a mistake today on simple counting in R, that almost got me into trouble. After trying multiple times, I finally figured out it's rounding issue in R. For exmaple, when I just simply type: > (6.9-6.3) > 0.6 [1] TRUE 6.9-6.3 should be 0.6 exactly, but R thinks that it's greater t

Re: [R] [External] R rounding problem?

2020-09-03 Thread array chip via R-help
Thanks Richard. Got it now... On Thursday, September 3, 2020, 10:12:36 PM PDT, Richard M. Heiberger wrote: FAQ 7.31 On Fri, Sep 4, 2020 at 12:47 AM array chip via R-help wrote: > > Hello, > > I made a mistake today on simple counting in R, that almost got me into > troubl

<    1   2   3