search for: lotsiz

Displaying 3 results from an estimated 3 matches for "lotsiz".

Did you mean: lotsize
2009 Jun 09
2
R command to join data.frames rows with identical keys?
...e an R command to accomplish this in one or two steps. I think I could do this in a "for" loop or something, but think there is might be another way in R to accomplish it smarter. Thanks for any info. neighborhoodInfo1_df<-data.frame(address<-c(101),squareFootage<-c(2000),lotsize<-c(0.75)) neighborhoodInfo2_df<-data.frame(address<-c(108),squareFootage<-c(3000), lotsize<-c(1.25)) neighborhoodInfo_df<-rbind(neighborhoodInfo1_df, neighborhoodInfo2_df) schoolZone1_df<-data.frame(address<-c(101), schoolZone<-c("Sherman&q...
2011 Mar 01
3
Is there any Command showing correlation of all variables in a dataset?
Thanks in advance. I want to derive correlations of variables in a dataset Specifically library(Ecdat) data(Housing) attach(Housing) cor(lotsize, bathrooms) this code results only the correlationship between two variables. But I want to examine all the combinations of variables in this dataset. And I will finally make a table in Latex. How can I test correlations for all combinations of variables? with one simple command? -- View this...
2009 Apr 15
0
confusion over "names" of lm.influence()$hat
...595 600 601 607 [73] 613 615 616 617 618 624 631 637 638 641 645 647 652 653 654 655 656 659 [91] 663 678 681 685 688 689 691 693 694 711 712 > # run the linear regression only including the observations within the distance threshold > result.b <- lm(adjprice~lotsize+squareft+garagesqft +numbath+numbed+time, + data=housedata, + weights=w ) > # collect the hat matrix > print(lm.influence(result.b)$hat) # 345 348 352 357 358 389 3...