The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Frequency Count?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
dcaplan Posted - 05/18/2005 : 1:59:10 PM
Origin Version (Select Help-->About Origin): 7 SR1
Operating System: Win xp

Hello, are there any originC interfaces to performing frequency counting on a given column?

Thanks,
- David
4   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 05/18/2005 : 4:35:10 PM
Hi David,

vectorbase::FrequencyCount is in 7.0 SR4.

Patches are free but if you can't update for some reason you might try LabTalk's histogram(dataset,inc,min,max)...

LabTalk Language Reference > Function Reference > Statistal Functions > Statistics on Datasets

Mike Buess
Origin WebRing Member
dcaplan Posted - 05/18/2005 : 3:23:37 PM
Oops, actually I don't think that vector.FrequencyCount() is defined in Origin 7 SR1...

Is there such thing as a labtalk command for this?
(I'm new to originC/Labtalk)

Thanks,
- David
dcaplan Posted - 05/18/2005 : 3:17:30 PM
Thanks for the tip.

- David
greg Posted - 05/18/2005 : 2:07:57 PM
The VectorBase class has a FrequencyCount method. This fragment comes from the Help file :

// Data1_A (with data between 0 and 1) and Data1_B must exist
Dataset dsA("Data1_A"), dsB("Data1_B");
vector vA(dsA);
vector<int> vCounts;
vA.FrequencyCount(0,1,0.05,vCounts);
dsB = vCounts;



The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000