similar to: summary.data.frame with compound elements problem (PR#1891)

Displaying 20 results from an estimated 8000 matches similar to: "summary.data.frame with compound elements problem (PR#1891)"

2008 Mar 17
1
summary of summaries
Hi, I have a few hundreds files with numerical information of different length but with the same column structure. I use the following code to get summary statistics fplist <- list.files(pattern=".*analysis") for (fp in fplist){ x2 <- read.delim(fp) summary(x2) } Summary gives something like: summary (x2) V1 V2
2002 May 14
2
quantile() and boxplot.stats()
Hello, I faced something I can't understand. When I use boxplot.stats(1:10) and quantiles(1:10) the results are different for 25% and 75%: > boxplot.stats(1:10) $stats [1] 1.0 3.0 5.5 8.0 10.0 > quantile(1:10) 0% 25% 50% 75% 100% 1.00 3.25 5.50 7.75 10.00 Actually, I expected the value 3 for 25% and 8 for 75% as results of quantile(1:10). Can you please explain me
2018 Dec 17
1
Unnecessary apostrophe in English base::summary() NA count output?
Hello, this is quite a minor issue but as summary() is in all likelihood one of the most widely used functions in R I decided to email this list. When producing a count of missing values, summary() in English generates an unnecessary and grammatically incorrect apostrophe (NA's rather than NAs) in its table header. For example: > summary(c(1,2,NA,3,4,NA)) Min. 1st Qu. Median Mean
2006 Aug 11
1
x tick labels - sparse?
Hi, I'm stuck on creating a plot with x tick labels for every Nth tick mark - how is that done? I don't see a simple solution to this in help(plot) or help(par) and what I've tried is not working, eg, the following does not work, although it seems intuitive to me that it should work: x <- seq(-100,1000,25) y <- x * x % find all the x values that are multiples of 100 tmp <-
2011 Jul 09
3
Using str() in a function.
Using str() in a function. I am in the early phase of learning R, and I find I spend a lot of time trying to figure out what is actually in objects I have created or read in from a file. I'm trying to make a simple little function to display a couple of things about a object, let's say the summary() and the str(), sequentially, preferably without a bunch of surplus lines between them. I
2012 Nov 23
6
Summary statistics for matrix columns
Hi, is there a way I can calculate a summary statistics for a columns matrix let say we have this matrix x <- matrix(sample(1:8000),nrow=100) colnames(x)<- paste("Col",1:ncol(x),sep="") if I used summary summary(x) i get the output for each column but I need the output to be in matrix with rownames and all the columns beside it this how I want it
2009 Aug 30
2
error with summary(vector)??
Hello, I get > summary(E) level nodes ave_nodes time Min. : 1 Min. : 1.00 Min. : 10.71 Min. : 0.0000 1st Qu.: 237414 1st Qu.: 2.00 1st Qu.: 19.70 1st Qu.: 0.0100 Median : 749229 Median : 3.00 Median : 27.01 Median : 0.0100 Mean : 767902 Mean : 49.85 Mean : 98.89 Mean : 0.2296 3rd
2009 Sep 29
1
Summary
My data is called xc and has more than 15 variables. When I used summary(xc) it gave me the detail description of each variable. Summary(xc) Y1 x1 x2 x3 .. Min. :0.0000 Min. : 1.000 Min. : 1.000 Min. : 1.000 1st Qu. :0.0000 1st Qu.: 1.000 1st Qu.: 1.000 1st Qu.: 2.000 Median :1.0000 Median : 1.000
1998 Mar 18
1
Strange Results of summary()
--l4Siqd0eqV Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I run the following job. Please, compare the results of summary and table concerning berufl. From similar SPSS/PSPP runs, the result of table is correct. Did I misunderstand anything or is there a bug? What does the difference come from? What does '(other)' mean? What about the strange
2001 Sep 13
1
significant figures in summary()
Howdy, Should summary() print answers with different numbers of significant figures, as in the following? > dim(iv) [1] 3000 2 > summary(iv) X1 X2 Min. :-4.15261 Min. :-3.271520 1st Qu.:-0.66188 1st Qu.:-0.671205 Median : 0.01233 Median :-0.008175 Mean : 0.01121 Mean : 0.016815 3rd Qu.: 0.67778 3rd Qu.:
2006 Jul 03
2
could i change the ouput style on summary?
Dear friends, summary() doesn't give a good ouput style,e.g.: grass soiltem airtem gheight humidity altitude diluo :38 Min. :15.90 Min. :17.70 Min. : 8.00 Min. : 0.2360 high: 43 huanghuacai:32 1st Qu.:19.32 1st Qu.:22.60 1st Qu.:40.00 1st Qu.: 0.3190 low :119 hucao :46 Median :20.20 Median :25.30 Median :60.00
2006 Dec 14
5
Nicely formatted tables
If I use latex(summary(X)) where X is a data frame with four variables I get something like Rainfall Education Popden Nonwhite Min. :10.00 Min. : 9.00 Min. :1441 Min. : 0.80 1st Qu.:32.75 1st Qu.:10.40 1st Qu.:3104 1st Qu.: 4.95 Median :38.00 Median :11.05 Median :3567 Median :10.40 Mean :37.37 Mean :10.97 Mean :3866
2009 Aug 10
1
summary(table)
Hi, Why when I do a summary on a table it cuts off the other variables? It says Other :58 or Other: 120. how can I get the summary for all the variables under ServLoad.Task and Server.Load and Avg. CPU and Max.CPU? Thanks, summary(probF) Reboot.Id ServLoad.Task Server.Load Avg.CPU Max.CPU Event.Log Min. : 2.00 120067_122395: 5
2006 Feb 17
1
Transforming results of the summary function
Hi all, I have a question about transforming the data from summary function. Let's say I have a data frame like this: > x = data.frame(a = c(rep("lev1", 5), rep("lev2", 5)), b = c(rnorm(5)+2, rnorm(5))) > x a b 1 lev1 1.5964765 2 lev1 2.2945609 3 lev1 3.5285787 4 lev1 1.4439838 5 lev1 2.2948826 6 lev2 1.7063506 7 lev2 -0.4042742 8 lev2
2007 May 24
1
Is it possible to print a data.frame without the row names?
Is it possible to print a data.frame without the row names? I checked ?data.frame, ?print, ?format and didn't see anything that helped. In the example below, I would just like to show the two columns of data and not the row.names 1:10. > a<-data.frame(1:10, 21:30) > a X1.10 X21.30 1 1 21 2 2 22 3 3 23 4 4 24 5 5 25 6 6 26 7
2012 Feb 17
1
basic help: graph multivariate analysis.
Hey guys, I'd really appreciate any help. I have a multivariate analysis done, the output of which is: > GraphData <-read.table("eigen.coa") > GraphData V1 V2 V3 V4 1 1 0.371970 0.8552 0.8552 2 2 0.061785 0.1420 0.9972 3 3 0.001211 0.0028 1.0000 4 4 0.000000 0.0000 1.0000 > summary(GraphData) V1 V2 V3
2006 Jun 12
2
weird behaviour of summary.default
Hi all. I may missing something here, but if I do summary.default(1:9999), I get: Min. 1st Qu. Median Mean 3rd Qu. Max. 1 2500 5000 5000 7500 9999 but if I do summary.default(1:10001) I get: Min. 1st Qu. Median Mean 3rd Qu. Max. 1 2501 5001 5001 7501 10000 i.e. Max is rounded to 10000. What's wrong? My system:
2003 Sep 08
1
Accuracy problems in summary()? (PR#4101)
Full_Name: Graeme Ambler Version: 1.7.1 OS: Red Hat Linux 9 Submission from: (NULL) (137.222.80.161) There seems to be a curious accuracy-related problem in summary(). Try the following: test<-matrix(rnorm(2000),nc=2) summary(test) summary(test[,1]) The first use of summary() is fine. The second will lie to you about the accuracy to which numbers are displayed. The results I got were:
2016 Feb 08
1
Apparent bug in summary.data.frame() with columns of Date class and NA's present
Hi all, Based upon an exchange with G?ran Brostr?m on R-Help today: https://stat.ethz.ch/pipermail/r-help/2016-February/435992.html there appears to be a bug in summary.data.frame() in the case where a data frame contains Date class columns that contain NA's and other columns, if present, do not. Example, modified from R-Help: x <- c(18000000, 18810924, 19091227, 19027233, 19310526,
2016 Aug 19
0
summary.default rounding on numeric seems inconsistent with other R behaviors
John, I had raised the matter ten years ago, and I was told that the topic was already very^3 old https://stat.ethz.ch/pipermail/r-devel/2006-September/042684.html there is some discussion on its origin and also a declaration of intents to change the default behaviour, which, unfortunately, remained a declaration. I agree that R could do better here, let's hope in less than ten years