[R] slope calculation

2009-10-21 Thread ms.com

Dear all

I am new R user, and trying to learn more.

I am doing linear regression analysis in R with my data. I am trying to find 
the way to calculate the slope value (coefficient of x) to degree of slope. 
Please give me idea on this.

Thanking you in anticipation

Warm regardMS

  
_


[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] slope calculation

2009-10-21 Thread Eik Vettorazzi

Hi MS,
I think it is simple trigonometry:

atan(beta)

or in degrees instead of radians

atan(beta)*360/(2*pi)

hth.

ms.com schrieb:

Dear all

I am new R user, and trying to learn more.

I am doing linear regression analysis in R with my data. I am trying to find 
the way to calculate the slope value (coefficient of x) to degree of slope. 
Please give me idea on this.

Thanking you in anticipation

Warm regardMS

  		 	   		  
_



[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
  


--
Eik Vettorazzi
Institut für Medizinische Biometrie und Epidemiologie
Universitätsklinikum Hamburg-Eppendorf

Martinistr. 52
20246 Hamburg

T ++49/40/7410-58243
F ++49/40/7410-57790



--
Pflichtangaben gemäß Gesetz über elektronische Handelsregister und 
Genossenschaftsregister sowie das Unternehmensregister (EHUG):

Universitätsklinikum Hamburg-Eppendorf
Körperschaft des öffentlichen Rechts
Gerichtsstand: Hamburg

Vorstandsmitglieder:
Prof. Dr. Jörg F. Debatin (Vorsitzender)
Dr. Alexander Kirstein
Ricarda Klein
Prof. Dr. Dr. Uwe Koch-Gromus
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.