# data
varnames <- letters[1:20]
set.seed (56445)
corr <- rnorm(20, 0, 0.5)
#plot using the package plotrix
require(plotrix)
par(mfrow=c(3,1)) # for graph arrangement
polar.plot(corr, polar.pos=NULL, labels = varnames, main="Polar Plot",lwd=3,line.col=4)
# different style variations
# typle s
polar.plot(corr, polar.pos=NULL, labels = varnames, main="Polar Plot, type s", rp.type="s")
# type p
polar.plot(corr, polar.pos=NULL, labels = varnames, main="Polar Plot, type p",lwd=3,line.col=4, rp.type="p")
varnames <- letters[1:20]
set.seed (56445)
corr <- rnorm(20, 0, 0.5)
#plot using the package plotrix
require(plotrix)
par(mfrow=c(3,1)) # for graph arrangement
polar.plot(corr, polar.pos=NULL, labels = varnames, main="Polar Plot",lwd=3,line.col=4)
# different style variations
# typle s
polar.plot(corr, polar.pos=NULL, labels = varnames, main="Polar Plot, type s", rp.type="s")
# type p
polar.plot(corr, polar.pos=NULL, labels = varnames, main="Polar Plot, type p",lwd=3,line.col=4, rp.type="p")
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.