Displaying 4 results from an estimated 4 matches for "ymove".
Did you mean:
move
2011 Jan 20
2
auc function
Hi, there.
Suppose I already have sensitivities and specificities. What is the quick R-function to calculate AUC for the ROC plot? There seem to be many R functions to calculate AUC.
Thanks.
Yulei
[[alternative HTML version deleted]]
2009 Dec 22
1
RGtk2 - retrieve ggraphics mouse coordinates during drag-and-drop event
...ction
(w,e,...) {
allocation = w$GetAllocation()
xclick = e$GetX()
yclick = e$GetY()
x = xclick/allocation$width
y = (allocation$height - yclick)/allocation$height
xyCoordsRelease <- pltToUsr(x,y)
print(c("released at:", pltToUsr(x,y)))
xMove <- xyCoordsRelease[1] - xStart
yMove <- xyCoordsRelease[2] - yStart
print(c("xMove", round(xMove, 3), "yMove", round(yMove, 3)))
plot(rnorm(20), col="red")
#print(qplot(rnorm(100), geom="histogram"))
pressed <<- FALSE
return(TRUE)
})
adddropsource(table) #, handler = defHandle...
2012 Mar 01
1
R can't load a large dataset
Dear R listers,
I have a silly problem. I am trying to load a dta (Stata) file in R.
The dta is about 650 MB and contains the integrated World Values
Survey/ European Value Study data-set.
My problem is that I don't manage to load the file. After almost 1
hour I issued the following command:
data <- read.dta("http://www.stata-press.com/data/kkd/data1.dta",
convert.dates = TRUE,
2011 Jan 22
0
how to call BayesX in R to see the graph
...harset=us-ascii
On Thu, Jan 20, 2011 at 03:14:01PM -0800, Changbin Du wrote:
> ROCR
>
I appreciate this information, which is new for me. Up to now, i was
using the function
get.auc <- function(statistic, label, negative, positive)
{
xmove <- as.numeric(label == negative)
ymove <- as.numeric(label == positive)
stopifnot(xmove + ymove == 1)
rank.stat <- rank(statistic, ties.method="min")
steps <- aggregate(cbind(xmove, ymove), by=list(rank.stat), sum)
n <- nrow(steps)
x <- c(0, cumsum(steps[n:1, 2]))
y <- c(0, cumsu...