diff options
author | Naeem Model <me@nmode.ca> | 2023-07-23 02:30:56 +0000 |
---|---|---|
committer | Naeem Model <me@nmode.ca> | 2023-07-23 02:30:56 +0000 |
commit | a9b7d15569ee56ebacb1375898698d026a64ec79 (patch) | |
tree | b244a2a98970e91e8b22dcbfb6ffa552ee8421a5 /R | |
parent | b87620843bcae4fc1cb6a9e9caaf52944e93b7b7 (diff) |
Remove unecessary braces
Diffstat (limited to 'R')
-rw-r--r-- | R/seqB.R | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -78,9 +78,9 @@ #' #' @export seqB <- function(NT, mu, kappa = 20) { - if (length(NT) < 2) { + if (length(NT) < 2) print("Warning: length of NT should be at least two.") - } else { + else { if (min(NT) > 0) { times <- 1:length(NT) tau <- diff(times) |