Displaying 20 results from an estimated 230 matches for "0.80".
Did you mean:
0.0
2013 May 27
1
Question about subsetting S4 object in ROCR
Dear list
I'm testing a predictor and I produced nice performance plots with ROCR
package utilizing the 3 standard command
pred <- prediction(predictions, labels)
perf <- performance(pred, measure = "tpr", x.measure = "fpr")
plot(perf, col=rainbow(10))
The pred object and the perfo object are S4
with the following slots
An object of class "performance"
2011 Jan 31
5
Finding a Diff within a Dataframe columns
Hi,
I have a Dataframe.
A B C D
0.1 0.7 0.9 0.8
0.20 0.60 0.80 0.70
0.40 0.80 0.70 0.76
I need a resultant dataframe
(A-B) (C-D)
-0.6 0.1
-0.40 0.1
-0.40 -0.06
Any suggestion would be of a great help
Thanks
Ramya
--
View this message in context: http://r.789695.n4.nabble.com/Finding-a-Diff-within-a-Dataframe-columns-tp3247943p3247943.html
Sent from
2013 Mar 06
3
About basic logical operators
Hello everyone,
I have a basic question regarding logical operators.
> x<-seq(-1,1,by=0.02)
> x
[1] -1.00 -0.98 -0.96 -0.94 -0.92 -0.90 -0.88 -0.86 -0.84 -0.82 -0.80 -0.78
[13] -0.76 -0.74 -0.72 -0.70 -0.68 -0.66 -0.64 -0.62 -0.60 -0.58 -0.56 -0.54
[25] -0.52 -0.50 -0.48 -0.46 -0.44 -0.42 -0.40 -0.38 -0.36 -0.34 -0.32 -0.30
[37] -0.28 -0.26 -0.24 -0.22 -0.20 -0.18 -0.16
2011 Mar 26
3
round number
Hi,
> a <- 4
> a*0.2
[1] 0.8
ok!!
Is there a method to obtain this:
> a*0.2
[1] 0.80
I need to round the number also with the zero.
Thanks in advance,
Alfredo
2009 Apr 11
0
sudo make check fails on OSX
Since snapshot rsync-HEAD-20090220-0710GMT.tar.gz
make check is successful but sudo make check fails
------------------------------------------------------------
----- overall results:
29 passed
3 failed
6 skipped
------------------------------------------------------------
failed
FAIL batch-mode
FAIL chmod-option
FAIL daemon-gzip-upload
2009 Apr 10
1
png with ggplot on windows xp
Hi Group,
I posted this question on the ggplot list and was advised to try here
also. The code
below produces a plot as a png and pdf. The pdf looks great, and I cannot
make the png look this way. I've tried various combinations of
height, width, and dpi, but it has not worked out so
far. Any suggestions to make the png look like the pdf? I received a
response that
the problem does not occur
2008 Jan 18
1
Selecting rows conditionally between 2 data.frames
Hello everyone,
I have two data.frames that look like
calib:
place zoom scale
left 0.65 8
left 0.80 5.6
left 1.20 3
right 0.65 8.4
right 0.80 6
right 1.20 2.9
X:
... place zoom ....
... left 0.80 ....
... left 1.20 ....
... right 0.65 ....
... NA NA ....
... right 0.8 ....
... left 1.20 ....
and I want to get the corresponding values of 'scale' in a new column
2010 Nov 26
2
get list index
Hi R-users,
I have a list
mylist <- list(c(0.79, 0.92, 0.91, 0.86, 0.96, 0.96, 0.95, 0.94, 0.99),
c(0.28, 0.45, 0.59, 0.69, 0.80, 0.87, 0.95, 0.94, 0.98), c(0.29, 0.39,
0.59, 0.69, 0.68, 0.80, 0.93, 0.95, 0.98))
Is there a way to find the index of the list element that contains the
lowest value among all the other elements? As the lowest value in each
element is the first, the
2011 Feb 10
3
help - "the condition has length > 1 and only the first element will be used"
Hello there,
I don't know if I'm addressing my question to the right e-mail address, I hope I do. Actually I have a little problem concerning writing a code in R. I try to briefly sum up my problem.
As you can see below, I created the functions "Equation1" and "Equation2" with some conditions.
Equation1 <-function(x){
if
2010 Nov 08
4
2.0, hourly performance stats
I'm getting constantly high numbers of page reclaims & involuntary
context switches for dovecot/auth.
page reclaims = minor faults = cpu switching back to system-mode, But
why is the auth process doing that so excessively? Same for the large
number of involuntary context switches...
Attached is my "dovecot -n" output.
Date: Sun, 07 Nov 2010 20:40:34 +0100
type real
2006 May 23
4
Version 0.80 of Prototype Window Class
Hi
I have just posted a new release of my Prototype Window Class
(http://blogus.xilinus.com/pages/javawin)
Seb
2012 Feb 09
1
Apply pmax to dataframe with different args based on dataframe factor
# I have a dataframe in the following form:
track <- c(rep('A', 3), rep('B', 4), rep('C', 4))
value <- c(0.15, 0.25, 0.35, 0.05, 0.99, 0.32, 0.13, 0.80, 0.75, 0.60, 0.44)
df <- data.frame(track=factor(track), value=value)
#> print(df)
#track value
#1 A 0.15
#2 A 0.25
#3 A 0.35
#4 B 0.05
#5 B 0.99
#6 B 0.32
#7 B 0.13
2011 Oct 15
2
Irregular 3d objects with rgl
Hello,
While exploring if rgl is along the lines of what I need, I checked out
demo("rgl") and didn't find quite what I'm looking for, and am therefore
seeking additional help/suggestions.
The application is geared towards displaying a 3D rendering of a contaminant
plume in the subsurface with the following highlights: Once the plume was
rendered as a 3D object, a
2017 Sep 28
3
building random matrices from vectors of random parameters
Thanks for both the mapply and array approaches! However, although
intended to generate the same result, they don't:
# mapply approach
n = 3
sa <- rnorm(n,0.8,0.1)
so <- rnorm(n,0.5,0.1)
m <- rnorm(n,1.2,0.1)
mats = mapply(function(sa1, so1, m1)
matrix(c(0,sa1*m1,so1,sa1),2,2,byrow=T), sa, so, m, SIMPLIFY = FALSE)
print(mats)
[[1]]
????????? [,1]????? [,2]
[1,] 0.0000000
2009 Oct 19
2
how to get rid of 2 for-loops and optimize runtime
Short: get rid of the loops I use and optimize runtime
Dear all,
I want to calculate for each row the amount of the month ago. I use a matrix with 2100 rows and 22 colums (which is still a very small matrix. nrows of other matrixes can easily be more then 100000)
Table before
Year month quarter yearmonth Service ... Amount
2009 9 Q3 092009 A ...
2011 Sep 12
1
Centering lines on barplot centers.
Hello,
I am trying to port one of my plotting S+ functions to R and I am having
difficulties!!! I am including here only the troublesome code!
I first produce a barplot, saving the positions of the bar's centers.
par(mar = c(6.1, 5.1, 4.1, 4.1), mgp = c(3, 3.0, 0))
ticks.loc <- barplot(sum.of.weights, col = 5, xlab = "", ylab = "",
axes =
2006 Dec 14
5
Nicely formatted tables
If I use latex(summary(X)) where X is a data frame with four
variables I get something like
Rainfall Education Popden Nonwhite
Min. :10.00 Min. : 9.00 Min. :1441 Min. : 0.80
1st Qu.:32.75 1st Qu.:10.40 1st Qu.:3104 1st Qu.: 4.95
Median :38.00 Median :11.05 Median :3567 Median :10.40
Mean :37.37 Mean :10.97 Mean :3866
2003 Oct 15
3
build failure with linux-2.6.0-test7
I tried building with linux-2.6.0-test7
build dies with:
make[1]: Entering directory `/home/rogelio/src/klibc-0.80/klibc'
gcc -Wp,-MD,./.fork.d -march=i386 -Os -fomit-frame-pointer
-malign-functions=0
-malign-jumps=0 -malign-loops=0 -nostdinc -iwithprefix include
-I../klibc -I../klibc/arch/i386/include -I../klibc/include/bits32
-D__KLIBC__ -DBITSIZE=32 -I../klibc/include
2008 Nov 08
2
lines, ecdf and colors
Hi. I'm trying to plot two ecdf's on the same graph using two
different colors. I can plot using the same color, but it doesn't
work when I change colors? Any suggestions? Thanks in advance for
your help.
x <- c(0.80, 0.83, 1.89, 1.04, 1.45, 1.38, 1.91, 1.64, 0.73, 1.46)
y <- c(1.15, 0.88, 0.90, 0.74, 1.21)
plot(ecdf(x))
# it works without col='blue', but doesn't
2011 Jan 31
0
Forest Plot Text
Hello All,
I am having a problem creating text for my forest plot using the "forestplot" function in the rmeta package. I think my problem is that I have too many columns of text, so I was wondering if there is a way to shrink my text or to change the default setting.
Here is an example:
####
forest_mean<- as.numeric(c(NA, 1.00, 2.00, NA, 0.75, 1.10))
forest_lower<-