varTable() function gains factor argument