Displaying 20 results from an estimated 1000 matches similar to: "rank in decreasing order"
2007 Aug 17
2
problem using "rank"
Hi All,
I had 12766 elements in a column, 12566 are values and 200 are "NA"s. I used the following line to get the ranks:
total_list$MB.rank <- rank(-total_list$MB,ties.method="min",na.last=NA)
but I got an error message:
Error in `$<-.data.frame`(`*tmp*`, "BCRP_PW_F.rank", value = c(3949, 6182, :
replacement has 12199 rows, data has 12766
What
2005 Nov 25
2
Ordering problem
I have an ordering and factor problem to which there must be a simple
solution! The version is R 2.0.1 (2004-11-15) on A Linux platform.
A data frame H is read in from a .csv file using read.csv with as.is=TRUE.
Another data frame HN is constructed from data and I want to compare two
columns both named ss of the (sorted) data frames that are the same
length.
The problem is that HN$ss is
2005 Aug 12
2
Firefox and Java on CentOS 4.1
I need to run a Java-enabled Firefox on my CentOS4.1-powered laptop and it
*was* running fine. Then yesterday I up2date'd the box and Firefox went
from 1.0.4 to 1.0.6. And I lost Java.
I can't seem to re-install it, whether from the original (1.5.0 I think it
was) or the latest downloads.
This is crucially important as I need to access my Dell RAC.
Can anyone advise how to get
2007 Jul 30
3
Slightly OT - use of R
I am trying to get a measure of how R compares in usage as a statistical
platform compared to other software. I would guess it is the most widely
used among statisticians at least by virtue of it being open source.
But is there any study to which I can refer? By asking this list I am not
exactly adopting a rigorous approach!
Best wishes
John
John Logsdon
2005 May 22
1
CentOS4, KDE3.3 and 128 WEP
CentOS4 standard installation.
I see that KwifiManager doesn't support 128 bit WEP which I need for other
machines on the network, which is a bit of a blow - and rather surprising
really as security should be quite a consideration on an enterprise level
system (NB RH!).
Is there a workaround? An alternative way of configuring my Belkin
F5D6020 ver 2 card? eg a cvs download that I can get
2005 Dec 26
8
Add notes to a graph
Hi, I have done a search on this in vain. How can I add a note to the foot of a graph example below
|-----------------------|
| Title |
| -------- |
| | my | |
| | graph | |
| | | |
| | ______| |
|note: source |
|-----------------------|
Many thanks
Ronnie
2005 Nov 27
4
gsub syntax
Hello
I know that R's string functions are not as extensive as those of Unix but
I need to do some text handling totally within an R environment because
the target is a Windows system which will not have the corresponding shell
utilities, sed, awk etc.
Can anyone explain the following gsub phenomenon to me:
>
2007 Oct 10
3
save lm output into vectors
Hi,
May I ask how I can save the coefficients and the p values into a table?
thanks.
jiong
The email message (and any attachments) is for the sole...{{dropped:11}}
2005 May 25
1
iptables logging
Hi All,
A few years ago I was asked if I could redirect console messages from
Iptables to a different virtual console, on RedHat 7.3 . I managed to
do it, but can't remember how I did it, now that the same question has
arisen ona Centos 3.4 box.
I edited /etc/syslog.conf and redirected kern.* to /dev/tty2 for example
& this didn't work
I edited /etc/sysconfig/syslog and modified
2005 Dec 08
2
x86_64 kernel compilation
If I can squeeze a message between the discussions on security (:-)) I
have been trying to compile a kernel on an x86_64 box under CentOS4.1 and
now 4.2.
The problem is that neither make xconfig or make gconfig work:
make gconfig
*
* Unable to find the GTK+ installation. Please make sure that
* the GTK+ 2.0 development package is correctly installed...
* You need gtk+-2.0, glib-2.0 and
2015 Nov 10
2
Rsync and differential Backups
Folks
I have been using rsnapshot for years now. The only problem I've found is
that it is possible to run out of inodes. So my heads-up is that when you
create the file system, ensure you have more than the default inodes - I
usually multiply the default by 10. Otherwise you can find your 1Tb USB
drive failing after 259Mb and you can't then recover the files. Rather
embarrassing.
>
2023 Aug 27
1
Issue with gc() on Ubuntu 20.04
On Sun, 27 Aug 2023 19:54:23 +0100
John Logsdon <j.logsdon at quantex-research.com> wrote:
> Not so although it did lower the gc() time to 95.84%.
>
> This was on a 16 core Threadripper 1950X box so I was intending to
> use library parallel but I tried it on my lowly windows box that is
> years old and got it down to 88.07%.
Does the Windows box have the same version of R
2006 Jan 21
2
Latest revision of lme4 requires 'Matrix' >= 0.995.2 but that version is not available on CRAN
I just updated the packages on my pc (windows xp). When loading lme4 I get
> library(lme4)
Error: package 'Matrix' 0.995-1 was found, but >= 0.995.2 is required by 'lme4'
'Matrix' 0.995-1 is indeed installed on my computer, but update.packages() does not capture a never version; and seemingly for good reasons: When looking at CRAN, the new version of Matrix is
2006 Sep 28
2
Perspective axes
Is there a way to get the axes labels for a persp() plot to show the
actual values employed? ticktype='detailed' only shows a scale from 0 to
1. My values are (for example) y in 0.2-0.7, x in 450-560 and I would
like to suppress the z labels.
How can I get the x and y values to appear on the plot?
R-2.3.1, Windows XP Home.
Best wishes
John
John Logsdon
2006 Jul 13
1
Extracting Phi from gls/lme
I am trying to extract into a scalar the value of Phi from the printed
output of gls or lme using corAR1 correlation. ie I want the estimate of
the autocorrelation. I can't see how to do this and haven't seen it
anywhere in str(model.lme).
I can get all the other information - fixed and random effects etc.
Is there an obvious way so that I can save the brick wall some damage?
TIA
2006 Jan 16
1
lme output
I am trying to extract the solution from a simple lme calculation.
For example (the first 4 have a mean 0, sd 1):
> y<-c(-1.118,-.5,.5,1.118,10)
> gp<-factor(c(rep('one',4),'two'))
> res<-lme(y~1,rand=~1|gp)
Linear mixed-effects model fit by REML
Data: NULL
Log-restricted-likelihood: -8.67141
Fixed: y ~ 1
(Intercept)
4.962502
Random effects:
2007 Oct 09
2
regression by groups
Hi All,
I want to run regression (lm) on my dependant variable by gender and race. How do I integrate the "by" function in lm?
thanks.
jiong
The email message (and any attachments) is for the sole...{{dropped:11}}
2007 Jun 27
2
running saved scripts
Hi All,
I have a rather naive question. I need to run some simple calculations
such as read.table, resid, and quantile on a data file. How can I save
these commands in a text file and ask R to run this text file? Thanks.
Jiong Zhang
The email message (and any attachments) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use,
2007 Jun 11
3
if statement
Hi all,
I have a rather naive question. I have the height of 100 individuals in
a table and I want to assign the tallest 30% as Case=1 and the bottom
30% as Case=0. How do I do that?
thanks.
jiong
The email message (and any attachments) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is
2007 Jun 14
1
JGR, Java and Kubuntu 7.04 ...
R-ists
Yet again Java rears its ugly head.
I have Kubuntu 7.04 running the Kubuntu-repository version of R 2.4.1-1.
Yes it isn't the very latest version but this is not the issue here.
I want a Windows-like environment and everyone is talking about JGR.
I downloaded it and installed it along with rJava. Both compile and install
satisfactorily.
But when I come to run it:
>