[R] restricted cubic spline in FGR function

Raja, Dr. Edwin Amalraj amalraj.raja at abdn.ac.uk
Sat Mar 24 00:05:51 CET 2018

Dear Thomas,

   I want to use evaluate effect of Age using restricted cubic form  in the  FGR function  as
Fgr.crr <- FGR(Hist(time, event) ~ rcs(Age_years), data=dat)

It provides error.  " Error in parse(text = termtext, keep.source = FALSE):  ....   1: response ~ rcs(Age_years

Do I need to change any of the R code?

Amalraj Raja

The University of Aberdeen is a charity registered in Scotland, No SC013683.
Tha Oilthigh Obar Dheathain na charthannas cl?raichte ann an Alba, ?ir. SC013683.

	[[alternative HTML version deleted]]

More information about the R-help mailing list