Guest User

Untitled

a guest
May 23rd, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 2.53 KB | None | 0 0
  1. #my qucik r analysis on  open data
  2.  
  3. frame1 <- read.csv(file="/Users/Documents/f1",header=TRUE,sep=",");
  4. frame2 <- read.csv(file="/Users/Documents/f2",header=TRUE,sep=",");
  5. frame3 <- read.csv(file="/Users/Documents/f3",header=TRUE,sep=",");
  6. frame4 <- read.csv(file="/Users/Documents/f4",header=TRUE,sep=",");
  7. finalFrame <- merge(frame1,frame2);
  8. finalFrame <- merge(finalFrame,frame3);
  9. finalFrame <- merge(finalFrame,frame4);
  10. summary(finalFrame)
  11.  
  12.  
  13.                   Regione   per.vendere.merci.servizi per.file.sharing per.ricerca.lavoro. pc.1.volta.a.settimana
  14.  Abruzzo              : 1   Min.   : 4.800            Min.   :32.40    Min.   :12.40       Min.   :35.00        
  15.  Basilicata           : 1   1st Qu.: 6.600            1st Qu.:34.60    1st Qu.:13.45       1st Qu.:41.25        
  16.  Calabria             : 1   Median : 8.100            Median :36.30    Median :16.50       Median :43.70        
  17.  Campania             : 1   Mean   : 8.104            Mean   :36.50    Mean   :16.82       Mean   :43.30        
  18.  Emilia-Romagna       : 1   3rd Qu.: 9.050            3rd Qu.:37.90    3rd Qu.:19.30       3rd Qu.:46.20        
  19.  Friuli-Venezia Giulia: 1   Max.   :11.200            Max.   :41.40    Max.   :22.90       Max.   :49.40        
  20.  (Other)              :17                                                                                        
  21.  utilizzatori.pc.a.casa. per.informazioni per.download.moduli per.invio.moduli. con.banda.stretta con.banda.larga
  22.  Min.   :84.90           Min.   :31.60    Min.   :10.80       Min.   :25.20     Min.   : 8.80     Min.   :48.30  
  23.  1st Qu.:87.85           1st Qu.:35.75    1st Qu.:13.10       1st Qu.:27.55     1st Qu.:13.00     1st Qu.:67.35  
  24.  Median :88.50           Median :39.00    Median :13.90       Median :29.00     Median :14.40     Median :73.00  
  25.  Mean   :88.50           Mean   :38.47    Mean   :14.12       Mean   :29.23     Mean   :14.79     Mean   :70.45  
  26.  3rd Qu.:89.10           3rd Qu.:40.85    3rd Qu.:14.65       3rd Qu.:30.45     3rd Qu.:15.80     3rd Qu.:75.15  
  27.  Max.   :92.60           Max.   :45.60    Max.   :18.80       Max.   :36.40     Max.   :26.70     Max.   :80.90  
  28.                                                                                                                  
  29.  con.collegamento.mobile.
  30.  Min.   : 2.100          
  31.  1st Qu.: 4.850          
  32.  Median : 6.100          
  33.  Mean   : 6.491          
  34.  3rd Qu.: 8.600          
  35.  Max.   :13.300
  36.  
  37. library(psych)
  38. m2<-mydata[,setdiff(names(finalFrame), c("Regione"))]
  39. multi.hist(m2)
  40. pairs.panels(finalFrame)
Add Comment
Please, Sign In to add comment