[R] How to write a regression model for finding the radius of a cylinder given height and volume

2014-02-10 Thread nivek
Hello, 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 r

Re: [R] How to write a regression model for finding the radius of a cylinder given height and volume

2014-02-10 Thread nivek
Thank you for your help. This is not homework however and my difficulty is in the fact that i cannot figure out how the declare a variable for the height or the volume given a data set where the matrix is already formed. I have looked on many sites for the is answer and it seems like it would be an