aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorNaeem Model <me@nmode.ca>2023-07-23 02:30:56 +0000
committerNaeem Model <me@nmode.ca>2023-07-23 02:30:56 +0000
commita9b7d15569ee56ebacb1375898698d026a64ec79 (patch)
treeb244a2a98970e91e8b22dcbfb6ffa552ee8421a5 /R
parentb87620843bcae4fc1cb6a9e9caaf52944e93b7b7 (diff)
Remove unecessary braces
Diffstat (limited to 'R')
-rw-r--r--R/seqB.R4
1 files changed, 2 insertions, 2 deletions
diff --git a/R/seqB.R b/R/seqB.R
index 09efe07..1dcf927 100644
--- a/R/seqB.R
+++ b/R/seqB.R
@@ -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)