similar to: hist.Date() and cut.Date(): approximations used when using breaks = 'months' or 'years'

Displaying 20 results from an estimated 11000 matches similar to: "hist.Date() and cut.Date(): approximations used when using breaks = 'months' or 'years'"

2008 Oct 13
1
cut.Date problem when starting on first day of week (PR#13159)
Apparently any (?) call of the form cut(date,"weeks") where the date *begins the week*, gives the error Error in 1:(1 + max(which(breaks < maxx))) : result would be too long a vector In addition: Warning message: In max(which(breaks < maxx)) : no non-missing arguments to max; returning -Inf To my surprise, this was first reported as a problem in 2006 (!) (version 2.3.1
2007 Apr 13
3
labels cut partially on hist
Dear List, I have the following function where I plot on one page a histogram and a boxplot. I use option labels = TRUE in hist to show labels. However the label on the highest bar in the histogram is not showing entirely. How can I correct this? Thanks for any suggestions? histtst <- function(n = 100,...){ set.seed(15) # makes rnorm reproducible par(mfrow = c(2,1)) x <-
2008 Oct 11
1
problem with cut.Date/date plotting in ggplot2
I've hit a problem in ggplot2 which I can trace back to cut.Date , which is either a bug or (??) ggplot2 trying to do something it shouldn't with cut.Date (although its use of cut.Date seems OK). Apparently any (?) call of the form cut(as.Date("2008-07-07"),"weeks") where the date *begins the week*, gives the error Error in 1:(1 + max(which(breaks < maxx))) :
2001 May 07
1
unexpected breaks in hist
Hello R-list, I've been using hist to plot histograms of some data, but I get variable numbers of bins. I understood from reading the help file that breaks will set the number of bins. Please correct me if I'm wrong. I'm plotting measures from subsets of a larger data set. Depending on the data subset the number of bins varies despite having set breaks to 5 in all cases. See
2006 Aug 16
0
Strange behavior with "hist" function filled with breaks and freq attribute
Hy all, I give example code : connexions_jours<-c(1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,6,6,7,7,7,7,7,7,7,7,8,8,8,12,15,19) pas_de_groupe<-1 hist(connexions_jours,col="red",xlab="RĂ©partition du nombre de connexions par jours (sans
2003 Jan 08
4
weird breaks in hist (PR#2431)
Full_Name: Reinhold Koch Version: 1.6.1 OS: redhat 8.0 Submission from: (NULL) (131.152.84.111) I came across rather weird behavior of the breaks in hist: hist(1:3) gives the expected result, besides an unnecessary gap between 2nd and 3rd column hist(1:4) always merges up the first two columns, also if I resort to hist.default(1:4,breaks=1:4). hist.default(1:4, include.lowest=F) gives an
2008 Jan 24
0
deprecate "freq" argument to hist
I request that the "freq" argument to hist be deprecated. Reason: One nice thing about SAS is is the consistency of certain inputs across many PROCs. In particular, they have "weight" and "freq" statements. We have added "weights" and "freq" to a number of functions in S-PLUS, listed below. I would like to see the same in R. In porting the
2012 Aug 09
1
help hist some 'x' not counted; maybe 'breaks' do not span range of 'x'
Hello Guys, I would like help in script R when I try to plot the histogram appears the error: Erro em hist.default some 'x' not counted; maybe 'breaks' do not span range of 'x' I using a file with more 1000 datas (vector) hist(dados[[1]], seq(0, 20, 0.5), prob=TRUE, xlab="chuva (mm/dia)",ylab="frequĂȘncia", main="", cex.lab=1.6,
2008 May 19
2
How hist() decides breaks?
Hi Folks, I'd like to know how hist() decides how many cells to use when it ignores my "suggestion" to use say 'hist(...,breaks=50)'. More specifically, I have the results of 10000 simulations, each returning an 8-vector, therefore 8 variables each with 10000 values. Some of these 8 have somewhat skew distributions. Say one of these 8 variables is X. I ask for H <-
2011 Dec 07
1
Rank samples by breaks in hist and assign result as factor
Hi R users, My goal is to rank my samples according to how they fall out in a histogram with 10 bins to produce a ranking for each sample according to where it falls on the histogram, with a "1" to represent one tail of the hist, a "10" to represent the other tail, and a "5" for the median/mean. I have a number of different data sets to do this with and in all cases
2001 Jun 26
5
breaks in hist()
I was using the hist() function to create a frequency table of some network traffic data. The range in values is rather large, from 0 till just under 10e12. Calling hist(x, breaks=c(0,1000,1e6,1e9,1e12),plot=F,freq=T) causes hist() to return : $breaks [1] -1.0000e+05 1.0100e+05 1.1000e+06 1.0001e+09 1.0000e+12 Is this recalculation of the breaks by hist() intended? Maarten van Gelder.
2005 Nov 02
1
Visualizing a Data Distribution -- Was: breaks in hist()
> > Leaf Sun wrote: > > The histogram is highly screwed to the right, say, the range > > of the vector is [0, 2], but 95% of the value is squeezed in > > the interval (0.01, 0.2). I guess the histogram is as you wrote. See http://web.maths.unsw.edu.au/~tduong/seminars/intro2kde/ for a short explanation. > -----Original Message----- > From: Berton Gunter
1997 Dec 02
2
R-beta: wish: hist() returning breaks and counts
Hi, would it be possible to change the hist() function in future R Versions to accept a "plot=F" parameter (like hist() in S it should return a list with "breaks" and "counts" in this case). This change should be very simple. Albrecht ------------------------------------------------------------------------------- Albrecht Gebhardt email :
1997 Dec 02
2
R-beta: wish: hist() returning breaks and counts
Hi, would it be possible to change the hist() function in future R Versions to accept a "plot=F" parameter (like hist() in S it should return a list with "breaks" and "counts" in this case). This change should be very simple. Albrecht ------------------------------------------------------------------------------- Albrecht Gebhardt email :
2005 Jun 02
1
Wishlist: more flexible handling of tick labels in axis.Date (PR#7913)
Full_Name: Gavin Simpson Version: 2.1.0-patched (1-Jun-2005) OS: Linux (Fedora Core 3) Submission from: (NULL) (128.40.32.76) axis.Date() insists on labelling tick marks. It could be made more flexible by allowing the user to specify if they want the ticks to be labelled, for example, to add un-labelled minor ticks for "months", added to a plot with "years" labelled. The user
2012 Feb 21
1
breaks display of hist
Hello, How can I display the xlim of the boundaries of all or specific breaks in a histogram? I generated the attached plot with hist and would like to know which values of x correspond to the frequency 329 and display these values on the x axis? Best, carol
2005 Nov 02
2
breaks in hist()
Dear listers, A quick question about breaks in hist(). The histogram is highly screwed to the right, say, the range of the vector is [0, 2], but 95% of the value is squeezed in the interval (0.01, 0.2). My question is : how to set the breaks then make the histogram look even? Thanks in advance, Leaf
2005 Jun 02
1
Wishlist: more flexible handling of tick labels in axis.Date (PR#7914)
I think allowing the user to change the labels is a good idea, but have some nitpicking about the details. - Could you grab a copy of the current axis.Date source from https://svn.r-project.org/R/trunk/src/library/graphics/R/datetime.R and edit that, rather than what you see in R? There are some comments in the source that shouldn't be lost. This will also mean that it's easier to
2005 Dec 11
1
(PR#8376 inconsistency between plot(hist(...)) and hist(...)
On Sun, 11 Dec 2005 clausen at econ.upenn.edu wrote: > Full_Name: Andrew Clausen > Version: 2.1.0 > OS: Debian GNU/Linux > Submission from: (NULL) (71.242.192.73) > > > Hi, > > When I type > > hist(x, freq=F) > > I get a density function, as I expect. However, if I type > > plot(hist(x, freq=F)) > > then I get the same output as if I had
2005 Oct 18
2
hist of dates
Hi all I wish to draw an histogram... with dates but the following append, i don't know where is the problem, help(hist.Date) works and i don't see any usefull information on what i'm doing wrong... > hist.Date(dt_cycles) Error: couldn't find function "hist.Date" > hist.date(dt_cycles) Error: couldn't find function "hist.date" > cycles [1] 7 1