We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 554b673 commit 3c5f371Copy full SHA for 3c5f371
BIR.R
@@ -36,11 +36,11 @@ if (length(args) == 0) {
36
if (length(args) >= 3) {
37
out.path <- args[3]
38
if (length(args) >= 4) {
39
- lambda.vals <- seq(args[4], 10, length = 10)
+ lambda.vals <- seq(as.numeric(args[4]), 10, length = 10)
40
if (length(args) >= 5) {
41
- lambda.vals <- seq(args[4], args[5], length = 10)
+ lambda.vals <- seq(as.numeric(args[4]), as.numeric(args[5]), length = 10)
42
if (length(args) >= 6) {
43
- lambda.vals <- seq(args[4], args[5], length = args[6])
+ lambda.vals <- seq(as.numeric(args[4]), as.numeric(args[5]), length = as.numeric(args[6]))
44
} else {
45
stop("You provided too many inputs.")
46
}
0 commit comments