Covert 2D matrix to 3D array
idriswada007 opened this issue · 0 comments
I tried converting to the 3D array using the mat2Dto3Darray
function, but it kept failing after numerous attempts. I used my loaded station data (y) as the mat2D, and developed my X and Y coordinates as: xt <- c(7.93, 8.29, 8.38, 8.43, 8.74, 8.83, 9.07, 9.35, 9.57, 9.82, 10.211, 10.45, 10.53, 11.05)
and yt<- c(10.6, 10.74, 11.09, 11.47, 11.56, 11.657, 11.71, 11.79, 11.92, 11.97, 12.123, 12.31, 12.86, 12.87)
. I don't know how to use this function. the loaded y has the dates, variables, and stations. I followed the normal procedure to load station data with loadeR.
Please explain the command, and how to carry out the conversion for further analysis.
Thank you and warm regards.
@jbedia
@zequihg50
@cofinoa