[R] how to impose the lines (Apply?)
Uwe Ligges
ligges at statistik.uni-dortmund.de
Fri Sep 30 22:35:13 CEST 2005
Lisa Wang wrote:
> Hello,
>
> 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.
It is completely unclear what you are really going to do.
Some code snippet and a more explicit question would help us to help.
Please read the posting guide (cited at the bottom of the mail) which
gives advice how to formulate questions properly.
Best,
Uwe Ligges
> 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 at 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
More information about the R-help
mailing list