Hi all --
I am doing thousands of preliminary plots to investigate the
relationship between daily measurements of forest fire intensity and
the aerosol optical thickness (AOT) as measured by MODIS. Values for
AOT are null if there is any cloud in the atmospheric column, so
these data are spotty at best. On average I have values for 200 out
of 365 days.
I would like to fit a smoothed line through the AOT values to get a
better visualization of what's happening, but all of the functions
(smooth, lowess, spline) seem not to accept NAs. However, if I run
smoothing plots from the GUI they work just fine so it must be
dealing with these null values somehow.
Can anyone suggest a quick fix?
Many thanks,
Sarah
|