similar to: Is this a bug of pweibull()? (Follow up)

Displaying 20 results from an estimated 1000 matches similar to: "Is this a bug of pweibull()? (Follow up)"

2002 May 11
4
Is this a bug of pweibull()?
In rw1050, I found that > pweibull(3:10, 2) [1] 0.9998766 0.9999999 1.0000000 1.0000000 NaN NaN [7] NaN NaN Warning message: NaNs produced in: pweibull(q, shape, scale, lower.tail, log.p) more surprisingly, > pweibull(3:10, 2.1) [1] 0.9999566 1.0000000 1.0000000 -Inf NaN NaN [7] NaN NaN Warning message: NaNs produced in: pweibull(q,
2002 Feb 28
1
pweibull.c (PR#1334)
Full_Name: M Welinder Version: 1.4 OS: (src) Submission from: (NULL) (192.5.35.38) It seems to me that pweibull can be improved in the lower_tail=TRUE and log_p=FALSE case by using expm1. Something like -expm1(-pow(x / scale, shape)), I think. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read
2008 Feb 08
2
Catching NaNs from pweibull()
Hello, I am working with the nls() function and inserting a formula into it that uses the pweibull function. However the pweibull function is annoyingly producing NaNs, which nls() refuses to handle. I have put a sample of the code below. Is there a way to prevent these NaNs from interfering, for example a method to catch them? I get the following error when I try to run the code: res.nls <-
2008 Nov 26
1
survreg and pweibull
Dear all - I have followed the thread the reply to which was lead by Thomas Lumley about using pweibull to generate fitted survival curves for survreg models. http://tolstoy.newcastle.edu.au/R/help/04/11/7766.html Using the lung data set, data(lung) lung.wbs <- survreg( Surv(time, status)~ 1, data=lung, dist='weibull') curve(pweibull(x, scale=exp(coef(lung.wbs)),
2002 Mar 06
2
Installing a Package in Windows 2000
I'm using R 1.4.1 under Windows 2000 and am experiencing difficulty installing a package. I've included an example output using Rcmd build, but the same problem occurs with Rcmd check and Rcmd INSTALL. The error (make[1]: /bin/sh.exe: Command not found) is not a new one - it's referenced in readme.packages among other locations. I've placed a copy of sh.exe in C:\bin, but it
2002 Jan 30
5
1.4.1 R CMD check broken?
I am not sure if this is already known. I checked BUGS and found some references to similar behavior when R_HOME is set? Here is what I get: (1) Fresh build of 1.4.1 under Linux/RH-7.2. All tests pass. > R CMD check ctest * checking for working latex ... OK * using log directory `/home/andyj/stat/R-1.4.1/library/ctest.Rcheck' Installing *source* package `ctest'
2002 Feb 28
4
pexp.c (PR#1335)
Full_Name: M Welinder Version: 1.4 OS: (src) Submission from: (NULL) (192.5.35.38) It seems to me that pexp can be improved in the lower_tail=TRUE and log_p=FALSE case by using expm1. Something like -expm1 (-x / scale); I think. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send
2002 Jun 17
2
Rgui crashes
My Rgui crashes quite a lot when entering certain characters. I put a freshly extracted msvcrt.dll into the rw1050\bin directory, but this did not fix the problem. Perhaps, as stated in the FAQ section, I need also "put the rw1050\bin directory early in your path" but I do not know how to do it in Windows Me. Please could you give me some help? E. Barahona
2013 Mar 03
1
distribution functions and lists
Hello everyone, I have a quick question but I am stuck with it and I do not know how to solve it. Imagine I need the distribution function of a Weibull(1,1) at t=3, then I will write pweibull(3,1,1). I want to keep the shape and scale parameters in a list (or a vector or whatever). Then I have parameters<-list(shape=1,scale=1) but when I write pweibull(3,parameters) I get the following
2002 Feb 01
1
Rcmd Install gives Bad command or file name (PR#1296)
Dear Team, Don't understand output below. Please advise. Windows98 and rw1041(patched) from 1/25/02. Graham Lawrence C:\>PATH=C:\bin;C:\mingw32;C:\Perl;C:\HtmlWork;C:\R\rw1041\bin;C:\Tcl;C:\Tcl\bin C:\>Rcmd INSTALL C:\R\lattice_0.4-0.tar.gz Bad command or file name C:\>Rcmd C:\>Rcmd Install Bad command or file name C:\>dir C:\R\rw1041\bin Volume in drive C has no
2002 May 15
1
can't get rcmd to work on windows2k....
I'm trying to make sure my R package will install properly (build help files, etc) and when I try to run the rcmd check (or any rcmd option) I get the following error. Does dcf.pm stand for perl module? If not, why do I get this message? C:\systemfit\r_code>rcmd check --help Can't locate R/Dcf.pm in @INC (@INC contains: c \PROGRA~1\r\rw1041\share\perl; /usr/lib/perl5/5.6.1/cygwin-multi
2002 Oct 10
2
Environment variables under Windows
Greetings, I have a question pertaining to the concept of "environment variables" that is mentioned in the R documentation for "Startup" and also in the discussion of the Windows configuration of R in the recent book "An Introduction to R" authored by Venables, Smith, and the R Development Core Team (referred to as VS in this message). The Startup documentation and
2009 Mar 17
3
R does not compile any more on FreeBSD 8.0-CURRENT
On a recent FreeBSD 8.0-CURRENT (i386) building R (any version) breaks with the following messages: ---------------------------------------------------------------------- [...snip...] gcc -std=gnu99 -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c wilcox.c -o wilcox.o gcc -std=gnu99 -I. -I../../src/include -I../../src/include -I/usr/local/include
2002 Mar 06
3
Loading tcltk package fails on WinMe/Cygwin but works with Rgui
I am investigating how well R/tcltk is supported on different system and I ran into the same problem as Christian Schulz reported on February 7, 2002. I am using [R] v1.4.1 on WinMe and ActiveTcl 8.3.2. Loading tcltk within Rgui works just fine and both demo(tkdensity) and demo(tkttest) works as expected. However, when I start R from my Cygwin terminal dyn.load() fails to load the library: % R
2002 May 22
2
Bug in pexp (PR#1590)
I wonder if something like this has been reported before: > pexp(85:86,0.438) [1] 1 -Inf --please do not edit the information below-- Version: platform = i386-pc-mingw32 arch = i386 os = mingw32 system = i386, mingw32 status = major = 1 minor = 5.0 year = 2002 month = 04 day = 29 language = R Windows NT 4.0 (build 1381) Service Pack 6 Search Path: .GlobalEnv,
2010 May 26
2
Survival analysis extrapolation
Dear all, I'm trying to fit a curve to some 1 year failure-time data, so that I can extrapolate and predict failure rates up to 3 years. The data is in the general form: Treatment Time Status Treatment A 28 0 Treatment B 28 0 Treatment B 28 0 Treatment A 28
2002 May 31
1
Library Tcltk
Dears users, Thanks for your responses concerning my question of yesterday (about stand-alone package). Il would like to explore two ways: -- Tcltk extension, -- Rweb application. I have installed ActiveTcl (in F:\Tcl), and I have modified the PATH (in the autoexec.bat file): set R_LIBS=F:\R\rw1050\library set PATH=%PATH%;F:\Tcl\bin set PATH=%PATH%;F:\Tcl\lib set PATH=%PATH%;F:\R\rw1050\bin
2011 Jun 23
2
Confidence interval from resampling
Dear R gurus, I have the following code, but I still not know how to estimate and extract confidence intervals (95%CI) from resampling. Thanks! ~Adriana #data penta<-c(770,729,640,486,450,410,400,340,306,283,278,260,253,242,240,229,201,198,190,186,180,170,168,151,150,148,147,125,117,110,107,104,85,83,80,74,70,66,54,46,45,43,40,38,10) x<-log(penta+1) plot(ecdf(x),
2004 Apr 22
1
slower execution in R 1.9.0
I have an R function (about 1000 lines long) that takes more than 20 times as long to run under R Windows 1.9.0 and 1.8.1 than it does under 1.7.1. Profile results indicate that the $<-.data.frame operation is the culprit, but I don't understand exactly what that is (assignment of data frame elements to another variable?), or why it's only a problem under 1.8.1 and 1.9.0. Any advice?
2002 Feb 11
2
demo(graphics) problem under rw1041 (PR#1307)
I just downloaded rw1041 (the latest windows binary). Everything installed fine. When I start a new Rgui, and type "demo(graphics)", after pressing return to start, a graphics window appears. When I get to the second prompt: > opar <- c(opar, par(bg = "white")) > plot(x, ann = FALSE, type = "n") Hit <Return> to see next plot: at this