#______ Vocational Interests Scale: Sample Correlation Matrix. N=175 _____
R.vocational=matrix(c(
1,0,0,0,0,0,0,
0.654,1,0,0,0,0,0,
0.453,0.644,1,0,0,0,0,
0.251,0.440,0.757,1,0,0,0,
0.122,0.158,0.551,0.493,1,0,0,
0.218,0.210,0.570,0.463,0.754,1,0,
0.496,0.264,0.366,0.202,0.471,0.650,1
),7,7,byrow=TRUE)
R=R.vocational+t(R.vocational)-diag(diag(R.vocational))
v.names=c("Health","Science","Technology","Trades","Business Operations",
"Business Contact","Social")
dimnames(R)=list(v.names,v.names)
## Not run:
#
# model=CircE.BFGS(R,v.names,m=3,N=175,r=1)
#
# CircE.Plot(object=model, pchar = 24, bg.points = "transparent", ef = -0.4,
# big.points = 15, big.labels=6, bg.plot = "white", col.axis = "black",
# color = "black", col.text = "black",
# twodim=FALSE,bound=TRUE,labels=TRUE)
# ## End(Not run)
#______________ Block's correlation matrix. N=48 ________
data(Block)
block.names=colnames(Block)
## Not run:
#
# Block.m.1<-CircE.BFGS(R=Block,v.names=block.names,m=1,N=48,start.values="PFA")
#
# CircE.Plot(object=Block.m.1, pchar = 24, bg.points = "gray", ef = -0.4,
# big.points = 25, big.labels=15, bg.plot = "orange", col.axis = "blue",
# color = "black", col.text = "red",
# twodim=FALSE,bound=TRUE,labels=TRUE)
#
#
# CircE.Plot(object=Block.m.1, pchar = 21, bg.points = "red", ef = -0.4,
# big.points = 25, big.labels=15, bg.plot = "white", col.axis = "black",
# color = "black", col.text = "white",
# twodim=FALSE,bound=TRUE,labels=TRUE)
#
#
# CircE.Plot(object=Block.m.1, pchar = 21, bg.points = "red", ef = -0.2,
# big.points = 25, big.labels=15, bg.plot = "black", col.axis = "green",
# color = "white", col.text = "yellow",
# twodim=FALSE,bound=TRUE,labels=TRUE)
# ## End(Not run)
Run the code above in your browser using DataLab