开发者

Spiral Graph in R

开发者 https://www.devze.com 2023-03-23 02:51 出处:网络
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 orient开发者_如何学Ced data (regarding periodicity)? For examining period

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 orient开发者_如何学Ced 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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号