Displaying 20 results from an estimated 2000 matches similar to: "Insert values to histogram"
2011 Dec 31
1
Histogram omitting/collapsing groups
I have two large datasets (156K and 2.06M records). Each row has the
hour that an event happened, represented by an integer from 0 to 23.
R's histogram is combining some data.
Here's the command I ran to get the histogram:
> histinfo <- hist(crashes$hour, right=FALSE)
Here's histinfo:
> histinfo
$breaks
?[1] ?0 ?1 ?2 ?3 ?4 ?5 ?6 ?7 ?8 ?9 10 11 12 13 14 15 16 17 18 19 20 21
2009 Dec 27
3
help: creating a unified histogram
Good evening,
I would like to put the histograms of several matrices on the same graph,
together on a unified histogram (instead of having one bar per value on the
x-axis, have multiple bars: one representing each matrix, with different
colored bars for example to distinguish between the matrices). I couldn't
find a function doing that involving "hist", "plot" nor other
2012 Mar 13
1
multi-histogram plotting
I have a vector x:
table(x)
2 3 4 5 6 7 8 9 10 11 12 13 14
45547 11835 4692 2241 1386 820 593 425 298 239 176 158 115
15 16 17 18 19 20 21 22 23 24 25 26 27
94 88 76 67 47 46 40 20 30 22 20 33 14
28 29 30 31 32 33 34 35 36
2010 Apr 23
1
help in conditional histogram
Dear Dr. Sarkar,
When I try to run the codes, I found the following problem:
> h<- sample(1:14, 319, rep=T)
> c<- sample(1:14, 608, rep=T)
> n<- sample(1:14, 1140, rep=T)
> vt<-c(h, c, n)
> ta<-rep(c("h", "c", "n"), c(319, 608, 1140))
>
> to<-data.frame(vt,ta)
> library(lattice)
Attaching package: 'lattice'
2004 Aug 19
3
probability histogram question
Hello, all;
I get an unexpected result when trying to plot a probability histogram
with R1.9.1 on windows xp:
#with the following code:
> x <- runif(100,0,1)
> hist(x)
> hist(x, freq=F)
> h <- hist(x, freq=F)
> summary(h)
# Length Class Mode
#breaks 11 -none- numeric
#counts 10 -none- numeric
#intensities 10 -none- numeric
#density 10
2009 Jul 20
3
Histograms on a log scale
Dear All,
I would like to be able to plot histograms/densities on a semi-log or
log-log scale.
I found several suggestions online
http://tolstoy.newcastle.edu.au/R/help/05/09/12044.html
https://stat.ethz.ch/pipermail/r-help/2002-June/022295.html
http://www.harding.edu/fmccown/R/#histograms
Now, consider the code snippet taken from
http://www.harding.edu/fmccown/R/#histograms
# Get a random
2007 Mar 08
2
Using logarithmic y-axis (density) in a histogram
Hi,
I am searching for a possibility to display a logarithimic y-axis in a histogram. With plot that's easy (e.g.
plot(1:10, log="y")
but for histograms this does not work the same way: I tried
hist(rnorm(1000), freq=FALSE, seq(-4, 4, .5), ylim=c(0.001, 0.5), log="y")
Which gives the expected histogram but also warnings for my log="y" command
2011 Jul 14
2
Add a density line to a cumulative histogram - second try
Hi list,
this is my second try for first post on this list (I tried to post via email
and nothing appeared in my email-inbox, so now I try to use the
nabble-web-interface) - I hope that you will only have to read one post in
your inbox! Okay, my question ...
I was able to plot a histogram and add the density()-line to this plot.
I was able to plot a cumulative form of this histogram.
Yet, I was
2010 Sep 15
2
lapack in R 2.11.1 (Ubuntu 10.04.1)
Hi there,
I'm trying to install the package RcppArmadillo in my R 2.11.1 which I installed
and regularly update via Ubuntu's repositories.
When I try to install RcppArmadillo from CRAN I get:
> install.packages('RcppArmadillo', lib='~/myRlibs')
[...]
g++ -shared -o RcppArmadillo.so RcppArmadillo.o fastLm.o
-L/home/matias/myRlibs/Rcpp/lib -lRcpp
2010 Aug 30
3
log y 'axis' of histogram
All,
I have been trying to get calls to hist(...) to be plotted
with the y-axis having a log scale.
I have tried: par(ylog=TRUE)
I have also looked at the histogram package.
Suggestions welcome.
--
Derek M. Jones tel: +44 (0) 1252 520 667
Knowledge Software Ltd mailto:derek at knosof.co.uk
Source code analysis http://www.knosof.co.uk
2007 Aug 15
4
Possible to "import" histograms in R?
Hi,
I have a large amount of data that I would like to create a histogram of and
plot and do things with in R. It is pretty much impossible to read the data
into R, so I have written a program to bin the data and now have a list of
counts in each bin. Is it possible to somehow import this into R and use
hist(), so I can, for instance, plot the probability density? I have looked
at the help page
2013 Jun 11
2
calculo de poder estadistico en glm
Estimado Matias,
Reenvio a la lista. Es tarde aqui y hay que descansar. Quizas alguien en
otra parte del mundo pueda darte una mano. En unas horas te envio mi
opinion.
Saludos,
Jorge.-
2013/6/11 Matias Ledesma <>
> Hola Jorge,
>
> Muchas gracias por las referencias, ya consegui el libro asi que me voy
> aponer a leerlo aver si encuentro una solucion.
>
> La data
2013 Jun 12
3
calculo de poder estadistico en glm
Estimado Javier,
Gracias por tus comentarios.
Si, puede ser que me haya expresado en forma incorrecta. Mi idea fue tratar de ser lo mas conciso posible y limitarme al problema estadistico que tengo, por lo cual obvie mucha informacion.
La data proviene de un monitoreo que se hace en el Mar Baltico anulamente hace mas de 20 aƱos, debido a que la poblacion a decendido drasticamente en los
2019 Sep 26
5
[PATCH] vsock/virtio: add support for MSG_PEEK
This patch adds support for MSG_PEEK. In such a case, packets are not
removed from the rx_queue and credit updates are not sent.
Signed-off-by: Matias Ezequiel Vara Larsen <matiasevara at gmail.com>
---
net/vmw_vsock/virtio_transport_common.c | 50 +++++++++++++++++++++++++++++++--
1 file changed, 47 insertions(+), 3 deletions(-)
diff --git a/net/vmw_vsock/virtio_transport_common.c
2019 Sep 26
5
[PATCH] vsock/virtio: add support for MSG_PEEK
This patch adds support for MSG_PEEK. In such a case, packets are not
removed from the rx_queue and credit updates are not sent.
Signed-off-by: Matias Ezequiel Vara Larsen <matiasevara at gmail.com>
---
net/vmw_vsock/virtio_transport_common.c | 50 +++++++++++++++++++++++++++++++--
1 file changed, 47 insertions(+), 3 deletions(-)
diff --git a/net/vmw_vsock/virtio_transport_common.c
2011 Oct 24
3
Creating a histogram properly
Hello all,
I'm trying to make a histogram of the data contained in my dataframe.
The summary of the data gives me exactly what I want
summary (Data)
V1 V2
first001: 3 last001: 9
first002: 3 last002: 7
first003: 2 last003: 6
(Other) :52 (Other): 27
But how do I capture the names and values in vectors so I can plot them?
2004 Jul 26
5
IP ROUTE
Hello, my linux show me that:
server2 root # ip route add default scope global nexthop via 192.168.5.1 dev eth2 weight 1 nexthop via 192.168.160.1 dev eth0 weight 1
RTNETLINK answers: Invalid argument
What can I do????
Thanks
Matias
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date:
2009 Dec 18
4
Cannot see server in win Neighborhood (again)
Hello u all, sorry to bring this issue back again, but I?ve been
searching and trying all the advices suggested in previous posts and I
still can?t see the samba server in the win network neighborhood.
I can see the samba shares from win via net view \\servername
but if I issue a plain "net view" samba won?t show up. only the win
machines, the same i can see on the Neighborhood...
2006 Oct 27
1
how to draw histograms on multiple variables in a graph?
for example, I have two sets, x and y.
I want to draw their histograms using different colors in a graph.
I didn't find how to do this by reading ?hist
Thanks very much.
[[alternative HTML version deleted]]
2005 Jun 26
4
calling controller and caching from a sweeper class
[cross-posting to rails and typo lists]
Hi,
I''m tinkering with the code for typo, a rails-based blog engine.
Typo has an XmlController with actions "rss" and "atom" which generate feed.xml
files, and it uses a caches_page declaration to cache the files that get
generated by those actions. It also has a Sweeper (Observer) class that expires
those cached files when a