Displaying 20 results from an estimated 9000 matches similar to: "[Old '.so' file"
2003 Jun 16
0
new package: eha
A few days ago I uploaded to CRAN a new package called 'eha', which
stands for 'Event History Analysis'. Its main focus is on proportional
hazards modeling in survival analysis, and in that respect eha can
be regarded as a complement and an extension to the 'survival'
package. In fact eha requires survival. Eha contains three functions
for proportional hazards
2003 Jun 16
0
new package: eha
A few days ago I uploaded to CRAN a new package called 'eha', which
stands for 'Event History Analysis'. Its main focus is on proportional
hazards modeling in survival analysis, and in that respect eha can
be regarded as a complement and an extension to the 'survival'
package. In fact eha requires survival. Eha contains three functions
for proportional hazards
2004 Sep 19
1
Namespace problem
Now I try to add some C and Fortan code to my package, so the NAMESPACE
file is
useDynLib(eha)
importFrom(survival, Surv)
export(mlreg.fit, risksets)
but I get
.....
* checking R files for library.dynam ... OK
* checking S3 generic/method consistency ... WARNING
Error in .try_quietly({ : Error in library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) :
2004 Jan 08
0
New version of eha
A new version of 'eha' (0.92-1) is now on CRAN. From the ChangeLog:
0.92-1 (January 7, 2004)
* mlreg: Geometric distribution (i.e., constant baseline discrete
hazard) added. Not for frailty models, yet (on the TODO list).
* mlreg: New argument, 'n.points', added to 'control'. Controls
the number of points used in the Gauss-Hermite quadrature.
* mlreg: Stricter
2004 Jan 08
0
New version of eha
A new version of 'eha' (0.92-1) is now on CRAN. From the ChangeLog:
0.92-1 (January 7, 2004)
* mlreg: Geometric distribution (i.e., constant baseline discrete
hazard) added. Not for frailty models, yet (on the TODO list).
* mlreg: New argument, 'n.points', added to 'control'. Controls
the number of points used in the Gauss-Hermite quadrature.
* mlreg: Stricter
2003 May 29
2
install-packages
When I try 'install-packages' (from menu) in R-1.7.0 (Windows), I get
> install.packages(choose.files('',filters=Filters[c('zip','All'),]),
.libPaths()[1], CRAN = NULL)
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file `eha060/DESCRIPTION'
>
but it works with R-1.6.2. It also works if I
2003 May 14
2
Two names of a function
Is it possible to let a function be known under two names without having
two identical copies of the function body?
---
G?ran Brostr?m tel: +46 90 786 5223
Department of Statistics fax: +46 90 786 6614
Ume? University http://www.stat.umu.se/egna/gb/
SE-90187 Ume?, Sweden e-mail: gb at stat.umu.se
2004 Dec 07
1
read.spss: unrecognized record type
When reading an spss file, I get the following message:
Warning message:
../totmorH.sav: Unrecognized record type 7, subtype 13 encountered in system file.
What does it mean? Do I have to worry? The result looks as expected. I do
not have (easy) access to SPSS, so I cannot check exactly that I got what I
should have.
Thanks,
G??ran
And, I'm using R-2.0.1 on Debian testing (from source).
2005 Mar 24
1
Books on survival analysis and R/S
I will be giving a course in survival analysis using R (of course!) for
people who know nothing about the subject (including R), but know basic
statistics. I'm looking for a suitable course book. Therneau & Grambsch
(2000) is an excellent book, but too much for this course. I need somthing
more elementary.
I have a vague memory saying that such books exist, but I cannot find any
for the
2005 Jan 25
2
tapply and names
I have a data frame containing children, with variables 'year' = birth
year, and 'm.id' = mother's id number. Let's assume that all the births of
each mother is represented in the data frame.
Now I want to create a subset of this data frame containing all children,
whose mother's first birth was in the year 1816 or later. This seems to
work:
mid <-
2006 Jun 28
0
New version of eha
A new version (0.96.3) of the package 'eha' is now on CRAN. Apart from
some bug fixes, there are some news. The most noteworthy are: (i)
'plot.Surv' has a few new options, (ii) 'weibreg' now can fit null
models (i.e., only scale and shape) and covariates are no longer
automatically centered (although this is still the default), (iii) there
is a new function,
2003 Dec 18
1
Manova
Dear R-helpers,
In a data set I got from a medical doctor there are six treatment groups
and (about) 5 bivariate responses in each group. Using 'manova', it is
easy to see significant differences in treatment effects, but the doctor
is more interested in the correlation between the two responses (within
groups). I'm willing to assume a common value over groups, and one way
of
2004 Oct 07
1
sample suggestion
I have been bitten by what is clearly described on the help page for
'sample', namely sampling from a population of size one. I agree that it is
convenient to have an exception if 'length(x) == 1', but my suggestion is
to enforce the exception only if 'x' is numeric. In any case, if x is not
numeric and of length 1, all you get is an error message.
I would like
2005 Jan 03
1
row ("FORTRAN") order?
Reading about 'R_max_col' in "Writing R extensions", Version
2.1.0,(2005-01-03), I find:
"Given the nr by nc matrix matrix in row ("FORTRAN") order, ..."
Looks like a contradiction to me, since FORTRAN stores matrices
columnwise. So is this a documentation bug?
--
G?ran Brostr?m tel: +46 90 786 5223
Department of Statistics
2004 Apr 02
1
Underscore and ESS
This is a question that I should have sent to 'ess-help', but I
take my chances...
In 'NEWS' (1.9.0) I read the good news
o Underscore '_' is now allowed in syntactically valid names, and
make.names() no longer changes underscores. Very old code
...
but when I try it in emacs (ESS 5.1.24), my '_' are changed to ' <- '!
What can I do?
2004 Jun 09
1
1.9.1-alpha & tty
I have two versions of R on my Debian testing: R-1.9.0 (precompiled) and
R-1.9.1-alpha of 2004-06-07 (built on my system). In the latter, I get
> system("emacs sim.R &")
> emacs: standard input is not a tty
while with R-1.9.0 it works as expected. I have absolutely no idea about
what's going on, so I could use some help. Anyone?
Thanks,
G?ran
--
G?ran Brostr?m
2004 Dec 30
1
optim/vmmin and R_alloc
I am calling 'vmmin' several times from a C function (which is called via
.C). It works very well, except for memory consumption. The cause is that
vmmin allocates memory via R_alloc, and this memory is not freed as vmmin
exits. Instead all the allocated memory is freed on return of the .C
call.
In one application, I have 2000 functions of 500 variables each to
minimize. In each call to
2003 May 17
1
R indentation
I use Gnu emacs 21, Linux RH9 and R-1.7.0. I have succeeded to get the
recommended indentation of 4 in C thru customization as described in
'R-exts', p.73, but I can't get it to work in R code. Can someone help,
for instance by sending me the appropriate lines in '.emacs'?
Thanks!
---
G?ran Brostr?m tel: +46 90 786 5223
Department of Statistics
2003 Jun 07
2
Ordering long vectors
I need to order a long vector of integers with rather few unique values.
This is very slow:
> x <- sample(rep(c(1:10), 50000))
> system.time(ord <- order(x))
[1] 189.18 0.09 190.48 0.00 0.00
But with no ties
> y <- sample(500000)
> system.time(ord1 <- order(y))
[1] 1.18 0.00 1.18 0.00 0.00
it is very fast!
This gave me the following idea: Since I don't care
2005 Feb 07
1
Sweave and connections
I'm learning to use Sweave (it's really great!) and everything works fine,
except that occasionally I get, after having sweaved many times,
----------------------------------------------------------
> Sweave("report.Snw")
Writing to file report.tex
Processing code chunks ...
1 : term hide
Error: chunk 1
Error in file(file, encoding = encoding) :
All connections