Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Covert 2D matrix to 3D array #48

Open
idriswada007 opened this issue Jan 14, 2024 · 0 comments
Open

Covert 2D matrix to 3D array #48

idriswada007 opened this issue Jan 14, 2024 · 0 comments

Comments

@idriswada007
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant