xinzhang created ZEPPELIN-1874:
----------------------------------

             Summary: zeppelin sparkr could not show all the result
                 Key: ZEPPELIN-1874
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1874
             Project: Zeppelin
          Issue Type: Bug
          Components: Interpreters
    Affects Versions: 0.6.2
         Environment: web : chrome 55.0.2883.87 m
linux :centos6
spark2.0.0
scala2.11
R3.3.2
 
            Reporter: xinzhang


zeppelin sparkr could not show all the result
in my zeppelin web:
%spark.r
mtcarsDF <- createDataFrame(mtcars)
model <- glm(vs ~ mpg + disp + hp + wt , data = mtcarsDF, family = "binomial")
summary(model)

results:
Deviance Residuals: 
(Note: These are approximate quantiles with relative error &lt;= 0.01)
     Min        1Q    Median        3Q       Max<br />
-2.11025  -0.08567  -0.00069   0.13214   1.10483

in my linux tty shell:

> summary(model)

Deviance Residuals: 
(Note: These are approximate quantiles with relative error <= 0.01)
     Min        1Q    Median        3Q       Max  
-2.11025  -0.08567  -0.00069   0.13214   1.10483  

Coefficients:
             Estimate   Std. Error  t value  Pr(>|t|)
(Intercept)  -23.623    23.144      -1.0207  0.30739 
mpg          0.78475    0.65026     1.2068   0.2275  
disp         -0.031549  0.027342    -1.1539  0.24854 
hp           -0.072188  0.045509    -1.5862  0.11269 
wt           7.335      5.2336      1.4015   0.16105 

(Dispersion parameter for binomial family taken to be 1)

    Null deviance: 43.860  on 31  degrees of freedom
Residual deviance: 12.873  on 27  degrees of freedom
AIC: 22.87

Number of Fisher Scoring iterations: 9

> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to