similar to: Boxplot by factors

Displaying 20 results from an estimated 10000 matches similar to: "Boxplot by factors"

2005 Jan 27
10
A "rude" question
Dear all, I am beginner using R. I have a question about it. When you use it, since it is written by so many authors, how do you know that the results are trustable?(I don't want to affend anyone, also I trust people). But I think this should be a question. Thanks, Ming
2005 Jan 27
10
A "rude" question
Dear all, I am beginner using R. I have a question about it. When you use it, since it is written by so many authors, how do you know that the results are trustable?(I don't want to affend anyone, also I trust people). But I think this should be a question. Thanks, Ming
2005 Jan 27
3
clustering
Hi, I just get a question (sorry if it is a dumb one) and I "phase" my question in the following R codes: group1<-rnorm(n=50, mean=0, sd=1) group2<-rnorm(n=20, mean=1, sd=1.5) group3<-c(group1,group2) Now, if I am given a dataset from group3, what method (discriminant analysis, clustering, maybe) is the best to cluster them by using R. The known info includes: 2 clusters,
2005 Jan 27
1
Cluster analysis using EM algorithm
Hi, I am looking for a package to do the clustering analysis using the expectation maximization algorithm. Thanks in advance. Ming
2006 Jan 06
1
Ordering boxplot factors
Hi all, what a great help list! I hope someone can help me with this puzzle... I'm trying to find a simple way to do: boxplot(obs~factor) so that the factors are ordered left-to-right along the x-axis by median, not alphabetically by factor name. Complicated ways abound, but I'm hoping for a magical one-liner that'll do the trick. Any suggestions would be treasured. Thanks,
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,
2011 Jan 21
1
ggplot boxplot
Hello, I am trying to generate a set of boxplots using ggplot with the following data with 4 columns (Day, Site, VO2, Cruise) AllCorbulaMR Day Site VO2 Cruise 1 1 1 148.43632670 1 2 1 1 61.73864969 1 3 1 1 92.64536096 1 4 1 1 73.35434957 1 5 1 1 69.85568810 1 6 1 1 98.71116866 1 7 1 1 67.57880107
2008 Apr 30
2
ordering a factor in boxplot output
I'm sure I'm missing something obvious in the documentation... I'm generating a boxplot boxplot(CleanValue~ApptCategory*ReportingCode,data=newfile) where ApptCategory is a factor with possible values ("New","Established") Problem is, the output orders those factors alphabetically, and I'd really rather see New come first. I'm apparently confused by the
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
2008 Aug 05
5
boxplot with average instead of median
I really like the ease of use with the boxplot command in R. I would rather have a boxplot that shows the average value and the standard deviation then the median value and the quartiles. Is there a way to do this? Chad Junkermeier, Graduate Student Dept. of Physics West Virginia University PO Box 6315 210 Hodges Hall Morgantown WV 26506-6315 phone: (304) 293-3442 ext. 1430 fax: (304)
2016 Apr 29
1
boxplot with formula involving two-factor levels
Hi, I noticed two seemingly equivalent call to boxplot will give different plots (in the way how the combined factor levels are arranged on the x-axis): x = factor(rep(c("a", "b", "c"), each=2)); y = rep(factor(c("one", "two")), each=3); r = 3; n = r * 6; x = rep(x, 3); y = rep(y, 3); z = rnorm(n); par(mfrow=c(2,1)); ## The following two
2007 Aug 30
1
boxplot will remember the factor levels
R-help, I'm trying to do a simple box-and-whisker plot to some data. The data are a subset of a large data frame but when running the "boxplot" function on the subset data all the factors are still present in the graph leaving a huge empty space until the actuals factors are shown. This produces a spurious box-and-whisker plot. If the subset data are exported to another R session
2000 Apr 07
2
boxplot question in other terms
First of all, I thanks you all for replying me . I've not asked my question in good terms, so I've made a little drawing of what I want to do in my boxplot : - ) | - - | | | | ---- ---- | | | | | | | 2 |
2005 Jun 28
2
boxplot by factor (Package base version 2.1.1) ( PR#7976)
The issue is not with boxplot, but with split. boxplot.formula() calls boxplot(split(split(mf[[response]], mf[-response]), ...), but look at what split() returns when there are empty levels in the factor: > f <- factor(gl(3, 6), levels=1:5) > y <- rnorm(f) > split(y, f) $"1" [1] 0.4832124 1.1924811 0.3657797 1.7400198 0.5577356 0.9889520 $"2" [1] -1.1296642
2008 Jul 01
2
"Invalid object" error in boxplot
Hi, I'm trying to make a boxplot with the data at the end of the message, and when I try to execute the command >boxplot(Diatoms) (or for any other field instead of "Diatoms") I get the following error message: Error in oldClass(stats) <- cl : adding class "factor" to an invalid object Any advice would be much appreciated. Thanks a lot, Miriam Date
2006 Mar 16
2
french secondary boxplot
bonjour, i'm a mathematic teacher and i have a question for R-developers : is it possible to have (in the future) a boxplot with whiskers from the first decile to the ninth decile, as usual in secondary french schools... by example : boxplot(serie,range=-1) for french boxplot ? cordialement, jean-pierre lyc?e jean zay orl?ans, france http://mathazay.free.fr/spip/
2007 May 06
1
error using boxplot.stats (but boxplot works¿?)
Hi The answer to this may be obvious, but it's got me floored. I'm unable to get boxplot.stats to work for me! My session looks something like this: > ia=read.table('/tmp/prueba.csv', header=TRUE, sep=",") > attach(ia) > boxplot.stats(X8weeks~Orden) Error in sort (na.last, decreasing, ...) : argument 1 is not a vector In addition: Warning
2017 Sep 28
3
Boxplot, formula interface, and labels.
I have data I'd like to plot using the formula interface to boxplot. I call boxplot like so: with(mydata, boxplot(count ~ geno * tissue)) I get a boxplot with x axis labels like "wt.kidney". I would like to change the '.' to a newline. Where is this separator configured? Thanks, -Ed
2005 Apr 20
2
Label / Tick under single Boxplot
Hi! I am trying to get the tick / label under a stacked boxplot with only a single data row. With >=2 rows it works, but with a single one the tick resp. my class name is not printed below the boxplot. Can anybody point me to what am I doing wrong? For example: boxplot(data.frame(c(3,4,5)),names=list("a"),beside=F) Here, I would like to have the "a" below the single
2006 Apr 28
2
How to get a grid behind a boxplot
I am using R 2.2.1 on a Windows 2000 PC. When I do a grid() after the boxplot it overprints the boxplot: > boxplot(count ~ spray, data = InsectSprays, col = "lightgray") > grid(nx=NA, ny=NULL) > if I try the panel.first > boxplot(count ~ spray, data = InsectSprays, col = "lightgray", + panel.first=grid(nx=NA, ny=NULL)) > I can see the grid flash