I’m reading a binary output file of a program using a R package. When I executed the below line of code I see a data structure as shown in the snapshot under the ‘Environment’ tab of R Studio.
output <- read_out("test.out", iType = 0, object_name = "RG1", vIndex = c(0,3))
My question is how do get the information of ‘both ‘rainfall_rate’ and ‘infiltration_loss’ into a single XTS table rather than as seen in the snapshot?
I tried running the code below. However, I’d want to bring both ‘rainfall_rate’ and ‘infiltration_loss’ under the table ‘x’.
x <- read_output[["RG1"]][["rainfall_rate"]]
Read more here: Source link