When using the extract.csl2.file function in the Casal2 library, for some reason it is only reading in the first 7 rows.
I have included the ageing error matrix read in and then exported below as text files
library(Casal2)
estimation <- extract.csl2.file("./estimation_example.csl2")
> str(estimation$`ageing_error[Age_error_matrix]`$Table$data)
List of 7
$ 0.69696562: chr [1:34] "0.25175014" "0.04166735" "0.00755163" "0.00107108" ...
$ 0.20421037: chr [1:34] "0.54750449" "0.20421037" "0.03549943" "0.006653" ...
$ 0.03643991: chr [1:34] "0.19964463" "0.51861797" "0.19964463" "0.03643991" ...
$ 0.00768111: chr [1:34] "0.03838986" "0.20038541" "0.50460988" "0.20038541" ...
$ 0.00148043: chr [1:34] "0.00839018" "0.04061799" "0.20206281" "0.49351857" ...
$ 0.00158815: chr [1:34] "0.00170409" "0.00914465" "0.0429059" "0.20349633" ...
$ 0 : chr [1:34] "0" "0" "0" "0" ...
write.csl2.file(estimation, "estimation_out.csl2")
estimation_out.txt
estimation_example.txt
When using the extract.csl2.file function in the Casal2 library, for some reason it is only reading in the first 7 rows.
I have included the ageing error matrix read in and then exported below as text files
estimation_out.txt
estimation_example.txt