Xavablog – Comments on pROC 1.5 releasedtag:xavier.robin.name,2010-05-28:/feed/comments/proc-1.5-released2012-01-19T17:47:00+01:00daily2https://xavier.robin.name/en/img/favicon.icoXavier Robinhttps://xavier.robin.name/en/contactRe: pROC 1.5 releasedtag:xavier.robin.name,2011-12-12:/blog/2011/12/12/proc-1.5-released#comment4882012-01-19T17:47:00+01:002012-01-19T17:47:00+01:00I'm glad to see it solved your problem!Xavierhttp://xavier.robin.nameRe: pROC 1.5 releasedtag:xavier.robin.name,2011-12-12:/blog/2011/12/12/proc-1.5-released#comment4872012-01-18T21:33:01+01:002012-01-18T21:33:01+01:00Finally pROC is running perfectly in my computer. I will send you some of my production with your development! I am really satisfied and pROC allow to finish a paper for publishing.
<br>My problems were the consequence that when I built R tcl8.5-dev tk8.5-dev packages were not installed. So, I installed them and rebuilt R and all the functions work.
<br>Thank you for your help.Alfredo RigalliRe: pROC 1.5 releasedtag:xavier.robin.name,2011-12-12:/blog/2011/12/12/proc-1.5-released#comment4862012-01-14T16:57:00+01:002012-01-14T16:57:00+01:00Your traceback seems to indicate that pROC is not loaded.
<br>From the output, I see cov.roc is never called. That error message is typical of the cov function included in the stats package (base R).
<br>Try it again after loading pROC with <code>library(pROC)</code>.Xavierhttp://xavier.robin.name/Re: pROC 1.5 releasedtag:xavier.robin.name,2011-12-12:/blog/2011/12/12/proc-1.5-released#comment4852012-01-14T14:44:02+01:002012-01-14T14:44:02+01:00Xavier, I do not know exactly what is a "traceback". But I typed it at the R prompt and I obtained the following
<br>
<br>> traceback()
<br>3: stop(paste(ch, " is not ", if (length(r) > 1L) "all ", "TRUE",
<br> sep = ""), call. = FALSE)
<br>2: stopifnot(is.numeric(x) || is.logical(x), is.atomic(x))
<br>1: cov(rocABC, rocERF)
<br>
<br>rocABC and rocERF were obtained from the data.frame
<br>
<br>> a
<br> estado ABC ERF
<br>1 poor 1 23
<br>2 poor 2 23
<br>3 poor 3 21
<br>4 poor 4 14
<br>5 poor 5 23
<br>6 poor 1 46
<br>7 poor 2 54
<br>8 poor 3 34
<br>9 poor 5 34
<br>10 poor 5 56
<br>11 poor 5 43
<br>12 poor 4 65
<br>13 poor 3 54
<br>14 poor 2 45
<br>15 poor 2 45
<br>16 good 3 87
<br>17 good 4 76
<br>18 good 5 54
<br>19 good 7 34
<br>20 good 8 45
<br>21 good 9 56
<br>22 good 9 67
<br>23 good 8 76
<br>24 good 7 65
<br>25 good 6 54
<br>26 good 4 43
<br>27 good 3 32
<br>28 good 2 23
<br>29 good 1 34
<br>30 good 8 56
<br>
<br>were ABC and ERF are the values of two different clinical analysis.Alfredo RigalliRe: pROC 1.5 releasedtag:xavier.robin.name,2011-12-12:/blog/2011/12/12/proc-1.5-released#comment4832012-01-10T11:53:30+01:002012-01-10T11:53:30+01:00Hi Alfredo,
<br>
<br>The covariance is a lower level statistical information. It can be useful for other calculations (for instance it is used in the power.roc.test that will be in the next release).
<br>
<br>Concerning the error, can you please send me the result of a <code>traceback()</code>?Xavierhttp://xavier.robin.nameRe: pROC 1.5 releasedtag:xavier.robin.name,2011-12-12:/blog/2011/12/12/proc-1.5-released#comment4822012-01-10T11:37:12+01:002012-01-10T11:37:12+01:00I understand perfectly roc.test function, but what is the usefulness of the function cov? In addition, I was not be able to use this function with two rocobjetcs.
<br>I have the roc objetcs: rocABC, and rocERF
<br>when I use
<br>cov(rocABC,rocERF) the message is
<br>Error: is.numeric(x) || is.logical(x) is not TRUEAlfredo Rigalli