Closed swihart closed 7 years ago
Oh man, this was instructional for S3 consistency:
https://github.com/ropensci/neotoma/issues/117
In km.r
, I added in x as first argument because I can't rewrite the generic. I'm nervous as to what it might do.
### function to plot survivor curves
###
plot.surv <- function(x, times=NULL, survivor, group=1, cdf=FALSE, add=FALSE,
xlim=NULL, ylim=c(0,1), main=NULL, xlab="Time", ylab=NULL, lty=NULL,
...){
if(missing(times)||missing(survivor))
stop("times and survivor curve must be supplied")
Ah, I undid it. Work on the other ones first. These plot
extensions are tricky!
Okay, I think I did it. We're 1e|1w|0n now.
1 error | 1 warning | 0 notes
Cool. So had to do some Terminal
R CMD build event and R CMD check event_1.1.0_tar.gz
and then emacs the event.Rcheck/00installout to see the .c and .f stuff.
Basically removed kk from the two .c files and then made
valrho(MXSTRA) into valrho(MXSTRA) at line 4655 of survkit.f
And ---
R CMD check results
1 error | 0 warnings | 0 notes
R CMD check succeeded
Fix examples.
R CMD check results
0 errors | 0 warnings | 0 notes
R CMD check succeeded
You're welcome.
NO MORE ROXYGEN / DEVTOOLS::DOCUMENT() FOR
event