Dear Robert,
this is really not asking for help about R but rather wishing
for new features of a (very long) existing R function.
Hence this is a topic for the 'R-devel' mailing list
(https://stat.ethz.ch/mailman/listinfo/R-devel )
rather than 'R-help'; see also https://www.r-project.org/mail.h
There is something I do not think is right in the approx() function in base R,
with method="constant" and in the presence of NA values. I have 3.6.0, but the
behavior seems to be the same in earlier versions.
My suggested fix is to add an "na.rm" argument to approx(), as in mean(). If
this argu
2 matches
Mail list logo