Re: [R] survexp with weights

From: Terry Therneau <>
Date: Thu, 21 Apr 2011 12:44:15 -0500

> lines(survexp( ~ trt, ratetable=pfit.wtd, data=pbc), col='purple')
Error in eval(expr, envir, enclos) : object 'albumin' not found

  The code does work, however, using the latest version of survival. (Use of case weights in survexp languished on my to-do list for a long long time.)

Terry Therneau mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 21 Apr 2011 - 17:47:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 21 Apr 2011 - 17:50:32 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive