r roc曲线 语言_医学统计与R语言:多条ROC曲线的AUC多重比较

  • Post author:
  • Post category:其他


微信公众号:

医学统计与R语言


简介


Syntax




输入1:

install.packages("nsROC")
library(nsROC)
library(pROC)
library(rio)
multiroc import("multiroc.xlsx")
head(multiroc)




结果1:

     response   p1     p2     p3
1         1 0.36584 0.91569 0.64800
2         0 0.07839 0.47686 0.12986
3         0 0.08692 0.20891 0.09109
4         0 0.10129 0.14874 0.08886
5         0 0.18985 0.19236 0.16542
6         0 0.15760 0.47686 0.21927
7         0 0.07442 0.17683 0.07466
8         1 0.73623 0.81092 0.81884
9         1 0.90595 0.75883 0.91529
10



版权声明:本文为weixin_39604139原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。