predict.cocktail: make predictions from a "cocktail" object.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/method.R

Description

Similar to other predict methods, this functions predicts fitted values, link function and more from a fitted cocktail object. This function is modified based on the predict function from the glmnet package.

Usage

1
2
## S3 method for class 'cocktail'
predict(object,newx,s=NULL,type=c("link","response","coefficients","nonzero"),...)

Arguments

object

fitted cocktail model object.

newx

matrix of new values for x at which predictions are to be made. Must be a matrix. This argument is not used for type=c("coefficients","nonzero")

s

value(s) of the penalty parameter lambda at which predictions are required. Default is the entire sequence used to create the model.

type

type of prediction required.

  • Type "link" gives the linear predictors for Cox's model.

  • Type "response" gives the fitted relative-risk for Cox's model.

  • Type "coefficients" computes the coefficients at the requested values for s.

  • Type "nonzero" returns a list of the indices of the nonzero coefficients for each value of s.

...

Not used. Other arguments to predict.

Details

s is the new vector at which predictions are requested. If s is not in the lambda sequence used for fitting the model, the predict function will use linear interpolation to make predictions. The new values are interpolated using a fraction of predicted values from both left and right lambda indices.

Value

The object returned depends on type.

Author(s)

Yi Yang and Hui Zou
Maintainer: Yi Yang <yi.yang6@mcgill.ca>

References

Yang, Y. and Zou, H. (2013), "A Cocktail Algorithm for Solving The Elastic Net Penalized Cox's Regression in High Dimensions", Statistics and Its Interface, 6:2, 167-173.
https://github.com/emeryyi/fastcox

Friedman, J., Hastie, T. and Tibshirani, R. (2008) "Regularization Paths for Generalized Linear Models via Coordinate Descent", http://www.stanford.edu/~hastie/Papers/glmnet.pdf
Journal of Statistical Software, Vol. 33(1), 1-22 Feb 2010
http://www.jstatsoft.org/v33/i01/

Simon, N., Friedman, J., Hastie, T., Tibshirani, R. (2011) "Regularization Paths for Cox's Proportional Hazards Model via Coordinate Descent", Journal of Statistical Software, Vol. 39(5) 1-13
http://www.jstatsoft.org/v39/i05/

See Also

coef method

Examples

1
2
3
4
data(FHT)
m1<-cocktail(x=FHT$x,y=FHT$y,d=FHT$status,alpha=0.5)
predict(m1,type="nonzero")
predict(m1,newx=FHT$x[1:5,],type="response")

Example output

$s0
NULL

$s1
[1]  1 45

$s2
[1]  1 45

$s3
[1]  1  7 45

$s4
[1]  1  7 45 55

$s5
[1]  1  7 45 55

$s6
[1]  1  7 12 45 55

$s7
[1]  1  7 12 45 55

$s8
[1]  1  7 12 45 55

$s9
[1]  1  7 12 45 55

$s10
[1]  1  7 12 17 42 45 55

$s11
[1]  1  7 12 14 17 42 45 55 59

$s12
 [1]  1  7 12 14 17 42 45 55 59 74 91

$s13
 [1]   1   7  12  14  17  42  45  55  59  74  91 100

$s14
 [1]   1   7  10  12  14  17  42  45  55  59  74  91 100

$s15
 [1]   1   2   7  10  12  14  17  28  42  45  55  59  74  91 100

$s16
 [1]   1   2   7  10  12  14  17  28  42  45  55  59  74  91 100

$s17
 [1]   1   2   7  10  12  14  17  28  42  45  55  59  71  74  91 100

$s18
 [1]   1   2   7  10  12  14  17  28  42  45  55  59  71  74  91  98 100

$s19
 [1]   1   2   7  10  12  14  17  28  42  45  55  59  71  74  91  96  98 100

$s20
 [1]   1   2   7  10  12  14  17  26  28  42  45  55  56  59  71  74  91  96  98
[20] 100

$s21
 [1]   1   2   7  10  12  14  17  26  28  42  45  55  56  59  71  74  91  96  98
[20] 100

$s22
 [1]   1   2   5   7  10  12  14  17  26  28  42  45  55  56  59  71  74  91  96
[20]  98 100

$s23
 [1]   1   2   5   7  10  12  14  17  26  28  30  42  44  45  55  56  59  71  74
[20]  84  91  96  98 100

