Displaying 10 results from an estimated 10 matches for "fhist".
Did you mean:
hist
2006 Feb 18
1
reshaping result of by()
...------cut here---------------start-------------->---
toydf <- expand.grid(sample(0:50, 50, TRUE), c("A", "B"),
c("pop1", "pop2", "pop3", "pop4", "pop5"))
"getFreq" <- function(x, bks)
{
fhist <- hist(x, breaks = bks, plot = FALSE,
include.lowest = TRUE)
matrix(c(fhist$breaks[-1], fhist$counts),
nrow = length(fhist$breaks[-1]), ncol = 2)
}
freqs <- by(toydf[[1]], list(toydf[[2]], toydf[[3]]), getFreq, bks = 0:50)
---<---------------cut here--------...
2017 Jun 14
2
Plot MArginal distribution in the correct place
...you send me some orientation?
Many thanks in advance.
Only if posible one book o similar example to understand why it is not what
I try.
El 8 jun. 2017 7:50 PM, "Pedro p?ramo" <percentil101 at gmail.com> escribi?:
> Many thanks Jim.
>
> What I,m trying to show with the fhist plot is the empirical distribution
> of the values of the left plot simulation.
>
> You say:
> However, I don't think that this plot illustrates quite what you think it
> does.
>
> Can you give me a clue to try to illustrate better if it is not showing
> what I believe i...
2017 Jun 17
1
Plot MArginal distribution in the correct place
...lot and reflect the counts of the number of time the
values repeat, something like the empirical distribution?
2017-06-14 12:30 GMT+02:00 Jim Lemon <drjimlemon at gmail.com>:
> Hi Pedro,
> If you keep that same margins for the second plot:
>
> par(mar=c(10,0,6,6))
> barplot(fhist$counts,axes=FALSE, space=0,horiz=TRUE,col="lightgray")
>
> it looks reasonably well aligned to me. Because you are plotting the
> counts of the values in Simulation, the ordinate (vertical axis) of
> the bar plot is in quite different units from that of the plot on the
> le...
2017 Jun 08
0
Plot MArginal distribution in the correct place
Many thanks Jim.
What I,m trying to show with the fhist plot is the empirical distribution
of the values of the left plot simulation.
You say:
However, I don't think that this plot illustrates quite what you think it
does.
Can you give me a clue to try to illustrate better if it is not showing
what I believe it shows a better way to show it?
Many...
2017 Jun 07
2
Plot MArginal distribution in the correct place
Hi Pedro,
As a one-off, you just shove the coordinates around a bit:
par(mar=c(11,0,6,6))
barplot(fhist$counts,axes=FALSE, space=0,horiz=TRUE,col="lightgray",
ylim=c(0,24))
However, I don't think that this plot illustrates quite what you think it does.
Jim
On Wed, Jun 7, 2017 at 4:01 PM, Pedro p?ramo <percentil101 at gmail.com> wrote:
> Please, I'm trying to put the ri...
2017 Jun 14
0
Plot MArginal distribution in the correct place
Hi Pedro,
If you keep that same margins for the second plot:
par(mar=c(10,0,6,6))
barplot(fhist$counts,axes=FALSE, space=0,horiz=TRUE,col="lightgray")
it looks reasonably well aligned to me. Because you are plotting the
counts of the values in Simulation, the ordinate (vertical axis) of
the bar plot is in quite different units from that of the plot on the
left side.
Jim
On Wed, J...
2017 Jun 06
2
Plot MArginal distribution in the correct place
...-rbind(Po,Z)
Simulation<-rbind(real,Z)
par(mar=c(10,6,6,6))
matplot(Simulation,type="l",ylim=c(0,40000))
abline(h = 8000, lwd = 2, col = "black")
abline(h = 12000, lwd = 2, col = "black")
title("Dinamic Montecarlo Simulation 2 years ahead",font=4)
fhist<-hist(Simulation,plot=FALSE)
par(mar=c(6,0,6,6))
barplot(fhist$counts,axes=FALSE, space=0,horiz=TRUE,col="lightgray")
grid()
title("Marginal Distribution",font=4)
rect(0, 0, 0, 0) # transparent
[[alternative HTML version deleted]]
2017 Jun 07
0
Plot MArginal distribution in the correct place
...>
> par(mar=c(10,6,6,6))
> matplot(Simulation,type="l",ylim=c(0,40000))
>
> abline(h = 8000, lwd = 2, col = "black")
>
> abline(h = 12000, lwd = 2, col = "black")
> title("Dinamic Montecarlo Simulation 2 years ahead",font=4)
>
> fhist<-hist(Simulation,plot=FALSE)
> par(mar=c(6,0,6,6))
> barplot(fhist$counts,axes=FALSE, space=0,horiz=TRUE,col="lightgray")
> grid()
> title("Marginal Distribution",font=4)
>
>
> rect(0, 0, 0, 0) # transparent
>
>
[[alternative HTML version deleted]...
2015 Jun 25
0
Processed: raising severity for GCC 5 issues, please fix these now (see https://wiki.debian.org/GCC5)
...ent-bifurcation] excellent-bifurcation: ftbfs with GCC-5
Severity set to 'serious' from 'important'
> severity 777848 serious
Bug #777848 [src:feel++] feel++: ftbfs with GCC-5
Severity set to 'serious' from 'important'
> severity 777849 serious
Bug #777849 [src:fhist] fhist: ftbfs with GCC-5
Severity set to 'serious' from 'important'
> severity 777850 serious
Bug #777850 [src:flamerobin] flamerobin: ftbfs with GCC-5
Severity set to 'serious' from 'important'
> severity 777853 serious
Bug #777853 [src:flow-tools] flow-tools:...
2015 Jun 16
0
Processed: raise severity of GCC 5 triggered build failures to important
...nt
Bug #777847 [src:eztrace] eztrace: ftbfs with GCC-5
Severity set to 'important' from 'normal'
> severity 777848 important
Bug #777848 [src:feel++] feel++: ftbfs with GCC-5
Severity set to 'important' from 'normal'
> severity 777849 important
Bug #777849 [src:fhist] fhist: ftbfs with GCC-5
Severity set to 'important' from 'normal'
> severity 777850 important
Bug #777850 [src:flamerobin] flamerobin: ftbfs with GCC-5
Severity set to 'important' from 'normal'
> severity 777851 important
Bug #777851 [src:flexpart] flexpart: f...