我正在尝试使用包圆形中的 plot.circular 从 R 中的鸽子中绘制消失的轴承数据。我的 R 包是最新的
目前我有两个问题 1)由于某种原因,270 和 90 处的轴承被绘制得比它们应该的更接近 0。2)我想在圆圈内而不是在圆圈外绘制数据
干杯乔什
示例代码:
###Data
VB<-rad(c(0,90,90,180,180,180,270,270,270,270))
##Make circular
VB<-as.circular(VB, type = 'angles',units = "radians",
template = "none", modulo = "asis",
zero = pi/2, rotation = c("clock"))
##Plot
plot.circular(VB, pch = 16, cex = 1, stack = TRUE,
axes = FALSE, sep = 0.07, shrink = 1, bins = NULL, ticks = FALSE,
tcl = 0.025, tcl.text = 0.125, col = NULL, tol = 0.04, uin = NULL,
xlim = c(-1, 1), ylim = c(-1, 1), digits = 6, units = "radians",
template = NULL, zero = pi/2, rotation = "clock",
main = "", sub="", xlab = "", ylab = "",
control.circle=circle.control())