similar to: about multi-optimal points

Displaying 20 results from an estimated 668 matches similar to: "about multi-optimal points"

2017 Aug 26
1
about multi-optimal points
HI lily, for the colouring of individual points you can set the colour aesthetic. The ID is numeric so ggplot applies a colour scale. If we cast ID to a factor we get the appropriate colouring. test_df <- data.frame(ID = 1:20, v1 = rnorm(20), v2 = rnorm(20), v3 = rnorm(20)) ggplot(data=test_df, aes(x=v1,y=v2, colour = as.factor(ID))) + geom_point()+ theme_bw()+ xlab('Variable 1')+
2017 Aug 26
1
about multi-optimal points
Hi Ulrik, Thanks for your suggestion, but it was not what I meant. I tried to use the rPref package but just got a very small sample and felt clueless. On Sat, Aug 26, 2017 at 12:37 AM, Ulrik Stervbo <ulrik.stervbo at gmail.com> wrote: > HI lily, > > for the colouring of individual points you can set the colour aesthetic. > The ID is numeric so ggplot applies a colour scale.
2000 Feb 14
2
par(fig) problem
hello R-users, I'd like to plot four graphics on the same page but with different sizes. I've tried to use : par(fig=c(0,0.5,0,0.6)) plot(fig1) par(fig=c(0.5,1,0,0.6)) plot(fig2) etc... but when a figure is plotted, it erase the previous. I've tried to pass 'new=T' to plot function but it's not possible. What can I do ? is it a bug ? I've already reported this a 2 or
2017 Jun 18
1
About error bars on barplots
Hi R users, I have a question about adding uncertainty bars to stacked bar plots. DF: year A B C Amin Amax Bmin Bmax Cmin Cmax 2009 40 45 15 30 61 23 56 14 17 2010 36 41 23 26 54 22 51 22 24 I use the code below: DF.refm = melt(subset(DF[,c(1:4)]),id.vars='year',variable_name='Legend') fig1 =
2017 Jun 18
1
[FORGED] About error bars on barplots
On 18/06/17 12:10, lily li wrote: > Hi R users, > > I have a question about adding uncertainty bars to stacked bar plots. > > DF: > year A B C Amin Amax Bmin Bmax Cmin Cmax > 2009 40 45 15 30 61 23 56 14 17 > 2010 36 41 23 26 54 22 51 22 24 > > I use the code below: >
2000 Feb 14
0
summary : par(fig)
many thanks to P. Dalgaard, J. Fox, J. Lemon, JE. Paradis and J. Polzehl for their quick replies. The original posting is at the end of this summary. I've not well explained myself but I don't wanted to use par(mfrow) or par(mfcol) because I wanted to plot very different graphics and this solution doesn't match my needs. E. Paradis and P. Dalgaard made me discover a new (for me!)
2013 Jan 28
5
Adding 95% contours around scatterplot points with ggplot2
Hi all, I have been looking for means of add a contour around some points in a scatterplot as a means of representing the center of density for of the data. I''m imagining something like a 95% confidence estimate drawn around the data. So far I have found some code for drawing polygons around the data. These look nice, but in some cases the polygons are strongly influenced by outlying
2005 Sep 16
1
setkeys and Sweave
Hi there: Using \setkeys{Gin}{width=1.0\textwidth} \setkeys{Gin}{height=10cm} \setkeys{Gin}{height=0.8\textwidth} all seem to work under R-2.1.1 under sparc, solaris2.9, but \setkeys{Gin}{scale=0.3} \setkeys{Gin}{angle=90} do not work. I have not been able to find relevant information, googling on setkeys proved confusing, at best.
2011 May 06
1
Sweave: no eps fig
Hi everyone, I''m using R, Latex and Sweave for some years now, but today it confuses me alot: Running Sweave produces only figures in .pdf format, no .eps figures. The header looks like this: <<echo=TRUE, fig=TRUE, label=Fig1>>= There was no error message. Does anybody have an idea? Any changes in the Sweave-package? Or a missing driver or something like that? I recently
2011 Jun 28
2
help required for GO Annotation problem
Hello, I basically want to use R-help, and post some problems which I am facing. The Ref is a well known Genome Biology paper "Bioconductor: open software development for computational biology and bioinformatics" by Robert C Gentleman et al., 2004. Generating Heatmaps till Fig2 is working so I think esetSel is not the problem.. However, for generating the Figure 3, for GO annotations the
2017 Nov 05
1
Help in R
Hello, Also tail(test_df$Movie, 10) Hope this helps, Rui Barradas Em 05-11-2017 19:18, Ulrik Stervbo escreveu: > R can have a bit of a learning curve... There are several ways to achieve > your goal - depending on what you want: > > test_df <- data.frame(Movie = letters, some.value = rnorm(26)) > > test_df$Movie[1:10] > > test_df$Movie[sample(c(1:26), 10)] > >
2017 Nov 05
1
Help in R
R can have a bit of a learning curve... There are several ways to achieve your goal - depending on what you want: test_df <- data.frame(Movie = letters, some.value = rnorm(26)) test_df$Movie[1:10] test_df$Movie[sample(c(1:26), 10)] test_df[sample(c(1:26), 10), ] Do read a tutorial or two on R - "Introduction to R" as suggested by David or something else - so you can explain the
2006 Jun 09
1
Saving dns2.plot as a jpg image
Hello, I am using R 2.2.1 with sn 0.4.0 and am trying to save a dns2.plot as a jpg file. Here is the latest version of the code I have tried: x <- seq(0,200,length=200) y <- seq(0, 35, length=200) jpeg(filename = "C:/fig1.jpg", width = 5, height = 4,pointsize = 12, quality = 100, bg = "white", res = NA)
2011 Aug 08
0
Odp: Fw: R function for Gage R&R
Hi Elaine I do not use it very often. I programmed it to mimic Minitab functions (partly) with some adons from czech statistics textbook written by M.Meloun (meloun militky statistics - first hit in google) Basically you can have your data in some data frame or they can be as separated vectors. The function itself expects input of 3 vectors, but you can easily to modify it for imput as
2017 Nov 05
1
Help in R
> On Nov 5, 2017, at 9:28 AM, Ahsan Zahir via R-help <r-help at r-project.org> wrote: > > > Hey, > > I am a beginner in R. > > How do I read last 10 values from column- Movie, from a dataset? Some questions are so simple that they strongly suggest no prior effort at self-leanrning. In such cases the usual recommendation given at Rhelp is that you read an
2008 Sep 10
1
ggplot2: edge outlines on points
The graphic design elements in ggplot2 are so well done for color graphics. Thank you! For BW publication graphs, there are a few options I would like to be able to tweak, but can''t seem to find the grob handles necessary OR the right plotting strategy. Here''s one problem I''ve been puzzling over: Q> How do you plot points with a grey fill and a black outline
2008 Oct 11
9
Sweave-LaTEX question
Hi: I am working on a publication and I have heard about LaTEX but I haven''t actually tried to learn about it until today. I''ve found a few examples but I can''t actually make them work properly. I have a couple of questions: Does LATEX have to be installed on your computer? How does the xtable package and Sweave work together? How can I make the code below create a table
2017 Aug 04
1
legend and values do not match in ggplot
I have following codes for ggplots. The legends are given in the plot do not match with the values specified in the codes given below. Your helps highly appreciated. Greg library(ggplot2) p <- ggplot(a,aes(x=NO_BMI_FI_beta ,y=FI_beta ,color= Super.Pathway))+ theme_bw() +theme(panel.border=element_blank()) + geom_point(size=3) p2<-p+scale_color_manual(name="Super.Pathway",
2011 Feb 19
2
barplot, different color for shading lines and bar
Dear all, might there be a modified barplot function out there which allows the user to specify a fill color for the bars and independent parameters for the overlaid shading lines ? Currently, when I specify density and col, the fill color for the bars is white. Thanks! Markus [[alternative HTML version deleted]]
2018 Jan 14
1
consolidate three function into one
FAQ 7.22 You must print a ggplot object, for example with print(m52.2cluster) For the FAQ, run the line system.file("../../doc/FAQ") in R on your computer. Open up the resulting filepath in your favorite editor and scroll down to 7.22 On Sun, Jan 14, 2018 at 4:21 PM, Ding, Yuan Chun <ycding at coh.org> wrote: > Hi Bert, > > I am sorry to bother you on