I have been given a MATLAB data set with 20 different variables. I've been able to read it into R using readMat(). When I look at the structure (str()) I get the following output, and I'm wanting to create a data frame so I can run further analysis. structure output
I've tried using data.frame() but this only gives me 1 variable with 2 observations.
I've also tried lapply() but it gives many observations with only 1 variable. r code
How can I create a data frame that shows the correct variables and observations?