Skip to content
Snippets Groups Projects
Commit 2d56adbd authored by Effi Latiffianti's avatar Effi Latiffianti
Browse files

Update CUSUM_LoMST.R

parent 48cb9b00
Branches main
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ names(Hour.avg)=names(signals)
## Selected signals for each of the failures component
col.gbx = c(1,2,12:14,17,22,51)
col.hyd =c(1,2,11,14,24,38) #Only detect oil leakage in hydraulic group
col.hyd =c(1,2,11,14,24,38)
col.Gen = c(1:6,8:10,20,14,22,40,51)
col.GenB = c(1:10,20,14,22,40,51)
col.Trf = c(1,2,14,22,40,33:35,51)
......@@ -135,7 +135,11 @@ write.csv(Cluster.result[[3]],"T07CUSUM_gbx.csv")
#write.csv(Cluster.result[[3]],"T07CUSUM_hyd.csv")
#write.csv(Cluster.result[[3]],"T07CUSUM_trf.csv")
## Plotting the results (only after all 5 components were run)
##--------------------------------------------------------------------##
## Run the above code for others components to obtained all .csv files
##--------------------------------------------------------------------##
## Plotting the results (only after all 5 components were obtained)
Cluster=list()
Cluster[[1]]=read.csv("T07CUSUM_gen.csv")[,-1]
Cluster[[2]]=read.csv("T07CUSUM_hyd.csv")[,-1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment