Fork of original vars package in R by Bernhard Pfaff.