Displaying 2 results from an estimated 2 matches for "survivalrds".
2003 Oct 30
4
packaging a package addon
I am trying to package some code that is a tweak to the survival
package. When I asked earlier, the list consensus was that it would be
best to do this as a separate package, dependent on survival.
This is proving a bit tricky.
I have some run-time and compile time concerns.
Run-time, my R code needs R code from survival, and my C code needs C
functions from survival. Will this all be
2011 Jul 19
1
"may be used in an incorrect context"
...uble(2*nvar*nvar +nvar*4 + n),
integer(2*n),
as.double(control$eps),
as.double(control$toler.chol),
sctest=double(1),
as.integer(length(debugfile)),
as.character(debugfile),
as.integer(1), # dumb mode
PACKAGE="survivalrds" )
- r$loglik[2]
}
r <- optim(init, agfitfn, ...)
return(r)
All of this is in the body of
agexact.fit.rds <- function([stuff] {
[more stuff]
}
Thanks.
Ross