$s24
 [1]   1   2   5   7  10  12  14  17  26  28  30  31  42  44  45  55  56  59  71
[20]  74  77  84  91  96  98 100

$s25
 [1]   1   2   5   7  10  12  14  17  26  28  30  31  42  44  45  55  56  59  71
[20]  74  77  84  91  96  98 100

$s26
 [1]   1   2   5   7  10  12  14  17  23  26  28  30  31  42  44  45  55  56  59
[20]  71  74  77  84  91  96  98 100

$s27
 [1]   1   2   5   7  10  12  14  17  23  26  28  30  31  39  42  44  45  55  56
[20]  59  71  74  77  84  88  91  96  98 100

$s28
 [1]   1   2   5   7  10  12  14  17  23  26  28  30  31  39  42  44  45  55  56
[20]  59  71  74  77  84  88  91  96  98 100

$s29
 [1]   1   2   5   7  10  12  14  17  23  26  28  30  31  39  42  44  45  55  56
[20]  59  71  74  75  77  84  88  91  96  98 100

$s30
 [1]   1   2   5   7  10  12  14  17  23  26  28  30  31  39  42  44  45  55  56
[20]  59  71  74  75  77  84  88  91  96  98 100

$s31
 [1]   1   2   5   7  10  12  14  17  23  26  28  30  31  39  42  44  45  55  56
[20]  59  63  71  74  75  77  84  88  91  96  98 100

$s32
 [1]   1   2   5   7  10  12  14  23  26  28  30  31  39  42  44  45  55  56  59
[20]  63  71  74  75  77  84  88  91  96  98 100

$s33
 [1]   1   2   5   7  10  11  12  14  23  26  28  30  31  39  42  44  45  55  56
[20]  59  63  71  74  75  77  84  88  91  96  98 100

$s34
 [1]   1   2   3   5   7  10  11  12  14  23  26  28  30  31  39  40  42  44  45
[20]  48  55  56  59  63  71  74  75  77  84  88  91  96  98 100

$s35
 [1]   1   2   3   5   7  10  11  12  14  23  26  28  30  31  39  40  42  44  45
[20]  48  55  56  59  63  71  74  75  77  84  88  91  96  98 100

$s36
 [1]   1   2   3   5   7  10  11  12  14  23  26  28  30  31  39  40  42  44  45
[20]  48  55  56  59  63  71  74  75  77  84  88  91  96  98 100

$s37
 [1]   1   2   3   5   7  10  11  12  14  23  26  28  30  31  39  40  42  44  45
[20]  48  55  56  59  63  71  74  75  77  84  88  91  96  98 100

$s38
 [1]   1   2   3   5   7   8  10  11  12  14  16  23  26  28  30  31  39  40  42
[20]  44  45  48  49  55  56  59  62  63  65  71  74  75  77  84  88  91  96  98
[39] 100

$s39
 [1]   1   2   3   5   7   8  10  11  12  14  16  23  26  28  30  31  39  40  42
[20]  44  45  48  49  55  56  59  62  63  64  65  71  74  75  77  84  88  91  96
[39]  98 100

$s40
 [1]   1   2   3   5   7   8  10  11  12  14  16  23  26  28  31  39  40  42  44
[20]  45  48  49  55  56  59  62  63  64  65  71  74  75  77  84  88  91  96  98
[39] 100

$s41
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  23  26  28  31  32  39  40
[20]  42  44  45  48  49  55  56  59  62  63  64  65  71  74  75  77  84  88  96
[39]  98 100

$s42
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  23  26  28  31  32  39  40
[20]  42  44  45  48  49  55  56  59  62  63  64  65  71  74  75  77  84  88  96
[39]  98 100

$s43
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  23  26  28  31  32  37  39
[20]  40  42  44  45  46  48  49  55  56  58  59  62  63  64  65  71  72  74  75
[39]  77  84  88  96  98 100

$s44
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  23  26  28  31  32  37  39
[20]  40  42  44  45  46  48  49  55  56  58  59  62  63  64  65  71  72  74  75
[39]  77  84  88  96  98 100

$s45
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  23  26  28  31  32  36  37
[20]  39  40  42  44  45  46  48  49  55  56  58  59  62  63  64  65  70  71  72
[39]  74  75  77  84  86  88  96  98 100

