You were close, but resources and vehicles all use ResourceState to track their status and that function is referenced by the generic expression:
ResourceName.ResourceState.AverageTime(stateValue). You can find the numeric value of StateValue in help if you search on the topic ListStates or ResourceState.
In your case the expression might be:
Vehicle1[1].ResourceState.AverageTime(7) for Transporterting