# NOT RUN {
#An example of the operation of the Algorithm.
data(test_ghost_csv)
## sample dataset----------------------------------
# S0 S1 S2 S3
#1 5 F G H
#2 5 B N T
#3 4 P O
#4 1 X C B
#5 1 N X
#6 1 R R R
#7 1 W W
#8 1 W W W
#9 2
#10 2
#11 1 O K O
#12 1 B O
#13 2 S D
#14 1 W W
#15 1 W S W
#16 2 P I M
#17 2 R U
#18 1 O K O
#19 1 B O
#20 1 R R R
#21 5 F G H
#22 5 B N T
#23 4
#24 1 X C B
#25 1 N X
reconstruct(test_ghost_csv,1,2,epsilon=0.4)
### output---------------------------------------------------
# S0 S1 S2 S3
#1 5 F G H
#2 5 B N T
#3 4 P O
#4 1 X C B
#5 1 N X
#6 1 R R R
#7 1 W W
#8 1 W W W
#9 2 P I M
#10 2 R U
#11 1 O K O
#12 1 B O
#13 2 S D
#14 1 W W
#15 1 W S W
#16 2 P I M
#17 2 R U
#18 1 O K O
#19 1 B O
#20 1 R R R
#21 5 F G H
#22 5 B N T
#23 4 P O
#24 1 X C B
#25 1 N X
# }
Run the code above in your browser using DataLab