[R] how to impose the lines (Apply?)

From: Lisa Wang <lisawang_at_uhnres.utoronto.ca>
Date: Sat 01 Oct 2005 - 07:22:46 EST


I have data like the following (38 patients) each have a lot of record (some have more than others). I would like to plot time* pressure for each patient in the same plot. I try to write a function and then split the data by patients id and then sapply the function to the splited list, but I have difficulty to link the function to the data point. Please let me know if this is the rignt way to do it. Thanks a lot

patients time pressure

1             1      24
1             2      34
2             2      45
2             2.5    50
2             1.5    30
3             8      9

Lisa Wang
Toronto, Ca
tel: 416 946 4501

This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization.

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Oct 01 06:26:20 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:34 EST