$s46
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  23  26  28  31  32  34  36
[20]  37  39  40  41  42  44  45  46  48  49  55  56  58  59  62  63  64  65  70
[39]  71  72  74  75  77  84  86  88  96  98 100

$s47
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  23  26  28  31  32  34  36
[20]  37  39  40  41  42  44  45  46  48  49  55  56  58  59  62  63  64  65  70
[39]  71  72  73  74  75  77  84  86  88  96  98 100

$s48
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  23  26  28  31  32  34  36
[20]  37  39  40  41  42  44  45  46  47  48  49  55  56  58  59  62  63  64  65
[39]  70  71  72  73  74  75  77  83  84  86  88  96  98 100

$s49
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  18  23  26  28  31  32  34
[20]  36  37  39  40  41  42  44  45  46  47  48  49  55  56  58  59  62  63  64
[39]  65  70  71  72  73  74  75  77  83  84  86  88  96  98 100

$s50
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  18  23  26  28  31  32  34
[20]  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58  59  62  63
[39]  64  65  70  71  72  73  74  75  77  83  84  86  88  96  98 100

$s51
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  18  23  26  28  31  32  34
[20]  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58  59  62  63
[39]  64  65  70  71  72  73  74  75  77  83  84  86  88  96  98 100

$s52
 [1]   1   2   3   7   8  10  11  12  14  16  17  18  23  26  28  31  32  34  36
[20]  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58  59  62  63  64
[39]  65  66  70  71  72  73  74  75  77  83  84  86  88  96  98 100

$s53
 [1]   1   2   3   7   8  10  11  12  14  16  17  18  23  26  28  31  32  34  36
[20]  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58  59  62  63  64
[39]  65  66  70  71  72  73  74  75  77  83  84  86  88  96  98 100

$s54
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  18  23  26  28  31  32  34
[20]  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58  59  62  63
[39]  64  65  66  70  71  72  73  74  75  77  83  84  86  88  96  98 100

$s55
 [1]   1   2   3   5   7   8  10  11  12  14  16  17  18  23  26  28  31  32  34
[20]  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58  59  62  63
[39]  64  65  66  70  71  72  73  74  75  77  83  84  86  88  95  96  98 100

$s56
 [1]   1   2   3   5   7   8  10  11  12  14  15  16  17  18  23  26  27  28  31
[20]  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58  59
[39]  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  88  95  96  98
[58] 100

$s57
 [1]   1   2   3   5   7   8  10  11  12  14  15  16  17  18  23  26  27  28  31
[20]  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58  59
[39]  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  88  93  95  96
[58]  98 100

$s58
 [1]   1   2   3   5   7   8  10  11  12  14  15  16  17  18  23  26  27  28  31
[20]  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58  59
[39]  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87  88  93  95
[58]  96  98 100

$s59
 [1]   1   2   3   5   7   8   9  10  11  12  14  15  16  17  18  23  26  27  28
[20]  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58
[39]  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87  88  93
[58]  95  96  98 100

$s60
 [1]   1   2   3   5   7   8   9  10  11  12  14  15  16  17  18  23  26  27  28
[20]  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58
[39]  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87  88  93
[58]  95  96  98 100

$s61
 [1]   1   2   3   5   7   8   9  10  11  12  14  15  16  17  18  23  26  27  28
[20]  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58
[39]  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87  88  93
[58]  95  96  98 100

$s62
 [1]   1   2   3   5   7   8   9  10  11  12  14  15  16  17  18  23  26  27  28
[20]  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58
[39]  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87  88  93
[58]  95  96  98 100

$s63
 [1]   1   2   3   5   7   8   9  10  11  12  14  15  16  17  18  23  26  27  28
[20]  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58
[39]  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87  88  93
[58]  95  96  98 100

$s64
 [1]   1   2   3   5   7   8   9  10  11  12  14  15  16  17  18  23  26  27  28
[20]  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58
[39]  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87  88  93
[58]  95  96  98 100

$s65
 [1]   1   2   3   5   7   8   9  10  11  12  14  15  16  17  18  23  26  27  28
[20]  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58
[39]  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87  88  93
[58]  95  96  98 100

$s66
 [1]   1   2   3   5   7   8   9  10  11  12  14  15  16  17  18  23  26  27  28
[20]  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58
[39]  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87  88  90
[58]  93  95  96  98 100

$s67
 [1]   1   2   3   5   7   8   9  10  11  12  14  15  16  17  18  23  26  27  28
[20]  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58
[39]  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87  88  90
[58]  93  95  96  98 100

$s68
 [1]   1   2   3   5   7   8   9  10  11  12  14  15  16  17  18  23  26  27  28
[20]  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58
[39]  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87  88  90
[58]  93  95  96  98 100

$s69
 [1]   1   2   3   5   7   8   9  10  11  12  14  15  16  17  18  23  26  27  28
[20]  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55  56  58
[39]  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87  88  90
[58]  93  95  96  98 100

$s70
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55
[39]  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87
[58]  88  90  93  95  96  98 100

$s71
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55
[39]  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87
[58]  88  90  93  95  96  98 100

$s72
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55
[39]  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87
[58]  88  90  93  95  96  98 100

$s73
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55
[39]  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87
[58]  88  90  93  95  96  98 100

$s74
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  54  55
[39]  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86  87
[58]  88  90  93  94  95  96  98 100

$s75
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  98 100

$s76
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  98 100

$s77
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  98 100

$s78
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  98 100

$s79
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  98 100

$s80
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  98 100

$s81
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  98 100

$s82
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  98 100

$s83
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  98 100

$s84
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  97  98 100

$s85
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  97  98 100

$s86
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  97  98 100

$s87
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  97  98 100

$s88
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  97  98 100

$s89
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  97  98 100

$s90
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  97  98 100

$s91
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  97  98 100

$s92
 [1]   1   2   3   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26  27
[20]  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52  54
[39]  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84  86
[58]  87  88  90  93  94  95  96  97  98 100

$s93
 [1]   1   2   3   4   5   6   7   8   9  10  11  12  14  15  16  17  18  23  26
[20]  27  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49  52
[39]  54  55  56  58  59  62  63  64  65  66  70  71  72  73  74  75  77  83  84
[58]  86  87  88  90  93  94  95  96  97  98 100

$s94
 [1]   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  23
[20]  26  27  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49
[39]  52  54  55  56  58  59  62  63  64  65  66  67  70  71  72  73  74  75  77
[58]  83  84  86  87  88  90  93  94  95  96  97  98 100

$s95
 [1]   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  23
[20]  26  27  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49
[39]  52  54  55  56  58  59  60  62  63  64  65  66  67  70  71  72  73  74  75
[58]  77  83  84  86  87  88  90  93  94  95  96  97  98 100

$s96
 [1]   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  23
[20]  26  27  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49
[39]  52  54  55  56  58  59  60  62  63  64  65  66  67  70  71  72  73  74  75
[58]  77  83  84  86  87  88  90  92  93  94  95  96  97  98 100

$s97
 [1]   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  23
[20]  26  27  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49
[39]  52  54  55  56  58  59  60  62  63  64  65  66  67  70  71  72  73  74  75
[58]  77  83  84  86  87  88  90  92  93  94  95  96  97  98 100

$s98
 [1]   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  23
[20]  26  27  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49
[39]  52  54  55  56  58  59  60  62  63  64  65  66  67  70  71  72  73  74  75
[58]  77  83  84  86  87  88  90  92  93  94  95  96  97  98 100

$s99
 [1]   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  16  17  18  23
[20]  26  27  28  29  31  32  34  36  37  39  40  41  42  44  45  46  47  48  49
[39]  52  54  55  56  58  59  60  62  63  64  65  66  67  70  71  72  73  74  75
[58]  77  83  84  86  87  88  90  92  93  94  95  96  97  98 100

     s0        s1        s2        s3        s4        s5        s6        s7
[1,]  1 1.0071772 1.0138062 1.0162776 1.0137948 1.0173613 1.0284648 1.0411724
[2,]  1 1.0085466 1.0164244 1.0204196 1.0193087 1.0137390 0.9981481 0.9779583
[3,]  1 1.0021434 1.0049781 1.0061824 1.0059111 1.0201654 1.0352270 1.0481136
[4,]  1 0.9927692 0.9868190 0.9789941 0.9682762 0.9565943 0.9590135 0.9669902
[5,]  1 0.9853182 0.9702807 0.9560901 0.9425730 0.9277099 0.9145780 0.9027746
            s8        s9       s10       s11       s12       s13       s14
