Hi David,
as long as it is a matrix with dates as column names, it should work. When indexing with [] I just found R doesn't return a matrix (instead, numeric), which makes camopPlot fail. Using subset on the camera operation matrix works though.
example("cameraOperation")
# this works
camopPlot(subset(camop_problem, subset = rownames(camop_problem) == "StationA"))
# this doesn't
camopPlot(camop_problem[1,])
Error in seq.default(from = 0, to = 1, length.out = nrow(camOp)) :
argument 'length.out' must be of length 1
I hope this helps. Never considered the case of plotting it for one station only. Please let me know if you need more assistance or if this is not what you had in mind.
Best regards,
Jürgen