Displaying 20 results from an estimated 6000 matches similar to: "breaks in hist()"
2004 Jun 02
2
a fault in the "hist" - function (PR#6931)
Full_Name: Stephan Schlueter
Version: 1.9.0
OS:
Submission from: (NULL) (217.184.109.24)
During my studies, I found a fault in the hist()-function:
If you have a vector x with values around zero and also bigger than 10,000,000 ,
there will be a shift of -max(x)/10,000,000 in the hist-datas.
See my example:
x<-runif(10000)
hist(x,breaks=c(seq(-3,3,0.1)),prob=TRUE)
#everything ok, but
2001 Feb 05
4
Removing "row.names"
I need to completely remove row.names from a dataframe. Are there other
ways to remove them (and not anything else) besides:
mydataframe<-data.frame(mydataframe, row.names=NULL)
I realize that this doesn't really remove the row.names; it merely replaces
the current row.names vector with the numbers 1..nrow (in quotes).
=====================
Dr. Marc R. Feldesman
Professor and
2001 Feb 05
4
Removing "row.names"
I need to completely remove row.names from a dataframe. Are there other
ways to remove them (and not anything else) besides:
mydataframe<-data.frame(mydataframe, row.names=NULL)
I realize that this doesn't really remove the row.names; it merely replaces
the current row.names vector with the numbers 1..nrow (in quotes).
=====================
Dr. Marc R. Feldesman
Professor and
2001 Mar 03
2
Image files in R
Does anyone have experience importing image files into R? I would like to be able to import such files, use R to analyze and compare and perhaps export again a modified file which can be displayed by the usual image display programs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010303/ad72932b/attachment.html
2002 Dec 12
3
y axis on hist
Hi:
The y axis on the hist function seems to set its limits oddly.
sometimes, it covers the full range of the data and sometimes it stops
one major tick short. I have had this behavior with a variety of data
sets, and it can easily be reproduced by just running the following
several times:
hist(rnorm(100000))
I have tried explicitly setting ylim to the range of values produced by
rnorm
2003 Jan 08
1
Determining the break points by hist() leads to errors (PR#2432)
Hi,
if I dermine the break points using the hist() function and then try
to re-use these in a new histogram, R fails. Here is an example of the
problem:
##First, plot a histogram:
data(islands)
foo <- hist(islands,freq=T)
##Now, try plot it again, with the previously determined break points:
hist(islands,breaks=foo$breaks,freq=T)
##... this lead to the warning message:
Warning message:
2001 Jun 14
1
License for KernSmooth?
According to the CRAN contributed packages page, the license for "KernSmooth" is
*not* GPL. It is listed as "License: Unlimited distribution (from Dr Wand)."
Are there any restrictions on this of any kind? Is there some written license
document similar to the GPL license? The reason I'm asking is that the legal
beagles in the company I work for are extremely paranoid about
2001 May 13
1
test for bimodality
Dear R users,
I'm looking for a test of bimodality in order to make some decisions about how to procede with an analysis algorithm. I have not come across any such tests in my readings and discussions apart from the Rao which appears to be applicable to cyclic data.
The data I'm interested in characterizing as uni- or bimodal are frequency x amplitude spectra of consonant speech sounds,
2001 Sep 24
1
2D fft DC shift
Hi Everyone,
Does anyone know how to take the output of a 2D fft()
and shift the DC component to the center? Is there a
function that does that?
if you know, please send me an email.
thanks for any help!
brad
__________________________________________________
. http://im.yahoo.com
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2012 Oct 18
4
speeding read.table
R 2.15.1
OS X
Colleagues,
I am reading a 1 GB file into R using read.table. The file consists of 100 tables, each of which is headed by two lines of characters.
The first of these lines is:
TABLE NO. 1
The second is a list of column headers.
For example:
TABLE NO. 1
COL1 COL2 COL3 COL4 COL5 COL6 COL7 COL8 COL9 COL10
2001 Feb 23
1
statistical help
Hi All,
Briefly, I belong to a fisheries research group. At this time I'm working
on my PhD and I'm looking for some statistical help. My mathematical and
statistical skills are still scarce, I've gathered many different types of
data (landings, climate and upwelling indexes, rains, etc) and I wonder
about what kind of statistical procedure use with them. I'm a little
confused
2001 Oct 23
1
status of US mirror
When I try to go to
http://cran.us.r-project.org
I get sent to a location called "domains 4 sale" or something of that ilk,
indicating that some "URL scavenger" has flagged it as expired. Has something
happened, or is it just wishful thinking on some scavenger's part that the
URL is no longer pointing to the US CRAN mirror?
Try this link:
2001 Apr 30
1
PR #927 -- R crash on huge CSV file (PR#928)
I tried to run the same dataset with R-1.2.3 on Linux, compiled from the
source tarball. After 7 hours, it was still grinding away and had not
crashed. I had to kill it. "gtop" was showing it with a real size around 160
MB, same as the peak on the Windows 2000 environment. This is on the same
hardware as the Windows run; my machine is dual-booted Windows 2000 and Red
Hat Linux 7.1. If I
2001 Oct 01
3
save plot graph
Dear all,
I have a lot plot graphs and i would like to save them.
One solution is to use the grab function with xv.
But it is tedious....
So is there a R function that can save automatically
the result of a plot in a gif or ps or bmp file
Thanks
Olivier
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN phone: (33) 04 76 61 53 55
Projet IS2
2001 Feb 01
1
R works in KDE but not in Gnome
I have a Red Hat 7.0 system, plus glibc-2.2 and gcc-2.96.69. When I run the
R demo 'demo("graphics") with KDE it runs fine, but when I try it with Gnome
it croaks:
demo(graphics)
---- ~~~~~~~~
Type <Return> to start :
> opar <- par(ask = interactive() && (.Device %in% c("X11",
"GTK", "windows", "Macintosh")))
2001 Mar 14
2
scan
Hello, I have a problem. I have to read a HUGE file which has to be
line processed, so I would like to use scan like
p <- scan(pfile,what=c(0,0,0,"",0,""),nlines=1)
but it continues to read the first line, so I have to add a skip and
increment the skip after each read.
It takes forever to read a test file of 1 Mb, the real one is in 60's Mb
Is there a way to read line
2003 Dec 16
1
Memory issues in "aggregate" (PR#5829)
Full_Name: Ed Borasky
Version: 1.8.1
OS: Windows XP Professional
Submission from: (NULL) (208.252.96.195)
R 1.8.1 seems to be running into a memory allocation problem in the "aggregate"
function. I have a rather large dataset (14 columns by 223,000 rows -- almost 40
megabytes) and a script that performs some processing on it. The system is a 768
MB Pentium 4. Here's the console
2001 Apr 28
2
Modulus operator??
I'm trying to do a modulus operator in R-1.2.2 on Windows -- specific
version:
R : Copyright 2001, The R Development Core Team
Version 1.2.2 Patched (2001-03-22)
Here's what the R language manual says:
"R contains a number of operators. They are listed in the table below.
[snip]
% Modulus, binary"
Here's what happens on the R console:
> records <- 100000
>
2001 Mar 13
3
gc() shrinks with multiple iterations
Is it expected behavior for gc() to return shrinking values as it gets
called multiple times? Here's what I've got:
> gc()
used (Mb) gc trigger (Mb)
Ncells 221754 6.0 467875 12.5
Vcells 3760209 28.7 14880310 113.6
> gc()
used (Mb) gc trigger (Mb)
Ncells 221760 6.0 467875 12.5
Vcells 3016206 23.1 11904247 90.9
> gc()
used (Mb) gc
2003 Nov 12
2
Formatting axis label numbers on plots
Is there any way to control the format of the axis label numbers on a
plot? More specifically, I have some plots that get axes with label
numbers in exponential format, and I'd like to change that to
non-exponential. Thanks!!
--
M. Edward (Ed) Borasky, MS, MNLP, NST, FBG, PGS & PTA
znmeb at borasky-research.net
http://www.borasky-research.net