Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11154
| From | "Nicholas Kormanik" <nkormanik@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Data Format |
| Date | 2012-08-01 09:02 +0000 |
| Message-ID | <jvaran$751$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Please consider the following code, which is data imported directly into
Mathematica via a .mtp file (Minitab Portable Worksheet), and then using
list assignment:
list = {"C1" -> {5.`, 4.`, 7.`, 3.`, 6.`, 6.`, 7.`, 1.`, 5.`, 6.`}, "C2"
-> {2.`, 5.`, 6.`, 7.`, 7.`, 1.`, 5.`, 4.`, 7.`, 2.`}}
The following two commands work:
Mean["C1" /. list]
Mean["C2" /. list]
However I would prefer to be able to issue the following commands instead:
Mean[C1]
Mean[C2]
How can the code at top be converted so that these simpler commands will
work?
Thanks.
Nicholas Kormanik
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Data Format "Nicholas Kormanik" <nkormanik@gmail.com> - 2012-08-01 09:02 +0000
Re: Data Format awnl <awnl@gmx-topmail.de> - 2012-08-02 08:46 +0000
Re: Data Format Ray Koopman <koopman@sfu.ca> - 2012-08-03 08:18 +0000
Re: Data Format awnl <awnl@gmx-topmail.de> - 2012-08-04 10:04 +0000
Re: Data Format Murta <rodrigomurtax@gmail.com> - 2012-08-02 08:52 +0000
csiph-web