| To: | jmp-l@lists.biostat.wustl.edu |
|---|---|
| Subject: | Re: How to achieve this simple Column addition in JSL? |
| From: | Fred Zhang <ieaggie2009@gmail.com> |
| Date: | Wed, 11 Feb 2009 13:44:19 -0500 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=6E/Uz/kplAZl2jrS62yP0xQiCPpJNTiRcXpIo6SQdFs=; b=AFMcBeLXtVG8UiKfNxpxX7GoYM7h20L3sg20jZW0DYcGbGIohsq3pqib29EgTik2sv 6axXSPSIb3s6W2XyfiXwpULwEVD+a65NaBELYfcUXY7uIsbAJfHXw4CF85uChcTfZzjx MXjp3/yrzUx+j9Z+O/TElnHOpjZLzjDcyaNmE= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TADhBUdmcTi3jVr9pXVbuu+YvGwKmpKGjCFwJ+/hwlpiDl8W5YSmSeMOFnbbhmGTiv Hn0t3pmFlQE0fDeN8m7yERzSHingJd5MoLzmDyTIUvCKtMJtYwaHW9rA0GSvoDz4AZV3 5PETSOC2KsiWLAp1wMEeZUgjsn6FPUebREtro= |
| In-reply-to: | <2E1EB2CF9ED1CB4AA966F0EB76EAB443023E1F75@SACMVEXC2-PRD.hq.netapp.com> |
| References: | <25e89e790902110736y243dcfd5q61985823447b02a5@mail.gmail.com> <2E1EB2CF9ED1CB4AA966F0EB76EAB443023E1F75@SACMVEXC2-PRD.hq.netapp.com> |
|
Thanks, Steve.
But if I need to sum the columns each the other, i.e. col1+col3+col5+.., should I change j++ to constant '2"?
Another question, if I have to extract the subset of current datatable to a new table by keeping the same column name,
what's the simple way to achieve?
For example, for current table Dt1, with nr rows and nc columns.
I want to choose the list of columns col_list, and rows from row_start to row_end.
What's the JSL would be?
Sorry to bother again.
Fred
2009/2/11 Magie, Stephen <Stephen.Magie@netapp.com>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: How to achieve this simple Column addition in JSL?, Magie, Stephen |
|---|---|
| Next by Date: | Re: How to achieve this simple Column addition in JSL?, Magie, Stephen |
| Previous by Thread: | Re: How to achieve this simple Column addition in JSL?, Magie, Stephen |
| Next by Thread: | Re: How to achieve this simple Column addition in JSL?, Magie, Stephen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |