Missing values; some subsetting; and casting