Displaying 1 result from an estimated 1 matches for "iphos1".
Did you mean:
iphost
2012 May 08
1
Automating R for Hypothesis Testing
R Users-
I have been trying to automate a manual code that I have developed for
calling in a .csv file, isolating certain rows and columns that correspond
to specified months:
something to the effect
i=name.csv
N=length(i$month)
iphos1=0
iphos2=0
isphos3=0
for i=1,N
if month=1
iphos1=iphos+1
iphos1(iphos1)=i
an so on to call out the months into there own arrays (unless there is a way
I can wrap it into the next automation)
Next: I would like to run a simple linear regression combining each of the
months 1 by 1:
for ins...