[R] How to write a regression model for finding the radius of a cylinder given height and volume
dcarlson at tamu.edu
Mon Feb 10 19:58:38 CET 2014
We have a policy of not doing your homework for you, but I can point you to a valuable resource for learning R http://cran.r-project.org/doc/contrib/Paradis-rdebuts_en.pdf. Your problem involves simple arithmetic. There is no regression problem unless you are trying to predict height from volume or volume from height (assuming that radius is constant).
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of nivek
Sent: Monday, February 10, 2014 8:40 AM
To: r-help at r-project.org
Subject: [R] How to write a regression model for finding the radius of a cylinder given height and volume
I’m new to R and I’m trying to solve a simple problem for finding the radius
of a cylinder given the height and volume. I’ve included the data file where
the height in cm is column 2 and volume is in column 1. I know the equation
needed is r= √(V/H(3.14)). My question is how do I code this regression
model in r. Any help is greatly appreciated.
View this message in context: http://r.789695.n4.nabble.com/How-to-write-a-regression-model-for-finding-the-radius-of-a-cylinder-given-height-and-volume-tp4685033.html
Sent from the R help mailing list archive at Nabble.com.
R-help at r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help