Importing DCCM and plotting

Issue #886 new
Former user created an issue

I calculated the DCCM on a trajectory and saved the resultant matrix as .csv file to modify it. When I try to load it again it is read like a table of observations for different variables, and no anymore as large DCCM, and I cannot plot. Is there a way to change the type of a variable or is there a special way to import it? I checked the files (original and imported) and they look exactly the same.

Comments (1)

  1. Xinqiu Yao

    If you use read.csv() to load the matrix, and then yes it will be read like a “table”. Simply convert it to a matrix by calling as.matrix().

  2. Log in to comment