Displaying 1 result from an estimated 1 matches for "zmdlfit".
2010 Jan 28
4
plotting additive ns components
I have an additive model of the following form :
zmdlfit <- lm(z~ns(x,df=6)+ns(y,df=6))
I can get the fitted values and plot them against z easily enough, but I
also want to both obtain and plot the two additive components (the estimates
of the two additive terms on the RHS)
I've been looking at manuals and searching on the internet and searchin...