Displaying 2 results from an estimated 2 matches for "age_years".
2006 Jan 25
0
Another crack at age calculations
..." months"
end
if age_my[0] >= 1
month_year = age_my[0].to_s + " years " + age_my[1].to_s + " months"
end
if age_my[1] == 0
month_year = age_my[0].to_s + " years"
end
return month_year
end
def age_year(dob)
age_years = age(dob)
if age_years[0] == 0
year = age_years[1].to_s + " months"
end
if age_years[0] >= 1
year = age_years[0].to_s + " years"
end
return year
end
end
----------------------------------------------------------------
This message was sent...
2018 Mar 23
1
restricted cubic spline in FGR function
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?
Regards
Amalraj Raja
The University of Aberdeen is a charity registered in Scotland, No SC013683.
Tha Oilthigh Obar Dheathain...