Displaying 1 result from an estimated 1 matches for "yzdiff".
Did you mean:
xzdiff
2013 Feb 16
1
subplot (Hmisc) and radial.plot (plotrix) problem
...ry(Hmisc)
library(plotrix)
library(plyr)
# Create a data frame of ordinal results #####################
X <-c(1,3,4,5,3,2,4,4,5,2,1,3,3,2,4)
Y <-c(1,2,2,4,1,1,2,3,3,1,2,2,4,1,2)
Z <-c(1,2,1,2,1,1,3,2,2,2,1,2,2,1,1)
data <-as.data.frame(cbind(X,Y,Z))
data$xydiff <-data$X - data$Y
data$yzdiff <-data$Y - data$Z
# Create the background frame for the subplots #################
plot(1, type="n", xlim=c(0,21),
ylim = c(1,5),
main="Score Changes",
xlab="Days" , ylab="Ashworth Scale")
# Work through...