Displaying 20 results from an estimated 500 matches similar to: "(no subject)"
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
>
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 <-
2005 May 24
1
Contingency tables from data.frames
Dear list,
I'm trying to do a set of generic functions do make contingency tables from
data.frames. It is just running "nice" (I'm learning R), but I think it can be
better.
I would like to filter the data.frame, i.e, eliminate all not numeric variables.
And I don't know how to make it: please, help me.
Below one of the my functions ('er' is a mention to EasieR,
2005 Jul 07
1
Tables: Invitation to make a collective package
Hi All,
I would like to make an invitation to make a collective package with all
functions related to TABLES.
I know that there are many packages with these functions, the original idea is
collect all this functions and to make a single package, because is arduous for
the user know all this functions broadcast in many packages.
So, I think that the original packages can continue with its
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
2007 Nov 28
1
Histograms and Sturges rule
Dear All,
According to the Sturges rule, the number of classes of a histogram is
the closest integer to
1 + logb(n,base=2)
where n is the number of observations. The function hist(), by
default, uses the Sturges rule. However, the code
x <- 1:200
hist(x)
produces a histogram with 10 classes and not 9 classes as determined
by the Sturges rule. What am I missing?
Thanks in advance,
Paul
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 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
2010 Jan 17
4
datasets para regresión logística binomial y multinomial
Buenas.
Sé que en R hay multitud de datasets y me haría falta alguno que
trataran de variables relacionadas con salud, sobre todo para aprender
más acerca de cómo realizar una regresión logística binomial o multinomial.
Gracias..
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]]
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 May 12
1
how the break is calculated by R?
Hi all:
As to hist,the help file says:" R's default with equi-spaced breaks (also the default) is to plot the counts in the cells defined by breaks."
I wanna know how the break is calculated by R?
In other words: break = (max - min)/(number of group) but how the "number of group" is calculated by R? Thanks!
2011 Mar 03
3
Probabilities greather than 1 in HIST
Dear all,
I am a newbie in R and could not find help on this problem. I am trying to
plot an histogram with probabilities in the y axis. This is the code I am
using:
#TLC uniform
n=30
mi=1; mx=6
nrep=1000
xbar=rep(0,nrep)
for (i in 1:nrep) {xbar[i]=mean(runif(n,min=mi,max=mx))}
hist(xbar,prob=TRUE,breaks="Sturges",xlim=c(1,6),main=paste("n =",n),
xlab="Média",
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
2003 Apr 02
1
normalized frequency histogram
Hi folks
I'm trying to plot a normalized frequency histogram of some data.
After checking the docs, it seems there is no built in feature for this.
from the definition for normalized frequency, I need to divide the
relative frequency by the size of the intervals being used.
So I could divide the series by this interval length, and then plot the
relative frequency.
The problem is
2005 Oct 20
1
having scaling problems with a histogram
Hello,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
I would like to create a histogram from a data collumn consisting of 4 classes (0; 0.05;0.5;25;75). Due to the difference in scale the classes 0;0.05 and 0.5 are displayed within one combined bin by default with the code:Hist(x, scale="percent",
2010 Jun 18
4
Root mean square on binned GAM results
Hi,
Standard correlations (Pearson's, Spearman's, Kendall's Tau) do not
accurately reflect how closely the model (GAM) fits the data. I was told
that the accuracy of the correlation can be improved using a root mean
square deviation (RMSD) calculation on binned data.
For example, let 'o' be the real, observed data and 'm' be the model data. I
believe I can calculate
2012 Oct 05
1
avoid <<- in specific case
Hi all,
I improved a function drawing horizontal histograms (code below) which uses barplot and works fine.
It does,however, need to assign a function to the global environment to later find the actual location on the vertical axis, and not the number of bars used by barplot.
Hopefully, running the examples below will illustrate that.
As said, it works perfectly fine and does exactly what I