search for: maxxl

Displaying 1 result from an estimated 1 matches for "maxxl".

Did you mean: maxx
2008 Mar 20
1
Use of Factors
...,2,2,2) # fill the SubjID interp_out[,1]=SubjID; Now fill in interplated values for each visit. interp_out[1:9,4]=hrv1;interp_out[10:18,4]=hrv2; # hrv1 & hrv2 come from the following function, the "lm" parameter is output from the standard lm() function: interpolateToXL = function(lm,maxxl){ int_values=matrix(nrow=9,ncol=1) int_values[1,]=coef(lm)[1]; if (maxxl>25) int_values[2,]=coef(lm)[1]+coef(lm)[2] * 25 if (maxxl>50) int_values[3,]=coef(lm)[1]+coef(lm)[2] * 50 if (maxxl>75) int_values[4,]=coef(lm)[1]+coef(lm)[2] * 75 if (maxxl>100) int_values[5,]=coef(lm)[1]+...