Dear Listers -
(Sorry for the disclaimer below my university forces upon the world)
SPLUS2000 WinNT4
I would like to take a data frame that has a column of event times, each
with associated factors, and make a frequency data frame, that has the
event time and the number of events (weights), retaining the coding:
time code1 code 2
1 1 1
1 1 1
1 2 1
1 2 1
2 1 1
2 1 1
2 2 1
2 2 1
would become
time code1 code2 weight
1 1 1 2
1 2 1 2
2 1 1 2
2 2 1 2
Is there a straightforward way to get started doing this?
cheers
andrew
Dr. Andrew Beckerman
Institute of Biological Science
University of Stirling, Stirling FK9 4LA, Scotland, UK
phone:+44 (0)1786 467808 fax: +44 (0)1786 464994
--
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA. Privileged/Confidential Information may
be contained in this message. If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. In such case, you should destroy this
message and kindly notify the sender by reply email. Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official
business of the University of Stirling shall be understood as neither
given nor endorsed by it.
|