Whenever different parts of the militia are ordered out together for any services within the state, or otherwise are on duty together, the senior commissioned officer of the field or line of the national guard shall be in command of all those different parts of the militia.
R.I. Gen. Laws § 30-1-11