Skip to content

Commit f3aa252

Browse files
authored
switch ifelse yes no
1 parent 789f65d commit f3aa252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

man/measure.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ melt(who, measure.vars = measure(diagnosis, gender, ages, pattern="new_?(.*)_(.)
8383
print(melt(who, measure.vars = measure(
8484
diagnosis, gender, ages,
8585
ymin=as.numeric,
86-
ymax=function(y)ifelse(nzchar(y), Inf, as.numeric(y)),
86+
ymax=function(y)ifelse(nzchar(y), as.numeric(y), Inf),
8787
pattern="new_?(.*)_(.)(([0-9]{2})([0-9]{0,2}))"
8888
)), class=TRUE)
8989
}

0 commit comments

Comments
 (0)