urine: Urine Data

Description Usage Format Source References Examples

Description

The urine data frame has 77 rows and 7 columns.

79 urine specimens were analyzed in an effort to determine if certain physical characteristics of the urine might be related to the formation of calcium oxalate crystals.

Usage

1

Format

This data frame contains the following columns:

r

indicator of the presence of calcium oxalate crystals;

gravity

the specific gravity of the urine, i.e. the density of urine relative to water;

ph

the pH reading of the urine;

osmo

the osmolarity of the urine. Osmolarity is proportional to the concentration of molecules in solution (mOsm).

conduct

The conductivity of the urine. Conductivity is proportional to the concentration of charged ions in solution (mMho milliMho).

urea

the urea concentration in millimoles per litre;

calc

the calcium concentration in millimoles per litre.

Source

The data were obtained from

Andrews, D. F. and Herzberg, A. M. (1985) Data: A Collection of Problems from Many Fields for the Student and Research Worker, Cambridge: Cambridge University Press.

References

Davison, A. C. and Hinkley, D. V. (1997). Bootstrap Methods and Their Application (Example 7.8). Cambridge: Cambridge University Press.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
data(urine)
summary(urine)
pairs(urine)
##
data(urine)
urine.glm <- glm(r ~ gravity + ph + osmo + conduct + urea + log(calc), 
                 family = binomial, data = urine)
labels(coef(urine.glm))
urine.cond <- cond(urine.glm, log(calc))
##
## (large estimate of regression coefficient)
urine.glm <- glm(r ~ gravity + ph + osmo + conduct + urea + calc, 
                 family = binomial, data = urine)
coef(urine.glm)
urine.glm <- glm(r ~ I(gravity * 100) + ph + osmo + conduct + urea + calc, 
                 family = binomial, data = urine)
coef(urine.glm)
urine.cond <- cond(urine.glm, I(gravity * 100))

Example output

Loading required package: statmod
Loading required package: survival

   Package "cond" 1.2-3 (2014-06-27) 
    Copyright (C) 2000-2014 A. R. Brazzale

 This is free software, and you are welcome to redistribute
 it and/or modify it under the terms of the GNU General
 Public License published by the Free Software Foundation.
 Package "cond" comes with ABSOLUTELY NO WARRANTY.

 type `help(package="cond")' for summary information

 r         gravity            ph             osmo           conduct     
 0:44   Min.   :1.005   Min.   :4.760   Min.   : 187.0   Min.   : 5.10  
 1:33   1st Qu.:1.012   1st Qu.:5.530   1st Qu.: 410.0   1st Qu.:14.30  
        Median :1.018   Median :5.940   Median : 594.0   Median :21.40  
        Mean   :1.018   Mean   :6.041   Mean   : 613.6   Mean   :20.91  
        3rd Qu.:1.024   3rd Qu.:6.400   3rd Qu.: 803.0   3rd Qu.:27.00  
        Max.   :1.040   Max.   :7.940   Max.   :1236.0   Max.   :38.00  
      urea            calc      
 Min.   : 10.0   Min.   : 0.17  
 1st Qu.:159.0   1st Qu.: 1.45  
 Median :255.0   Median : 3.16  
 Mean   :262.4   Mean   : 4.16  
 3rd Qu.:362.0   3rd Qu.: 6.19  
 Max.   :620.0   Max.   :14.34  
[1] "(Intercept)" "gravity"     "ph"          "osmo"        "conduct"    
[6] "urea"        "log(calc)"  
  (Intercept)       gravity            ph          osmo       conduct 
-355.33770709  355.94379390   -0.49570188    0.01681128   -0.43281891 
         urea          calc 
  -0.03201315    0.78369128 
     (Intercept) I(gravity * 100)               ph             osmo 
   -355.33770709       3.55943794      -0.49570188       0.01681128 
         conduct             urea             calc 
     -0.43281891      -0.03201315       0.78369128 

cond documentation built on May 2, 2019, 6:45 a.m.