[R] survreg FUNCTION

peter dalgaard pdalgd at gmail.com
Wed Apr 8 13:13:47 CEST 2015


On 08 Apr 2015, at 10:14 , CHIRIBOGA Xavier <xavier.chiriboga at unine.ch> wrote:

> Dear members,
> 
> 
> 
> I am trying a survival analysis , I got:
> 
> 
> 
> Error: could not find function "survreg"
> 
> 
> 
> I already load
> 
> the packages: survival
> 
> the function: splines
> 

Load or install? I suspect you actually did the latter.

> 
> 
> What can I do?
> 

If installed and not loaded, load it with library(survival).

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list