Skip to content

Commit

Permalink
applying tidy styler
Browse files Browse the repository at this point in the history
  • Loading branch information
zabore committed Aug 5, 2019
1 parent 361b773 commit f49f4fd
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions R/gg_conditional_surv.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@
#'

gg_conditional_surv <- function(basekm,
at,
main = NULL,
xlab = "Years",
ylab = "Survival probability",
lwd = 1) {

at,
main = NULL,
xlab = "Years",
ylab = "Survival probability",
lwd = 1) {
if (class(basekm) != "survfit") {

stop(
"Argument to basekm must be of class survfit"
)
Expand Down

0 comments on commit f49f4fd

Please sign in to comment.