문제

How to create a spiral graph in R? Is there any package for this kind of analysis? Or is there any other way to visualize time oriented data (regarding periodicity)?

도움이 되었습니까?

해결책

For examining periodicity, cycle plots (pdf) work well. There are also many, many functions for analysing periodicity in time series. Start with stl and periodicity in the xts package.

Using ggplot2, you can create a spiral graph like this:

library(ggplot2)
data(beavers)
p <- ggplot(beaver1, aes(time, temp, colour = day)) + 
  geom_line() + 
  coord_polar(theta = "x")
p
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top