eminSerin / NBS-Predict

A prediction-based extension of network-based statistics.
GNU General Public License v3.0
29 stars 6 forks source link

CV length error #23

Closed ajdneuro closed 1 year ago

ajdneuro commented 1 year ago

Hello, Thank you for this wonderful resource.

I am running into this error: Error using tabular/length Undefined function 'LENGTH' for input arguments of type 'table'. Use the height, width, or size functions instead.

Error in gen_cvpartition (line 20) leny = length(y);

I was wondering where I should start for troubleshooting?

Thanks, Alex

eminSerin commented 1 year ago

Dear Alex,

Thank you for your interest in our toolbox, NBS-Predict. I apologize for the delay in responding to your issue on GitHub, as I did not receive a notification for it.

In regards to your issue, you provided a design matrix in a table structure, whereas our toolbox requires it to be in a matrix structure. You can refer to our sample dataset to understand the correct input format.

If you still have any issues, please don't hesitate to contact us for further assistance.