delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/07/17/23:31:08

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 27DD53857357
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1689651065;
bh=KgRYeuoYTrJvCawvGjlDza2B+UHuVG6LIcFA18bIjp0=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=rPbMADpWwORvxO5oIukhhj/tKBfeZtNfGGw6IBuMVaEbbiFON2VnlC8h02XgGI0ZY
IWh+lRvRWkbLYOnaSVF3/ctYTkZ/Y4uxcSHNAMYRYOZzasT+a0FwztaeYZE4ftSIS7
F1GEwNCLZZqyKFOtyGHykeZ1XH4e0NqHAzMCVVh8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 39D353858D20
X-Authority-Analysis: v=2.4 cv=VbHkgXl9 c=1 sm=1 tr=0 ts=64b60750
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17
a=IkcTkHD0fZMA:10 a=ojV8EbLLAAAA:8 a=Hjc01P9j_FnvDXCylbsA:9 a=QEXdDO2ut3YA:10
a=jTFjQPTn9V0A:10 a=McKLNElF6pUA:10 a=9gjfPy3qBrMA:10 a=K8rvOpeGrk0A:10
a=kvcKyrorUwu2LujBxC7h:22
Message-ID: <58bbaf62-cd19-2b4d-8b35-6752832fe9b1@Shaw.ca>
Date: Mon, 17 Jul 2023 21:30:23 -0600
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Subject: Re: Previously-functional Octave software routine now mysteriously
failing - Please help!
To: cygwin AT cygwin DOT com
References: <CAC7Qdh1cy=vqYLGxSmYMTgv0miHiYwcJhsZi+yXJYEUhNRew=g AT mail DOT gmail DOT com>
<20230718064313 DOT fe08864e5c49be759b4736af AT nifty DOT ne DOT jp>
Organization: Inglis
In-Reply-To: <20230718064313.fe08864e5c49be759b4736af@nifty.ne.jp>
X-CMAE-Envelope: MS4xfFcy4+QdKNO8IuPTDnDOW6KhLi2ApTC7h2ETKEleWLvtHNoyiXxk5visNeDrtCj7xCb/GO6+nVOBNGNhRCPbgmdfukoE0xehChKD63YXNxLK/6IeQMGN
wste5q6xsy7mkw/4hWBxMqh+myLMATPI6yi7PXRQLuRBXMS+YMMw3AWx+fYvndv1HuJjJV1JTakrgTO6dHsGnmKPkRXOw9GPctw=
X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>,
Bryan VanSchouwen <vanschbm2 AT gmail DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 36I3V7rn032179

On 2023-07-17 15:43, Takashi Yano via Cygwin wrote:
> On Mon, 17 Jul 2023 17:27:37 -0400
> Bryan VanSchouwen wrote:
>> Hello.
>>
>> I just tried performing a correlation matrix calculation with
>> Cygwin's Octave software (having successfully performed this calculation
>> previously on other similar data sets) using the following commands within
>> Cygwin:
>> *****(start of commands)*****
>> [vansc AT LAPTOP-OHN2RCVM
>> ~/PKG_domB_CHESCA_analysis_-_apo-cG-cA-RpcG-RpcA_4_Rp-ligs_manu_-_Jul_2023]$
>> octave
>> GNU Octave, version 5.2.0
>> Copyright (C) 2020 John W. Eaton and others.
>> This is free software; see the source code for copying conditions.
>> There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
>> FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.
>>
>> Octave was configured for "x86_64-pc-cygwin".
>>
>> Additional information about Octave is available at https://www.octave.org.
>>
>> Please contribute if you find this software useful.
>> For more information, visit https://www.octave.org/get-involved.html
>>
>> Read https://www.octave.org/bugs.html to learn how to submit bug reports.
>> For information about changes from previous versions, type 'news'.
>>
>> octave:1> load dm
>> octave:2> cdmt = cor(dm.')
>> octave:3> save dm.octave
>> *****(end of commands)*****
>>
>>
>> However, when I tried executing the "cdmt = cor(dm.')" command, I got the
>> following error message:
>> octave:2> cdmt = cor(dm.')
>> error: 'cor' undefined near line 1 column 8
>> octave:2>
>>
>> For reference, I have attached a copy of the input "dm" matrix data file
>> that I was trying to use in the calculations within Octave (see attached
>> file).
>>
>> Do you have any idea what is going on here, and if there is a way to fix it
>> (or work around it)??
> 
> I do not really understand what you want to do, but
> corr() or corrcoef(), not cor()?

Is the OP getting confused between cov() and corr()?

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019