Displaying 20 results from an estimated 6000 matches similar to: "Documentation of par(gamma) (PR#540)"
2000 May 12
2
Documentation of par(ann) (PR#539)
The on-line documentation for the 'ann' argument under
par(), states "If set to 'FALSE'...". However, this
parameter shows up as a numeric on my machine, not as a
logical.
--
Art Salwin
salwin@mitretek.org
(202) 863-2985
(202) 863-2988 (fax)
--please do not edit the information below--
Version:
platform = Windows
arch = x86
os = Win32
system = x86, Win32
2000 May 12
1
Typo in documentation for order() (PR#541)
The documentation for 'order()' has the following sentence:
`sort.list' is the same, using only one argument put
allowing
partial sorting.
Should "put" be "but" or possibly "'partial'"?
--
Art Salwin
salwin@mitretek.org
(202) 863-2985
(202) 863-2988 (fax)
--please do not edit the information below--
Version:
platform = Windows
arch =
2000 Mar 30
1
How do you go beyond tapply()?
"An Introduction to R" notes that the function tapply() can
be used to index a vector by multiple categories. But they
don't show how to do this. How does one implement, for
example, the example in the text in which tax accountants
are indexed by both state and sex?
Is there a way to use tapply() to put the vector into bins
defined by the levels instead of having to exactly match
2000 Oct 17
2
Percentile function
Is there an R function that inputs a value and a vector, and
returns the percentile corresponding to the value?
Something like
pvalue<-function(x,vector){mean(x>=vector)}
but with interpolation.
Given the above function, is there a way to do the following
without the loop:
for(i in 1:10) y[i] <- pvalue(x[i],vector)
where x and y are numeric vectors of length 10?
--
Art Salwin
2000 Apr 24
1
Comments on Win95 R Distribution (PR#527)
Here are some comments generated by a new R user based on
initial experiences with the tool.
On-line help for tapply:
The following appears "for to each (non-empty) group of
values" It seems there's an extra preposition in this
sentence.
On-line help for cut:
"break" should be "breaks"
morley.data not available with the distribution. Would be
helpful for
2000 May 15
1
Non linear regression using Levenberg-Marquardt method
Hello,
I want to fit some non linear models with the Levenberg-Marquardt
algorithm. It doesn''t seem to exist any function to do this in R ( well,
maybe one does, but I''m a new user, and the only documentation I have is
"An introduction to R").
I''d like to know if this function exists, maybe throught an additionnal
package.
I''d also like to know if if
2000 Jul 12
2
Removing Objects from workspace
Hi all,
how can I remove objects from the workspace which starts with a certain
pattern, e.g. lm (lm1, lm2, lm3 etc). Wildcards won?t work.
Thanks, Sven
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2000 Oct 02
0
Use of example()
> Date: Mon, 02 Oct 2000 08:53:32 -0400
> From: Art Salwin <salwin at mitretek.org>
> X-Accept-Language: en
> To: R Help List <r-help at stat.math.ethz.ch>
> Subject: [R] Use of example()
> X-MIMETrack: Itemize by SMTP Server on Mail1/Mitretek Systems(Release 5.0.4
|June 8, 2000) at 10/02/2000 08:51:32 AM, Serialize by Router on Mail1/Mitretek
Systems(Release 5.0.4
2007 Dec 27
1
warning on gamma option in par(args) or calling par(= new)?
Dear All,
I have the following function
tstpar <-
function(n = 200, want.pdf = FALSE, pdfFileName = NULL){
oldpar <- par(no.readonly = TRUE)
on.exit(par(oldpar))
steps <- seq(from = 1, to = 8, by = 1)
h <- 10; w <- 6
if(want.pdf){pdf(file = pdfFileName, onefile = TRUE,
paper = "letter", width = w, height = h)}
par(mfrow = c(4,2))
for(i
2003 Sep 12
1
win.metafile, devga, tkrplot in R 1.8.0
Hi,
I just downloaded
rw1080dev.exe 09-Sep-2003 07:42 21.6M
from
http://www.stats.uwo.ca/faculty/murdoch/software/r-devel/
and tried using tkrplot on Windows 2000.
.First.lib failed to load the dll:
.Tcl(paste("load", file, "Rplot"))
appeared to be mixing up double-backslashes and forward slashes:
[tcl] couldn't load library "C:w1080devlibrary
2007 May 18
1
Goodness-of-fit test for gamma distribution?
Hi all,
I am wondering if anyone has written (or knows of) a function that
will conduct a goodness-of-fit test for a gamma distribution. I am
especially interested in test statistics have some asymptotic
parametric distribution that is independent of sample size or values
of fitted parameters (e.g., a chi-squared distribution with some
fixed df), because I want to fit gamma distributions to
2004 Jun 23
2
help with win.print
I am trying to batch the printing of some graphs using win.print when I leave the printer option blank it prompts me for a printer each time and then works fine when I put the printer name in however using the following code I get the error below. Does the printer need to be locally installed or can it print to a network printer like I am trying to?
win.print(width=8,
2004 Dec 20
3
Memory problem with jpeg() and wide jpegs
Hi
I have been creating very, very long jpeg images for the last two weeks
using jpeg(). All of a sudden, and I mean that, it's stopped working -
I've not changed a thing! The error message I get is:
> jpeg("out.jpg",width=50000,height=480, quality=100)
Error in devga(paste("jpeg:", quality, ":", filename, sep = ""), width,
:
unable
2003 Oct 21
2
png() and/or jpeg(): line missing by using box(which="outer")
Dear R list,
I do encounter the following problem by generating either a png-file
(example below) or a jpeg-file:
By employing 'box(which="outer")' a box is drawn, except for the right line.
If I generate the plot without the 'box(which="outer")', a line at the
bottom in the graphics file still appears. However, both plots are displayed
correctly in the R
2009 Dec 11
2
Regularized gamma function/ incomplete gamma function
Dear all,
I would be very grateful if you could help me with:
Given the regularized gamma function Reg=int_0^r (x^(k-1)e^(-x))dx/int_0^Inf (x^(k-1)e^(-x))dx ; 0<r<Inf (which is eventually the ratio of the
Incomplete gamma function by the gamma function), does anyone know of a package in R that would evaluate the derivative of the inverse of Reg with respect to k? I am aware that the
2003 Nov 12
1
trouble in setting jpeg a large size
I met a trouble in setting jpeg a large size. for example, when i use
jpeg(height=65526), a problem "Error in devga(paste("jpeg:", quality, ":", filename, sep = ""), width, :
unable to start device devga In addition: Warning message: Unable to allocate bitmap" occurs.
if a smaller size is set, no errors occur.
I'm using R 1.8.0 on win2k.
Thank
2011 Feb 09
3
precision of gamma function
Dear R users,
I have to calculate gamma functions for negative numbers beyond -171.4.
e.x. gamma(-500.4)
I got following:
> gamma(-170.4)
[1] -5.824625e-308
> gamma(-171.4)
[1] 0
Warning message:
underflow occurred in 'gammafn'
I have tried to use a recursion getting values a little futher -180.
How could I solve this problem? Thank you beforehand.
Chuse.
2000 Oct 04
2
gamma and lgamma functions (PR#684)
The following seems very strange:
> lgamma(-0.04)
[1] 3.243307
> gamma(-0.04)
[1] -25.61830
Jim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2005 Dec 05
3
The gamma function and infinity
I have to calculate some formula like:
gamma(x)/(gamma(x+y)
and I observed that for relatively big values of x, R
returns infinity and so cannot compute the formula. Is
it possible to force R to give the real value of
gamma(x) instead of Inf ?
thanks
2010 Jun 16
2
Fitting Gamma distribution
I'm looking for goodness of fit tests for gamma distributions with large data
sizes and for different data.
I have a matrix with around 4.000 data values in it and i have fitted a
gamma distribution with "fitdistr".
You can see the example:
> fitdistr(corpo,"gamma",lower=0.001)
Errore in optim(x = c(5000, 5000, 5000, 5000, 5000, 5000, 5000, 5000,
5000, :