How to plot the scree plot with line in R

r
factor_analysis

#1

I am solving a question on factor analysis while studying I came to know that to select the number of components in factor analysis we have to select select that component which are not parallel to x axis in scree plot but I am not able to plot scree plot with line I am able to plot with bars.
screeplot(model, main=“Scree Plot”, xlab=“Components”)


#2

@harry-you can use the type attribute to create line .
screseplot(model, main=“Scree Plot”, type=“line” )

Hope this helps!
Regards,
hinduja1234