summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2022-12-04 20:29:54 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2022-12-04 20:29:54 +0800
commit890ba0ffa0ad91ba7e1fc3f5351aa2e644ac05b5 (patch)
tree363079129bec46959ea71911ce4bdf4af2fdee80
parentd42ed749e13ce6e9c6a1dd67bc7c6569b34ce35b (diff)
create_edges_mixtool.R: enable command line argument
-rw-r--r--Code/create_edges_mixtool.R3
1 files changed, 1 insertions, 2 deletions
diff --git a/Code/create_edges_mixtool.R b/Code/create_edges_mixtool.R
index 6ed852b..06fd0dc 100644
--- a/Code/create_edges_mixtool.R
+++ b/Code/create_edges_mixtool.R
@@ -23,8 +23,7 @@ if (! file.exists(AGINAME_FILE)) {
###### get commandline arguments #########################
args <- commandArgs(trailingOnly=TRUE)
-#k <- strtoi(args[1])
-k <- 2
+k <- strtoi(args[1])
####### Read data #########################################
X <- read.table(DATA_FILE, header=TRUE, check.names=FALSE)