org] On Behalf Of Dennis Murphy
> > Sent: Thursday, March 31, 2011 1:36 AM
> > To: Samuel Dennis
> > Cc: R-help@r-project.org
> > Subject: Re: [R] Graph many points without hiding some
> >
> > Hi:
> >
> > I can think of a couple: (1) size reduction of the
ve this through automatically
iterating my data as above, using transparent symbols, or something else? Is
there some other way of solving this issue that I haven't thought of?
Thankyou,
Samuel Dennis
[[alternative HTML version deleted]]
__
R-hel
To superimpose anything onto a barplot you just need to know the x axis
locations of the bars, then everything behaves as expected. You can find
this by writing the barplot to an object, ie:
bp <- barplot(c(1:5),beside=TRUE)
bp is now a matrix containing the actual x axis locations of the bars (i
I am unfamiliar with the chart.StackedBar function, but since barplot works
as expected I thought I'd check that you do know you can obtain stacked bar
charts using barplot also? (beside = FALSE).
On 10 November 2010 09:41, patrick nguyen wrote:
> Hi
>
>
> I'm having problems displaying multiple
d upgrading R (which I have done), and just suggested it
was a problem with that particular installation of R and Windows.
What could I do to get this function working on my Windows XP machine?
Thankyou,
Samuel Dennis
sjdenn...@gmail.com
[[alternative HTML version deleted]]
___
lot(c(10,12,18))
lines(midpts,c(0,2,3), t="l")
This will make your barplot, save the centres of the bars to a
variable called "midpts", and then plot a line over those bars.
I hope this helps.
Samuel Dennis
2010/1/8 Mister Vanhalen :
> Hello,
>
> I would like
Typical, spotted a very stupid typo in my code after posting, and when
corrected I have solved my own problem. Sorry for bothering everyone.
Line below should have read:
optimise(f = nbinopt, interval = c(0,100), maximum=FALSE, tol=0.01)
Samuel Dennis wrote:
>
> optimise(f = nbin063, in
I would like to know how to determine the best value of a particular
parameter in a generic function.
My function is:
nbin <- function(k,Dt) {
R <- Dt / (k + Dt)
q <- (k + Dt) / k
Pt <- c(0:7)
for (r in c(0:7)) {
Pt[r+1] <- (factorial(k+r-1)/(factorial(r)*factorial(k-1)))*((R^r)/(q^k)) }
Pt }
Th
8 matches
Mail list logo