I want to test whether I could reject a null hypothesis that the data has a median of 600. I need to use the wilcox test or maybe construct it in R, but I am not sure if the builded in test supports for parameter - median? Because I think it may consider the mu as a mean. Anyway it gives a very high p-value so I cannot reject the null hypothesis, but I have doubts that this test doesn't give the right results considering hat I need to check the median not mean.
data <- c(612, 583, 629, 595, 653, 596, 624, 564, 576, 593)
wilcox.test(data, mu = 600)