codes of local slopes by local regression

I am trying to find the local the slopes of the local regressions .

the locfit function gives zeros for value of slopes

anyone knows how to find the value of the slopes ?


Hi there :slight_smile:

Can you provide us with a reprex (FAQ: How to do a minimal reproducible example ( reprex ) for beginners) so we can provide better help?