[1,] 1.0534816 1.0654043 1.0769933 1.0712620 1.0553290 1.0425237 1.0413036
[2,] 0.9580681 0.9382723 0.9252344 0.9381715 0.9984776 1.0641310 1.1652444
[3,] 1.0604097 1.0721500 1.0834289 1.1033644 1.1546791 1.2108461 1.2483411
[4,] 0.9752592 0.9839825 0.9887672 1.0015633 1.0156773 1.0203529 1.0132680
[5,] 0.8915637 0.8809188 0.8729853 0.8719713 0.8553752 0.8367685 0.8245973
           s15       s16       s17       s18       s19       s20       s21
[1,] 1.0430105 1.0468994 1.0514665 1.0570118 1.0530885 1.0415897 1.0237355
[2,] 1.2869694 1.4172269 1.5534375 1.7125283 1.8903265 2.0911139 2.3335691
[3,] 1.2757243 1.2976107 1.3186105 1.3512619 1.3805044 1.4081640 1.4347045
[4,] 0.9912623 0.9665460 0.9435596 0.9267030 0.9257300 0.9304902 0.9368666
[5,] 0.8312562 0.8436137 0.8575535 0.8728257 0.8986487 0.9277569 0.9555024
           s22       s23       s24       s25       s26       s27       s28
[1,] 1.0057138 0.9897721 0.9768041 0.9632742 0.9476442 0.9351763 0.9201755
[2,] 2.5965085 2.8537132 3.1105810 3.3094320 3.5135419 3.7108843 3.9191244
[3,] 1.4594993 1.4800571 1.4910696 1.4813094 1.4776406 1.4729988 1.4668186
[4,] 0.9455815 0.9597916 0.9750166 0.9788509 0.9865537 0.9964370 1.0101404
[5,] 0.9863244 1.0324144 1.0907815 1.1739355 1.2547970 1.3381513 1.4326555
           s29      s30       s31       s32       s33       s34       s35
[1,] 0.9074936 0.899085 0.8917094 0.8846055 0.8773223 0.8687813 0.8577652
[2,] 4.1404792 4.380314 4.6364035 4.9380891 5.2665345 5.6192554 6.0077547
[3,] 1.4598807 1.451292 1.4428824 1.4340623 1.4262489 1.4151032 1.4012636
[4,] 1.0249997 1.042008 1.0604707 1.0828850 1.1047651 1.1255828 1.1448226
[5,] 1.5325145 1.637764 1.7476527 1.8637741 1.9829067 2.1111324 2.2465367
          s36       s37      s38       s39       s40       s41       s42
[1,] 0.845879 0.8336675 0.811240 0.7860199 0.7587272 0.7382511 0.7150757
[2,] 6.420698 6.8627513 7.329208 7.8254334 8.3509655 8.9293079 9.5832844
[3,] 1.386944 1.3721296 1.350616 1.3313857 1.3145559 1.2972948 1.2813333
[4,] 1.162490 1.1796399 1.185780 1.1880219 1.1907073 1.1859297 1.1808304
[5,] 2.386261 2.5313735 2.705967 2.8834970 3.0646730 3.2456715 3.4388437
            s43        s44        s45        s46        s47        s48
[1,]  0.6913376  0.6668397  0.6445475  0.6254662  0.6088654  0.5903371
[2,] 10.3353832 11.2202376 12.2310684 13.3394554 14.5730052 15.9608756
[3,]  1.2647001  1.2428123  1.2231922  1.2026214  1.1795170  1.1549473
[4,]  1.1775438  1.1768188  1.1750288  1.1705966  1.1644943  1.1574295
[5,]  3.6471549  3.8897105  4.1792877  4.5107873  4.8616234  5.2390083
            s49        s50        s51        s52        s53        s54
[1,]  0.5725764  0.5568251  0.5424775  0.5278639  0.5136136  0.5002052
[2,] 17.5431137 19.2967314 21.2668718 23.5378341 26.1344661 29.0436770
[3,]  1.1306378  1.1068736  1.0842438  1.0643020  1.0458155  1.0283727
[4,]  1.1494440  1.1421781  1.1355937  1.1303238  1.1261385  1.1228628
[5,]  5.6637566  6.1273519  6.6368583  7.2122682  7.8502625  8.5433615
            s55        s56        s57        s58        s59        s60
