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


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

What are the vertex and range of the function?