similar to: Overlay Boxplot with scatter plot

Displaying 20 results from an estimated 10000 matches similar to: "Overlay Boxplot with scatter plot"

2007 Aug 10
7
Help wit matrices
Hello all, I am working with a 1000x1000 matrix, and I would like to return a 1000x1000 matrix that tells me which value in the matrix is greater than a theshold value (1 or 0 indicator). i have tried mat2<-as.matrix(as.numeric(mat1>0.25)) but that returns a 1:100000 matrix. I have also tried for loops, but they are grossly inefficient. THanks for all your help in advance. Lanre
2006 Aug 09
3
Unique rows
hello all, I have a dataset where the subjects are duplicated. How do I subset such that I can get only I row/subject. aa<-c(1,1,2,2,3,3,4,4,5,5,6,6) bb<-c(56,56,33,33,53,53,20,20,63,63,9,9) cc<-data.frame(aa,bb) I would like to subset df(cc) such that I can get aa bb 1 56 2 33 3 53 4 20 5 63 6 9 I know this should be fairly easy but I can't figure how to do it in a dataframe and
2005 Aug 25
4
covariance matrix under null
Hello I am fitting a Cox PH model using the function coxph(). Does anyone know how to obtain the estimate of the covariance matrix under the null hypothesis. The function coxph.detail() does not seem to be useful for this purpose. Thanks, KD. [[alternative HTML version deleted]]
2006 May 17
1
Example Syntax for if - then- and - else Statements
Hello R users, I am a fairly new R user, however, one of the problems I am having is the use of applying if-, and-, then-, else- statements in R against datasets & dataframe. Rtips mentions it, but without simple examples I am not quite sure what my syntax should look like. I am particularly interested in syntax that can be used with the transform function. for example if foo[,1] ==
2007 Jul 10
1
overlay boxplot
hi, All: I need to overlay two boxplot, I played around with points() but found it does not seem to work with boxplot, it works fine with other. Is there a way to overlay two boxplot (using different color) in R? There was a thread talking about using ggplot package, however, I don't think there is a final solution... the answer give does not give overlay but a new plot. Thanks Hao
2009 Nov 05
1
Adding a symbol/value/overlay to a boxplot in R
Hello everybody, I am new to R and I am having the following problem. I have the following boxplot: boxplot(s$Estimate,u$Estimate,names=c("Security", "Usability")) title(main="Estimated development time",ylab="Estimate (weeks)") http://i35.tinypic.com/2rhw9rm.jpg but I want to add a label or symbol for a specific value to every boxplot. I uploaded a
2009 Mar 13
1
Overlay plot: boxplot and stripchart
Hi, I have a data.frame of this kind: x obs movie earned rating 1 P1 3.2 xx 2 P1 4.2 xx 3 P1 5.2 xx 4 P1 6.2 xx 5 P2 3.5 xx 6 P2 6.5 xx 7 P2 7.5 xx 8 P2 4.5 xx 9 P2 4.5 xx 10 P3 4.8 x1 11 P4 7.3 x2 12 P4 3.2 x2 13 P4 3.3 x2 I want to overlay the
2007 Feb 12
6
Boxplot: quartiles/outliers
For boxplot(), is it possible to pass in a parameter to change the default way that the 1st and 3rd quartiles are computed? (specifically, I'd like to use type 6 described in the quantile function). Also, what are the options for how outliers are computed, and how can one change them? Thank you [[alternative HTML version deleted]]
2004 Aug 24
2
Boxplot across levels of a factor
Hello, I have a data-frame in which one-column is a factor: > str(data); `data.frame': 194 obs. of 8 variables: $ Type : Factor w/ 3 levels "Nuclear-Rec..",..: 1 2 2 2 2 2 2 2 2 2 ... $ Locus : num 0.000571 0.004000 0.001429 0.004857 0.007429 ... And I'd like to make a boxplot of the data$Locus values, where each level of the factor gets its own
2006 Jun 27
1
Boxplot questions.
Dear all, I am having a data for 2 different treatments with different time points. So, I used the following code to plot the boxplot and also to do anova. T11 <- c(280, 336, 249, 277, 429) T12 <- c(400, 397, 285, 407, 313) T13 <- c(725, 373, 364, 706, 249) T21 <- c(589, 257, 466, 248, 913) T22 <- c(519, 424, 512, 298, 907) T23 <- c(529, 479, 634, 354, 1015) obs <- c(T11,
2005 Sep 28
1
boxplot and xlim confusion?
I have some code as shown below. Basically, I would like three boxplots to be set next to each other with no ylabels on the two "inner" plots, and I want the same x axis range on all three. However, it seems like boxplot does not respect the xlim setting. I've tried the various ways I thought would work (par, boxplot(...xlim=)) but none of them seem to work. I then tried plot.window,
2012 Feb 20
2
overlay of two sets of boxplots
Hello, I am new to R and currently have the following problem: I have successfully loaded my data in R which consists of two numeric columns (LI_F and female) and one character column (Strain). So far I can plot two different set of boxplots for each of the numeric columns plotted by the groups of the character column and the commands look like that: boxplot(LI_F~Strain, ylab="LI_F",
2005 Oct 04
6
boxplot statistics
I have read and reread the boxplot and the boxplot stats page, and I still cannot understand how and what boxplot shows. I realize that this might be due to me not knowing enough statistics, but anyway... First, how does boxplot determine the size of the box? And is the line inside the box the mean or the median (or something completely different?) And how does it determine how long out the
2000 Jan 11
1
a +1 shift overlaying lines/points on a boxplot (PR#398)
Full_Name: Adrian Custer Version: 0.90.0 OS: Linux on Thinkpad (pentium) and desktop (K6) Submission from: (NULL) (128.32.251.234) When I create a boxplot, and then try to overlay a lowess fit or just the points, the points do not appear in the highest level and the lowess curve does not reach the highest level. However, if I add one to each of the models, the problem is solved. I tried this
2005 Dec 01
8
Impaired boxplot functionality - mean instead of median
Hello to all users and wizards. I am regulary using 'boxplot' function or its analogue - 'bwplot' from the 'lattice' library. But they are, as far as I understand, totally flawed in functionality: they miss ability to select what they would draw 'in the middle' - median, mean. What the box means - standard error, 90% or something else. What the whiskers mean -
2003 Feb 26
3
multiple plot overlay - dataframe
I hope you could help me with this. I have a dataframe with 5 columns, the first column determining the X values, and the rest four determining four separate Y vectors. How can I plot them on the same graph, overlaying each other? Thanks. Elena Zheleva
2013 Apr 15
3
Overlay two stat_ecdf() plots
I want to plot two scdf-plots in the same graph. I have two input tables with one column each: > Targets <- read.table("/media/....", sep="", header=T) > NonTargets <- read.table("/media/...", sep="", header=T) > head(Targets) V1 1 3.160514 2 6.701948 3 4.093844 4 1.992014 5 1.604751 6 2.076802 > head(NonTargets) V1 1
2010 Jul 07
3
Boxplots over a Scatterplot
Hello- I'm new to R, coding and stats. (Oh no.) Anyway, I have about 12000 data points in a data.frame (dealing with dimensions and geological stage information for fossil protists) and have plotted them in a basic scatter plot. I also added a boxplot to overlay these points. Each worked fine independently, but when I attempt to superimpose them with add=true, I get a different scale for
2006 Mar 12
1
Misalignment of secondary axis on boxplot
Dear R-help, I am trying to overlay a secondary y-axis over a boxplot. The problem is that the point of the line does not correspond to the centrepoint of the boxplot, which makes presentation and interpretation sloppy. Could someone point out where I am going wrong please? #DATA
2008 Feb 27
1
ggplot2 boxplot confusion
Ultimately my aim is to get a plot of density faceted by 2 factors with a horizontal boxplot overlaid on each density plot in the grid to indicate summary stats. So I've been experimenting with creating boxplots and density plots. Here's some representative data. series = c('C2','C4','C8','C10','C15','C20') ids =