2013-10-17 2 views

답변

1

음모 또는 상관 관계 coeff가 필요한가요? R 제곱은 "두 열 사이의 상관 관계"와 동일하지 않습니다 조정

pdf(file="myplot.pdf", width = 10, height =13) #create new pdf 
plot(diff ~ abund_mean) #see data 
abline(lm<- lm(diff ~ abund_mean)) #add regression to plot 
legend("topright", bty="n", legend=paste 
("R2 is", format(summary(lm)$adj.r.squared, digits=4))) #print the regr. coeff. on plot 
dev.off() #end of pdf creation 
summary(lm) #see all the regression coefficients (F-statistic, RSE, etc.) 
+0

: 이 당신에게 R^2 산점도를 제공합니다. – Roland

+0

당신은 rigth입니다. 어쩌면 그는 작품 "작품"을 연구해야 할 것입니다. Shaxi Liver는 상관 계수와 유의도를 필요로한다고 생각합니다. – FraNut

+0

사람들이 왜 내 평판을 다운 그레이드하는지 알 수 없습니다. 내가 잘못 했습니까? 아니면 바보 같은 질문이었을 까? –

관련 문제