VACF for gruop

Hello
How do I calculate velocity autocorrelation function for specific groups of atoms?

http://lammps.sandia.gov/doc/compute_vacf.html