Remove NA and stations with too many NA

manage_na(data, na_thresh = 0.1)

Arguments

data

formatted sftime (with columns: site_id, temp, time)

na_thresh

threshold of NA to remove a station (0 <= na_tresh <= 1)

Value

cleaned data.frame