similar to: histogram scott

Displaying 20 results from an estimated 600 matches similar to: "histogram scott"

2010 Jul 29
2
ggplot2 histograms... a subtle error found
Hello all, I have a peculiar and particular bug that I stumbled across with ggplot2. I cannot seem to replicate it with anything other than my specific data set. Here is the problem: - when I try to plot a histogram, allowing for ggplot2 to decide the binwidths itself, I get the following error: - stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to
2016 Nov 28
2
Strange behavior when using progress bar (Fwd: Re: [R] The code itself disappears after starting to execute the for loop)
I first answered to the email below in r-help, but as I did not see any response, and it looks like a bug/unwanted behavior, I am also posting here. I have observed this in RGui, whereas it seems not to happen in RStudio. Similar to OP, I sometimes have a problem with functions using the progress bar. Frequently, the console is cleared after x iterations when the progress bar is called in a
2009 Oct 14
2
axis label
Hi all, I want the y-axis label to be ( in symbols) g(sigma given alpha) where given is the conditional sign. I've tried ylab=expression(g(sigma|alpha))) but it gave me g(|(sigma,alpha)) where the sigma and alpha are in greek but the conditional sign is misplaced (before the bracket) Any help would be appreciated. Maram. [[alternative HTML version deleted]]
2016 Nov 03
2
The code itself disappears after starting to execute the for loop
Hi all, I've a question concerning the R 3.3.1 version. I have a long code that I used to run on versions earlier to the 3.3.1 version, and when I copied the code to the R console, I can still see the code while the loop is executing , along with the output printed after each iteration of the loop. Now, on the 3.3.1 version, after I copy the code to the console, it disappears and I only see
2016 Nov 03
2
The code itself disappears after starting to execute the for loop
Hi all, I've a question concerning the R 3.3.1 version. I have a long code that I used to run on versions earlier to the 3.3.1 version, and when I copied the code to the R console, I can still see the code while the loop is executing , along with the output printed after each iteration of the loop. Now, on the 3.3.1 version, after I copy the code to the console, it disappears and I only see
2009 Aug 19
1
Hist & kernel density estimates
Dear All, Attached are the codes of a histogram & a kernel density estimate and the output they produced. In fact the variable q is a vector of 1000 simulated values; that is I generated 1000 samples from the pareto distribution, from each sample I calculated the value of q ( a certain fn in the sample observations), and thus I was left with 1000 values of q and I don't know the
2009 Nov 04
2
solving a linear equation
Hi all, I've a linear equation of the form: 0.95=2 ( [3+ln(x/3)]^-13  + 4 [3+2ln(x/3)]^-13  + [3+4ln(x/3)]^-13 ) and I want to solve it for x, can I do this using R? Thanks in advance. Maram. [[alternative HTML version deleted]]
2000 Jul 28
2
Loop removal?
Dear all, I've got a quite large dataframe (stor) with rows subject and rt (reaction time). I would like to split the reaction times per subject into 6 bins of equal size. Right now, I'm using the following code: bindata <- function(rt) { bindata <- rep(-1,length(rt)) binwidth <- length(rt)/6 bindata[order(rt)[(0*binwidth)+1:(1*binwidth)]] <- 1
2009 Jul 12
0
(no subject)
I have no idea to be honest. I have never used the package, I simply did a search for it. Hopefully a more experienced user can help --- On Sun, 7/12/09, maram salem <marammagdysalem at yahoo.com> wrote: > From: maram salem <marammagdysalem at yahoo.com> > Subject: Re: [R] (no subject) > To: "John Kane" <jrkrideau at yahoo.ca> > Received: Sunday, July 12,
2009 Sep 06
1
using histogram to find cdf
Dear all, How can I use the histogram density estimate (hist) to find the value of the cdf at a certain point? Thanks Maram [[alternative HTML version deleted]]
2009 Mar 02
3
ways to put multiple graphs on single page (using ggplot2)
Hi, Here are three plots: library(ggplot2) data(diamonds) randind <- sample(nrow(diamonds),1000,replace=FALSE) dsmall <- diamonds[randind,] qplot(carat, data=dsmall, geom="histogram",binwidth=1) qplot(carat, data=dsmall, geom="histogram",binwidth=.1) qplot(carat, data=dsmall, geom="histogram",binwidth=.01) What are ways to put these three plots on a single
2016 Dec 07
0
Strange behavior when using progress bar (Fwd: Re: [R] The code itself disappears after starting to execute the for loop)
I would like to ask once more if this is reproducible also for others? If yes, should I submit it as a bug-report? Best, Jon On 11/28/2016 11:26 AM, Jon Skoien wrote: > I first answered to the email below in r-help, but as I did not see > any response, and it looks like a bug/unwanted behavior, I am also > posting here. I have observed this in RGui, whereas it seems not to >
2009 Sep 07
2
finding the minimum value
Hi all, I'm using a certain  procedure to calculate the value of some variable(Bayes risk),B. So I got the values B1, B2, ........, B1000, each under certain input values and using a long procedure. Now, I want to put the values I got in a nummerical vector and find their minimum value. I think c( ) should work.For example if I have only 10 values I could have used
2015 Jun 16
4
Ayuda boxplot ggplot2
Hola a todos Me gustaría saber si me pueden ayudar con lo siguiente. Realicé un Boxplot usando ggplot2 para visualizar el comportamiento de dos variables. Visualmente no se notan las diferencias porque la gráfica de la derecha (parásitos en el abdomen) llega hasta 20 en el eje y. ¿Cómo puedo hacer para que las dos gráficas muestren la misma escala en el eje Y, es decir, que las dos lleguen a 60?
2009 Oct 13
3
cdf
Dear all, I have the cdf of the following power fuction distribution: F(y)=(y/350)^a               ,0<y<350, where " a " is some parameter with range a>0. I want to use it as the argument of the discretize function of the actuar package. So I think I need to define this function to R so that if I entered a=1, I get the following F(y)=(y/350) and if I entered a=4.5, I get the
2009 Feb 02
1
Broke ggplot...
It appears I broke ggplot in my script, but that maybe it is because the caffeine has worn off or maybe it is late in the day.   I thought I was beginning to understand ggplot, but I have encountered a silly little issue.   For some reason the following does not produce a histogram with fill due to the Person's characteristics: (Note that VADeaths_flat_df$Data works fine...)    
2009 Aug 24
2
calculating probability
Hi all, I've a trivial question. If (q) is a continous variable,actually a vector of 1000 values. how to calculate the probability that q is greater than a specific value, i.e. P(q>45)?? Thanks Maram [[alternative HTML version deleted]]
2009 Jun 30
0
(no subject)
--- On Tue, 6/30/09, maram salem <marammagdysalem at yahoo.com> wrote: > From: maram salem <marammagdysalem at yahoo.com> > Subject: [R] (no subject) > To: r-help at r-project.org > Received: Tuesday, June 30, 2009, 6:34 AM > Hi Group, > I've a vector of 1000 numeric values for which I want to > draw a histogram. I've read this vector into R with no >
2023 Jan 12
1
Reg: ggplot error
Hallo I am not familiar with any of packages you use (except of MASS and ggplot2) and the code is too complicated without any hint where the error could come from and what is the message you get. I wonder if anybody would like to go through your whole code. 1. data seems to be read correctly ICUData <- read.csv(file = "ICUData.csv", stringsAsFactors = TRUE) ICUData.neuro <-
2009 Dec 10
1
barplot and cumulative curve using ggplot2 layers
Hello My dataset is as follows: jobno recruits 1100 18 1200 1 1850 5 2100 190 2789 25 3000 1 . . . . the dataset has 130 rows I want to plot barplot from left side and cumulative curve from right side in one graph itself using layers in ggplot2. I sorted the recruits 1st in decreasing order