Apparently octave has the function linkage() which does the same thing as cluster() in MatLabI'm not sure that it translates 1 to 1 but could be (part of) the solution?
https://lists.gnu.org/archive/html/octave-bug-tracker/2011- 12/msg00333.html bwAlle MeijeSubject: Re: running fslnets with octave
Hi Jasmin,
Unfortunately the nets_netweb function will only run under MATLAB, because
the cluster function does not exist in Octave.
Cheers,
Paul
On 18 November 2016 at 22:30, Jasmin Czarapata <[log in to unmask]> wrote:
> Hello fsl folks.
>
> I am running into an error near the end of an fslnets script.
>
> Right after the statement:
> nets_netweb(Znet1,Znet2,ts.DD,group_maps,'netweb');
>
> I get this error message:
> ______
> warning: the 'cluster' function belongs to the statistics package from
> Octave
> Forge but has not yet been implemented.
>
> Please read `http://www.octave.org/missing.html ' to learn how you can
> contribute missing functionality.
> warning: called from
> __unimplemented__ at line 524 column 5
> nets_netweb at line 26 column 9
> error: 'cluster' undefined near line 26 column 10
> error: called from
> nets_netweb at line 26 column 9
> >> system('firefox netweb/index.html &')
> ______
>
> It seems like there is no cluster function written in octave forge
> statistics package. Where do I get the cluster function from for octave?
>
> Thank you, Jasmin