Added function 'subsetdata.ds' and 'subsetvar.ds'.