Displaying 20 results from an estimated 2000 matches similar to: "Error producing density curve"
2008 Aug 20
2
Positioning of axis titles
Hi,
I have created a plot using filled.contour() and have the problem that
one of the axis titles and an axis label are overlapping. I have tried
changing par()$mgp (with, e.g. par(mgp=c(4,1,0)) ), but this just
makes the title go off the screen. I can't work out how to make the
plot take up less space in the window, so I can hopefully change mgp
and sort the problem. Is changing mgp the only
2008 Mar 27
1
Standard error values returned by lm()
Hi,
This may be a stupid question, but how are the "std. error" values returned
by lm() calculated? For example
> summary(lm)
Call:
lm(formula = log10(moments[2, 1:10]) ~ log10(L_vals[1:10]))
Residuals:
Min 1Q Median 3Q Max
-0.0052534 -0.0019473 0.0006785 0.0011740 0.0059541
Coefficients:
Estimate Std. Error t value
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
2008 Sep 07
3
ON MAC, how to copy a plot on to Word document?
Yes, I don't know how to copy the plot on Mac and paste on to Word because
you can't right click on the graph and say "copy as metafile."
I'm so surprised I can't find any information about this anywhere on the
Internet...
--
View this message in context: http://www.nabble.com/ON-MAC%2C-how-to-copy-a-plot-on-to-Word-document--tp19354558p19354558.html
Sent from the R
2008 Aug 30
1
need some help on r
Hi
>Tdf
bin TCC_TCA TCA_CR TCC_CR Time sn.rnc
117 117 258 27 314 (08/28/08 00:09:42) 50.21
118 118 251 30 291 (08/28/08 00:09:47) 50.21
119 119 247 28 289 (08/28/08 00:09:52) 50.21
120 120 251 29 282 (08/28/08 00:09:57) 50.21
121 121 276 39 320 (08/28/08 00:10:02) 50.21
122
2008 Sep 06
3
I don't know how to run a r-code written in emacs
Hi,
I just installed R, I'm work in UBUNTU and I don't have idea about how to
run a r-code written in emacs
into the shell.
Well I am in a shell, and obviously I can run simple commands over there,
Must I compile the program? if yes, How must I do that?
what is the extension?
I really appreciate your help
--
View this message in context:
2005 Dec 26
3
Override Validation?
Hi all,
is there a way to override the validation methods so as to avoid the
div.fieldWithErrors divs from being created on the redisplayed form?
Many thanks in advance,
Nicky
2005 Dec 21
1
RE: Prototype: correct useage of onCompletewithAjax.PeriodicalUpdater
The only call that PeriodicalUpdater will make periodically to you is
the insertion call.
I think of onComplete as being ''I''ve done everything I was going to do'',
which for Updater is right after it''s done a single update, but for
PeriodicalUpdater, it''s after it''s finished all of its updates, so
you''ll only get it once for any call
2005 Mar 06
12
Where to place custom classes?
Hi all,
I am writing a simple shopping cart which will consist of a single
class. There will be no DB table for carts so I do not want to make my
Cart a model. But where do I place my Cart class so that I can access
it in my controllers?
I want to be able do do things like this (for instance in a shop
controller):
def add_to_cart
@session[''cart''].add(article_id, amount)
2006 Jan 24
17
Updated lighttpd to 1.4.9 - error running dispatch.fcgi
Hi all,
I just updated lighttpd from 1.4.8 to 1.4.9 and it now refuses to
start with the following error:
2006-01-24 23:12:24: (mod_fastcgi.c.989) execve failed for: public/
dispatch.fcgi No such file or directory
2006-01-24 23:12:24: (mod_fastcgi.c.1015) the fastcgi-backend public/
dispatch.fcgi failed to start:
2006-01-24 23:12:24: (mod_fastcgi.c.1019) child exited with status 2
2005 Dec 21
1
RE: Prototype: correct useage of onComplete withAjax.PeriodicalUpdater
>From a quick look at the source code, it looks like onComplete is only
called when the whole thing is done - in the case of Updater, right
after the update, in the case of PeriodicalUpdater, right after it has
been stopped.
It looks like you need to pass your callback method as an ''insertion''
method in the options. This takes two parameters, the first will
probably be the
2006 Feb 01
4
Custom view helpers
Hi all,
I would like to write some custom helpers like the ones available as
form helpers text_field, text_area and the like. My first try was this:
custom_helper(obj, meth)
''some_string'' + obj.send(meth) + ''some_other_string''
end
Object and method are being passed as symbols like this:
custom_helper(:person, :name)
and Ruby rightfully complains that
2005 Mar 06
4
has_many and order
Hi all,
if I have a has_many and belongs_to relations like this
category has many articles
article belongs to category
is there a way I can specify the order of articles when pulling them up
with
@some_category.articles
?
Many thanks in advance!
-- Nicky
2007 Sep 14
1
Calculate the angles for a point dataset?
Dear Rusers,
I'd like to take the cases of cancer of the larynx in chorley(spatstat) to
explain my question.
I want to join the points of cancer of the larynx with the disused
industrial incinerator to generate lines, and then calculate the angles of
these line comparing the horizontal line?
How can i get it? It seems to be difficult to get the angles
Thanks a lot.
--
With Kind
2008 Oct 16
1
One-sample test for p
Hi, i am doing a statistics course and am having trouble with an exercise
where i need to determine whether my success rate at something is higher
than 80%.
I was successful in 29 out of 60 trials, so these were the commands i
entered into R:
>n=60
>p.hat=29/n
>p.0=0.8
>se.0=sqrt(p.0*(1-p.0)/n)
>z=(p.hat-p.0)/se.0
>print(z)
Which returned:
[1] -6.132224
>1-pnorm(z)
Which
2009 Apr 28
4
Producing customized tickmarks when producing a graph using "curve"
Hello!
I am using function "curve" to create a line graph.
I was wondering, if it's possible to "turn off" the default tick marks
and introduce those tick marks in specific locations.
For example, currently in my X axis tick marks are (automatically) at
10, 11, 12, 13 but I want them to be in 5 specific locations, like
9.89, 10.34, etc.
Any hint would be greatly
2006 Jan 10
3
ROR setup problems with Suse + apache
hello,
I am tying to run ROR on apache 2 with suse linux 9.3,
and I do not succeed with it.
I set rubby und rails and all scripts are running fine.
my Document root :
/srv/rails/demo/public
I did not setup FastCGI because I could not run it with
normal CGI jet.
my Virtual Server runs on 192.168.0.111
ServerName rails
DocumentRoot /srv/rails/demo/public
<Directory
2009 Dec 04
1
length of a density curve (or any curve)
Hello R users,
When I type
d <- density(MyData$x)
I obtain a density object I can plot,
But I wonder if there is a way to easily compute the length of the
density curve ?
( I imagine I could compute the distances between the 512 equally
spaced points using their x and y, but does it exist a smarter way ?)
Regards,
SW
2005 Apr 27
4
Density curve over a histogram
Dear All
I would like to draw a picture with the density curve of a normal
distribution over a histogram of a set of random numbers extracted
from the same normal distribution. Is that possible?
Thanks in advance,
Paul
2011 Jun 07
1
ggplot2 Histogram with density curve
I am learning ggplot2 commands and I have figured out how to create
histograms and density curves but I am not sure how to add a density curve
on top of a histogram.
Here are the two graphs that I created.
## Histogram
t<-rnorm(500)
w<-qplot(t, main="Normal Random Sample", fill=I("blue"), colour=I("black"),
geom="histogram")
w
##Density Curve