The table represents an absolute value function f(x).


x f(x)
−5 1
−4 0
−3 1
−2 2
−1 3
0 4
1 5
2 6
3 7

What are the vertex and range of the function?