Hi all,

 

I am using the example on page 737 of "The R Book" by Michael J Crawley,
to plot factor loadings against each other (in a multivariate analysis).

 

However the following line code

 

 

plot(loadings(model)[,1],loadings(model)[,2],pch=16,xlab="Factor 1",
ylab="Factor 2")

 

throws an error message

 

"Error in plot.window(...) : need finite 'xlim' values

In addition: Warning messages:

1: In min(x) : no non-missing arguments to min; returning Inf

2: In max(x) : no non-missing arguments to max; returning -Inf

3: In min(x) : no non-missing arguments to min; returning Inf

4: In max(x) : no non-missing arguments to max; returning -Inf"

 

I have tried putting in values for the x and y limits, but even then no
points appear in my plots.

 

Does anyone know what I am doing wrong?

 

Grateful for any help.

 

Simon Hayward

 


	[[alternative HTML version deleted]]

