similar to: summary() vs mean()

Displaying 20 results from an estimated 1000 matches similar to: "summary() vs mean()"

1999 Jun 09
2
summary gives inaccurate data
Hi, using R64.1 the summary function for simple statistics of a vector gives inaccurate results for the maximum. Example: summary(c(123456,1,2,3)) gives : Min. 1st Qu. Median Mean 3rd Qu. Max. 1.00 1.75 2.50 30870.00 30870.00 123500.00 The Max value ist wrong in a mathematical sense. I've tried with S-Plus, it gives the same result, but this seems
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.:
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
2011 Jan 08
1
summary(list) is awesome, but I want more than summary
When I load a table from a data source and run summary() on it, the summary gives me basic summary statistics I'm looking for, and it also discriminates between quantitative and qualitative data and summarizes them accordingly. For example, if I do this: mydata <- read.table("data.txt") summary(mydata) I would get output like this: > summary(mydata) County
2012 Nov 07
1
Random crash of the machine ? due to Asterisk 11
I experience random crash of machine (full hang, requiring a hard reset) after trying to test run Asterisk 11. The machine is a centos 5.8 32 bits pc with 1G ram. Asterisk is compiled from the source and no other software has been installed Anyone experience similar situation? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Feb 13
7
PuppetDB & KahaDB db.data leak
Hi all, I''ve been looking at a potential problem, as documented here: http://projects.puppetlabs.com/issues/19241 To do with a leak within the KahaDB persistence layer of ActiveMQ. Specifically, there are reports of the db.data file growing unbounded: https://issues.apache.org/jira/browse/AMQ-3956 I''m hoping to find out information from other PuppetDB users to see if this is
2011 Aug 26
2
read.table segfaults
> fil2s <- read.table("../Data/fil2_s.txt", header = FALSE, sep = "\t") Program received signal SIGSEGV, Segmentation fault. 0x000000000041c2e1 in RunGenCollect (size_needed=8192000) at memory.c:1514 1514 PROCESS_NODES(); (gdb) > sessionInfo() R version 2.13.1 Patched (2011-08-25 r56798) Platform: x86_64-unknown-linux-gnu (64-bit) locale: [1]
2001 May 04
6
help, what's CarbonLib 1.20?
Greetings, I downloaded R for my mac from software, R binaries, rm123, base and then downloaded "rm123.sit.hqx" Now, when I open R and try to type anything in the blank, I get a message that I need CarbonLib 1.20 or newer to run R. Please tell me what this means and where to go to get it. By the way, when I type anything in and recieve the error message, R will then refuse to close
2006 Feb 13
2
R-help, specifying the places to decimal
Hello - R-experts, Is there any way with which we can specify the number after decimal point to take. Like I have a situation where the values are comming 0.160325923 but I only want 4 place to decimal say 0.1603. Is there any way for that. I am no expert in R- and this may sound simple to many.sorry Thanks for any help. With Regards Subhabrata
2013 Mar 28
2
Asterisk 11 -CDR values changed in hangup handler not saved ?
Hello, I'm using Hanhup Handlers in a testing asterisk 11 system. Within one such handler, I'm setting CDR values. To me, it seems those changed CDR values are not saved in CDR back-end. Can you confirm ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Sep 04
1
Binary Tree Testing in "ape" package (a bug?)
Dear all, I was testing the wonderful package APE. However upon testing a particular Newick's format tree - which I think to be a non-binary tree - it yields different result as expected. > library(ape) > tree.hiv <- read.tree(text="(rat,mouse,(human,chimp));") > is.binary.tree(tree.hiv) [1] TRUE Was that a bug in APE package? - Gundala Viswanath Jakarta - Indonesia
2012 May 16
3
Wrong Q3 + Mean.
Hi. > a [1] 13 13 14 14 15 15 16 20 21 26 > summary(a) Min. 1st Qu. Median Mean 3rd Qu. Max. 13.0 14.0 15.0 16.7 19.0 26.0 > mean(a) [1] 16.7 > quantile(a) 0% 25% 50% 75% 100% 13 14 15 19 26 Clearly, this is not right. My Instructor and I have no idea why the program does that. I removed the program from the computer , installed it
2008 Feb 19
2
addition of matrix
Thank you ahead of time for help with this. I have two matrices X [,1] [,2] [,3] [,4] [,5] [,6] [1,] 660 693.00 726.0 759.00 792.0 825.00 [2,] 548 575.40 602.8 630.20 657.6 685.00 [3,] 676 709.80 743.6 777.40 811.2 845.00 [4,] 763 801.15 839.3 877.45 915.6 953.75 [5,] 768 806.40 844.8 883.20 921.6 960.00 [6,] 692 726.60 761.2 795.80 830.4 865.00 [7,] 657 689.85 722.7
2004 Mar 03
5
get.hist.quote - is great, but am I missing something?
I find it's just great to be able to say: library(tseries) x <- get.hist.quote(instrument="ongc.ns") and it gets a full time-series of the stock price of the symbol ongc.ns from Yahoo quote. However, once my hopes have been raised by such beauty :-) I get disappointed when I do > plot(x) and the annotation is horrible! The x axis is not labelled as dates. The default
2010 Oct 03
2
Read file
Dear R-users, I would like to know how could I read a file with different lines lengths. I need read this file and create an output to feed my database. So after reading I'll need create an output like this "INSERT INTO TEMP (DATA,STATION,VAR1,VAR2) VALUES (20100910,837460, 39,390)" I mean, each line should be read. But I don`t how to do this when these lines have different
2013 Mar 29
1
Asterisk 11 - Change CDR in hangup exten [Was: CDR values changed in hangup handler not saved]
2013/3/29 Julian Lyndon-Smith <asterisk at dotr.com> > check out the endbeforehexten option in cdr.conf > > this needs to set to "yes" > > Julian > Unfortunately, this doesn't help. Let's drop the hangup handler at the moment, and focus on the "saving to file" part. Then my issue is I can't update CDR value is hangup exten. Here is a
2007 Aug 22
3
tackle memory insufficiency for large dataset using save() & load()??
Hello List, i have been agonizing over this for days, any reply would be greatly appreciated! Situation:___________________________________ My original dataset is a .csv dataset (w/ 2M records) with 4 variables: job_id (Primary key, won't be used for analysis, just used for join tables), sector_id (categorical variable, for 19 industry sectors), sqft (con't variable for square
2011 Oct 11
2
Creating the mean using algebra matrix
Dear all, I wanted to create the mean using a algebra matrix. so I tried this one: > meanAnimals <- new3%*%factorial (Calculates the matrix multiplication of the new3 * factorial). But I get the following error message: Error in new3 %*% factorial : non-conformable arguments These are my matrices: > new3 [,1] [,2] [1,] 1.350 8.1 [2,] 465.000 423.0
2011 Aug 02
1
My R code is not efficient
Dear R users, I have two n*1 integer vectors, y1 and y2, where n is very very large. I'd like to compute elbp = 4^(y1) * 5^(y2) * sum_{i=0}^{max(y1, y2)} [{ (y1-i)! * (i)! * (y2-i)! }^(-1)]; that is, I need to compute "elbp" for each (y1, y2) pair. So I made R code like below, but I don't think it's efficient Would you plz tell me how to avoid this "for"
2008 Mar 08
5
Non-visible functions are asterisked
Dear R-Helpers, I suspect I'm about to ask a FAQ, but I haven't been able to find an answer in the FAQ, AItR or an R Site Search. When I look at the methods of summary (below) it says, "Non-visible functions are asterisked". I looked at the help file for summary.princomp, which did not comment on it being non-visible. I ran its help file example, which printed visible output. I