endyear()
will return the (integer) value of the
latest year of the object (for example, for the 2005-2009 ACS survey,
endyear
= 2009.) When used for assignment, endyear<-
will
change the value of the endyear slot in an acs object, warning the user
that this is an unusual thing to do.
endyear(object)endyear(object)<-value
an acs object
an integer to use as the new endyear
Returns (or replaces) an integer value from the endyear
slot of an object.
Normal operations on acs objects should not involve altering
the value of endyear (although users may wish to change the value of
currency.year for comparisons with other objects). Sometimes endyear
may be set incorrectly when data is imported, in which case
endyear<-
may be necessary.
currency.year
, which is often what users will be intending to
modify