[1,]  0.4873233  0.4747073  0.4619260  0.4492423  0.4362862  0.4230343
[2,] 32.3856437 36.2370356 40.6515923 45.7905940 51.5898715 58.2854278
[3,]  1.0116762  0.9958083  0.9812592  0.9663852  0.9497520  0.9323831
[4,]  1.1200121  1.1171885  1.1154107  1.1134865  1.1094742  1.1043158
[5,]  9.3215781 10.1941121 11.1433727 12.2065069 13.3592995 14.6432664
            s61        s62        s63        s64         s65         s66
[1,]  0.4100071  0.3969547  0.3840540  0.3715819   0.3590370   0.3469326
[2,] 65.8458516 74.6166762 84.7491277 96.2583439 109.9283060 125.4535288
[3,]  0.9148438  0.8967537  0.8784169  0.8603333   0.8416226   0.8234090
[4,]  1.0984131  1.0918790  1.0847966  1.0773427   1.0693750   1.0609377
[5,] 16.0429895 17.6097918 19.3550114 21.2655287  23.4519440  25.8407487
             s67         s68         s69         s70         s71         s72
[1,]   0.3342260   0.3213112   0.3086822   0.2966850   0.2851051   0.2736484
[2,] 143.7874794 165.5757301 190.8650351 220.4667122 254.6833526 295.8525928
[3,]   0.8047965   0.7855713   0.7664266   0.7471837   0.7282048   0.7088229
[4,]   1.0503082   1.0388797   1.0270599   1.0149957   1.0034619   0.9913761
[5,]  28.5264795  31.5916657  35.0033377  38.8260241  43.0570252  47.9358291
             s73         s74         s75         s76         s77         s78
[1,]   0.2627666   0.2520880   0.2414813   0.2315972   0.2217161   0.2119663
[2,] 343.4943204 400.0580203 467.2883023 546.8295419 641.0629157 752.9680031
[3,]   0.6900239   0.6711793   0.6525446   0.6317762   0.6108553   0.5898130
[4,]   0.9792857   0.9669796   0.9536455   0.9364726   0.9182999   0.8993596
[5,]  53.3367800  59.4769880  66.4806430  74.3921129  83.3278842  93.4387796
             s79          s80          s81          s82          s83
[1,]   0.2024139    0.1930996    0.1840502    0.1752834    0.1668156
[2,] 886.1530597 1045.0222701 1234.9618558 1462.5683874 1735.9306755
[3,]   0.5687615    0.5478019    0.5270186    0.5064810    0.4862375
[4,]   0.8798236    0.8598379    0.8395205    0.8189676    0.7982232
[5,] 104.8958878  117.9001248  132.6857724  149.5256742  168.7348468
              s84          s85          s86          s87          s88
[1,]    0.1586188    0.1507118    0.1431037    0.1357928    0.1287757
[2,] 2064.9163959 2461.6280224 2941.1693541 3522.0999008 4227.3762013
[3,]    0.4663330    0.4467983    0.4276623    0.4089580    0.3907110
[4,]    0.7774582    0.7566549    0.7358290    0.7150322    0.6943090
[5,]  190.6841252  215.8127933  244.6098189  277.6633041  315.6607143
              s89          s90          s91          s92          s93
[1,]    0.1220481    0.1156047    0.1094395    0.1034759 9.818831e-02
[2,] 5085.4473731 6131.6342232 7409.8674738 8996.2574250 1.092362e+04
[3,]    0.3729412    0.3556643    0.3388922    0.3224133 3.067248e-01
[4,]    0.6736988    0.6532371    0.6329560    0.6126148 5.931142e-01
[5,]  359.4074637  409.8485944  468.0944138  536.3519615 6.145877e+02
              s94          s95          s96          s97          s98
[1,] 9.288784e-02 8.796320e-02 8.318506e-02 7.856019e-02 7.422258e-02
[2,] 1.333319e+04 1.626662e+04 1.989668e+04 2.446394e+04 3.006136e+04
[3,] 2.914472e-01 2.766870e-01 2.626468e-01 2.489802e-01 2.360771e-01
[4,] 5.737544e-01 5.544139e-01 5.356587e-01 5.170443e-01 4.991134e-01
[5,] 7.067690e+02 8.118347e+02 9.347554e+02 1.080368e+03 1.248192e+03
              s99
[1,] 7.004751e-02
[2,] 3.713265e+04
[3,] 2.235271e-01
[4,] 4.813397e-01
[5,] 1.447501e+03

fastcox documentation built on May 2, 2019, 10:25 a.m.