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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Copying rows in new worksheet
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Mekis90

Germany
8 Posts

Posted - 12/04/2013 :  09:40:32 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Hi,

I have a table with some columns and some rows. In the last column is the number of the Cluster Membership (for example 1, 2 or 3). Now I want to separate this Clusters in a new worksheet. That means that all rows with the Clusternumber 1 are one below the other. Between the different Clusters should be 2 free rows. I also want the average value of every column in the upper row.

I tried it with: range kCC= [kleine]Cluster_Membership1!col(10);
if (kCC= 1) copy -b row(i) Cluster_Membership1 Sheet1! -b 1 ;

but it doesnt´t work.

I hope somebody can help me because I´m a beginner in LabTalk

Cheers,
Mekis

greg

USA
1379 Posts

Posted - 12/05/2013 :  11:10:39 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It isn't clear what you are trying to do and I do not understand what "average value of every column in the upper row" means.

Have you tried unstacking this data?
range raD = (1:9);
range raCL = 10;
wunstackcol -r 2 irng1:=raD irng2:=raCL;
Go to Top of Page

greg

USA
1379 Posts

Posted - 12/11/2013 :  1:44:19 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Continues here:
http://www.originlab.com/forum/topic.asp?TOPIC_ID=19036
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000