help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: function 'table' not implemented?


From: Andrew Janke
Subject: Re: function 'table' not implemented?
Date: Tue, 24 Mar 2020 11:51:51 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.6.0


On 3/24/20 10:15 AM, Christoph Roehrs wrote:
> Hi,
> 
> I'm getting an error on my octave installation. I'm using octave 4.4.1
> on debian 10.
> I have an old octave server with version 4.0.0 on ubuntu and its working
> fine there. Why is there no table function implemented?
> Is there any way you could help me with my problem?
>  
> 
> /octave:1>**round(power(10,3) *
> ([~,chisq,~]=chisquare_test_independence(table([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
> ,0,1,1,1,1,1,1,1]))) )/power(10,3)
> *warning: the 'table' function is not yet implemented in Octave*/
> 
> /*Please read <https://www.octave.org/missing.html> to learn how you can
> contribute missing functionality.
> error: 'table' undefined near line 1 column 61*
> octave:1>* */
> 
> Thanks a lot,
> best regards,
> 
> Christoph

Hi Christoph,

The table class has not yet been implemented for core Octave; the
developers just haven't had time to get there yet.

You can try my third-party Tablicious package, which provides a
Matlab-compatible table implementation for Octave:
https://github.com/apjanke/octave-tablicious. It supports Octave 4.4.1.

Cheers,
Andrew



reply via email to

[Prev in Thread] Current Thread [Next in Thread]