search for: 2.89

Displaying 20 results from an estimated 99 matches for "2.89".

Did you mean: 2.39
2008 May 17
1
tapply and grouping
Hello all, I have a df like this: w <- c(1.20, 1.34, 2.34, 3.12, 2.89, 4.67, 2.43, 2.89, 1.99, 3.45, 2.01, 2.23, 1.45, 1.59) g <- rep(c("a", "b"), each=7) df <- data.frame(g, w) df # 1. Mean for each group tapply(df$w, df$g, function(x) mean(x)) # 2. Range for each group - fix value 0.15 tapply(df$w, df$g, function(x) x[(x > mean(x) -
2018 Apr 04
2
Plot data in sequence
Hi r-users, I would like to draw line plots. However, the plot starts from 11121 data and plot data ENTRY last in the plot. Here is the code and data. datn <- read.table(header=TRUE, text=' LEVEL STATUS CGPA DIPLOMA ENTRY 3.32 DIPLOMA 11121 2.91 DIPLOMA 11122 2.90 DIPLOMA 12131 2.89 DIPLOMA 12132 2.89 DIPLOMA 13141 2.93 DIPLOMA 13142 2.96 DIPLOMA 14151 2.76 DIPLOMA 14152 2.73 STPM
2018 Apr 04
0
Plot data in sequence
Hi, Thanks for the reproducible example. Looking at str(datn) would give you a clue. STATUS is a factor because it contains character values. Factor levels by default are alphabetical with numbers first, but you can change those. > str(datn) 'data.frame': 36 obs. of 3 variables: $ LEVEL : Factor w/ 4 levels "DIPLOMA","MATRIC",..: 1 1 1 1 1 1 1 1 1 4 ... $
2023 May 02
5
Reg: Help regarding ggplot2
Dear All, I have a dataset which contains date and 12 other countries data. I have extracted the data as xts object. I am not able to recall all the series in the Y axis. My data set looks like this index crepub finland france germany italy netherlands norway poland <date> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
2023 May 02
1
Reg: Help regarding ggplot2
It's not clear what you want but ... On 02/05/2023 10:57, Upananda Pani wrote: > Dear All, > > I have a dataset which contains date and 12 other countries data. I > have extracted the data as xts object. > > I am not able to recall all the series in the Y axis. My data set > looks like this > > index crepub finland france germany italy netherlands norway poland >
2004 Aug 21
3
Puzzled at lm() and time-series
I tried toy problems and there doesn't seem to be a basic problem between lm() and ts objects: X = data.frame(x=c(1,2,7,9), y=c(7,2,3,1)) lm(y ~ x, X) X <- lapply(X, function(x) ts(x, frequency=12, start=c(1994,7))) lm(y ~ x, X) and this works fine - whether you do an lm() before or after making ts objects, it's okay. But I have a situation where things aren't okay.
2010 Mar 31
2
Summing data based on certain conditions
Dear all, I have a dataset of 1073 rows, the first 15 which look as follows: > data[1:15,] ??????? date year month day rammday thmmday 1?? 3/8/1988 1988???? 3?? 8??? 1.43??? 0.94 2? 3/15/1988 1988???? 3? 15??? 2.86??? 0.66 3? 3/22/1988 1988???? 3? 22??? 5.06??? 3.43 4? 3/29/1988 1988???? 3? 29?? 18.76?? 10.93 5?? 4/5/1988 1988???? 4?? 5??? 4.49??? 2.70 6? 4/12/1988 1988???? 4? 12??? 8.57???
2008 Jun 14
0
CESA-2008:0522 Important CentOS 3 s390(x) perl - security update
CentOS Errata and Security Advisory 2008:0522 https://rhn.redhat.com/errata/RHSA-2008-0522.html The following updated files have been uploaded and are currently syncing to the mirrors: s390: updates/s390/RPMS/perl-5.8.0-98.EL3.s390.rpm updates/s390/RPMS/perl-CGI-2.89-98.EL3.s390.rpm updates/s390/RPMS/perl-CPAN-1.61-98.EL3.s390.rpm updates/s390/RPMS/perl-DB_File-1.806-98.EL3.s390.rpm
2011 Feb 17
1
color.scale error
Dear all when I call color.scale like this: require('plotrix') colcolor<-color.scale(c(range_sr,sr),extremes=c("red","blue")) Error in if (min(reds) < 0 || max(reds) > 1) reds <- rescale(reds, c(0, : missing value where TRUE/FALSE needed range_sr [1] -10.00000000000000 44.02977813958366 str(sr) num [1:100, 1:100] 2.54 2.71 2.89 2.95 3.03 ...
2007 Nov 06
0
CESA-2007:0966 Important CentOS 3 s390(x) perl - security update
CentOS Errata and Security Advisory 2007:0966 https://rhn.redhat.com/errata/RHSA-2007-0966.html The following updated files have been uploaded and are currently syncing to the mirrors: s390: updates/s390/RPMS/perl-5.8.0-97.EL3.s390.rpm updates/s390/RPMS/perl-CGI-2.89-97.EL3.s390.rpm updates/s390/RPMS/perl-CPAN-1.61-97.EL3.s390.rpm updates/s390/RPMS/perl-DB_File-1.806-97.EL3.s390.rpm
2006 Apr 01
0
CESA-2005:881 Moderate CentOS 3 s390(x) perl - security update
CentOS Errata and Security Advisory 2005:881 https://rhn.redhat.com/errata/RHSA-2005-881.html The following updated files have been uploaded and are currently syncing to the mirrors: NOTES: latest perl security update didn't build 'out of box' for s390. I had to tweak the .spec file having commented out behaviour for test phase as in 'make test || /bin/true' to make it go
2008 Jun 20
0
[LLVMdev] llvm-gfortran polyhedron 2005 results [corrected]
The previously posted benchnarks for gcc vs llvm-gfortran had one mistake. I was actually had the gfortran for 4.3.1 installed instead of that from gcc 4.2.4. Below are the polyhedron benchmark results for all three compilers... gfortran 4.2.4 Benchmark Compile Executable Ave Run Number Estim Name (secs) (bytes) (secs) Repeats Err % --------- -------
2023 Mar 19
1
virsh domifaddr --domain domname --source {lease, arp} not showing results with ipv6
hi, I have configured a routed network on my laptop with a ipv6 subnet and dnsmasq is handing out ipv6 addresses to my vms and it works really wel, but finding out which ips have been used is not as easy as with ipv4. [root at lenovo ~]# virsh domifaddr --domain wec --source lease Name MAC address Protocol Address
2007 Nov 07
0
CentOS-announce Digest, Vol 33, Issue 5
Send CentOS-announce mailing list submissions to centos-announce at centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-request at centos.org You can reach the person managing the list at centos-announce-owner at centos.org When
2007 Nov 06
0
CentOS-announce Digest, Vol 33, Issue 4
Send CentOS-announce mailing list submissions to centos-announce at centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-request at centos.org You can reach the person managing the list at centos-announce-owner at centos.org When
2004 May 05
3
[LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
hi all, well, i have set up proper command line parameters for for C-Shootout tests to get reasonable running time for benchmarking. I have compared "gcc -O3" and "llvmgcc -Wl,-native-cbe" here goes output (which shows that llvm is already better for test with intensive function calls): time -p ./gcc_ackermann 11 user 2.36 time -p ./llvm_ackermann 11 user 1.07
2010 Jul 24
4
Trouble retrieving the second largest value from each row of a data.frame
I have a data frame with a couple million lines and want to retrieve the largest and second largest values in each row, along with the label of the column these values are in. For example row 1 strongest=-11072 secondstrongest=-11707 strongestantenna=value120 secondstrongantenna=value60 Below is the code I am using and a truncated data.frame. Retrieving the largest value was easy, but I have
2012 Jun 20
2
[LLVMdev] Exception handling slowdown?
Did something change with exception handling recently? A bunch of lit bots are showing slower compile times for many tests. Ciao, Duncan. On 20/06/12 07:53, llvm-testresults at cs.uiuc.edu wrote: > > lab-mini-03__O0-g__clang_DEV__x86_64 test results > <http://llvm.org/perf/db_default/v4/nts/1283?compare_to=1278&baseline=999> > > Run Order Start Time Duration >
2005 Mar 31
1
Contingency table: logistic regression
Hi, I am analyzing a data set with greater than 1000 independent cases (collected in an unrestricted manner), where each case has 3 variables associated with it: one, a factor variable with 0/1 levels (called XX), another factor variable with 8 levels (X) and a third response variable with two levels (Y: 0/1). I am trying to see if X1 has an effect on the relationship between X2 and the
2008 Aug 18
2
matrix row product and cumulative product
I spent a lot of time searching and came up empty handed on the following query. Is there an equivalent to rowSums that does product or cumulative product and avoids use of apply or looping? I found a rowProd in a package but it was a convenience function for apply. As part of a likelihood calculation called from optim, I?m computing products and cumulative products of rows of matrices with