Displaying 20 results from an estimated 600 matches similar to: "Compare three or more values?"
2012 Feb 08
4
String position character replacement
Hi,
Is there a way to efficiently replace specified indices in a string with another character? For example, if I had a vector of strings such as
[1] "hellohowareyoudoing"
[2] "imgoodhowareyou"
[3] "goodandyou"
[4] "yesimgoodijusttoldyou"
[5] "ohyesthatsright"
and had a list of positions that I want to replace with the character "-"
2009 Aug 08
1
interesting statistics article in NYT
[This email is either empty or too large to be displayed at this time]
2004 Sep 20
2
installing on alpha
I am trying to install R-1.9.1 on an alpha (Tru64 unix) platform. I had no
problem previously installing R-1.4.0, but cannot get the new installation
to work. First I ran "configure" specifying an alternate installation
directory:
./configure --prefix=/appl/R-1.9.1
then ran "make" (note that this is NOT gmake, which may make the
difference). The error message I
2004 Sep 20
2
installing on alpha
I am trying to install R-1.9.1 on an alpha (Tru64 unix) platform. I had no
problem previously installing R-1.4.0, but cannot get the new installation
to work. First I ran "configure" specifying an alternate installation
directory:
./configure --prefix=/appl/R-1.9.1
then ran "make" (note that this is NOT gmake, which may make the
difference). The error message I
2003 Oct 30
1
Finding common sets
I am working on a problem in which I have 2 groups of clusters, each of
which was generated from the same original list of members. Within each
group, the clusters cover the original list of members many times over.
What I am interested in finding is the number of common elements in every
pair of clusters when taking one from each group. In short, I need a FAST
way of finding the number of
2004 Mar 17
6
projection pursuit
Dear helpers
Does R have a package that performs projection pursuit density estimation? Or
anyone knows code in Matlab or C for example to do this?
Thank you all
Luis
2009 Sep 15
2
Subsetting matrix with values from vector
Hello,
I have a large matrix (data), in which there is a column offerid. The values
are numbers (lets say 1:5)
There is another vector (idnew), which contains some of the offerids and
many more (3:10).
I want a subset of the matrix wiith only those rows, which match the
criteria of the vector.
How can I make it work?
Thanks!
--
View this message in context:
2008 Mar 06
2
How to hold a value(Mean sq) with a string
Hi all:
Can someone advice me on how to hold the residuals
Mean sq value on a string
so it can be used in other calculations.
I was trying something like this:
Msquare<-dfr$Mean sq but fails..Thanks
dfr <- read.table(textConnection("percentQ
Efficiency
1.565 0.0125
1.94 0.0213
0.876 0.003736
1.027 0.006
1.536 0.0148
1.536 0.0162
2.607 0.02
1.456 0.0157
2.16 0.0103
2007 May 21
4
slow execution times using spec_server
hi all
I''m seeing strange behaviour when running specs using spec_server.
They take longer to execute, and it looks like none of examples are
being run. here''s the output for a simple spec file using just the
spec command:
----------
foo at holly:~/rails/allison$ time ruby/script spec spec/models/listing_spec.rb
......
Finished in 0.060469 seconds
6 examples, 0 failures <
2005 Feb 22
1
Registry entry for .NET?
Hey all,
I'm trying to run the HakInstaller for Neverwinter Nights
(http://nwvault.ign.com/Files/other/data/1076838606000.shtml ).
Unfortunately, it requires .NET 1.1 to run. I have the SuSE 9.2 Mono
package (version 1.0.1; I know there's a later, but this should be OK,
afaik) installed; I've loaded the module and mount reports that
/proc/sys/fs/binfmt_misc is mounted.
The
2011 Apr 04
1
Dovecot IMAP repeatedly disconnects
Hi,
I'm running dovecot-1.0.7-7.el5 on a CentOS 5.5x64 server, accessed
through Thunderbird clients. Thunderbird is reporting constant
disconnections from the server; the maillog shows constant repeats of
Apr 4 16:39:21 holly dovecot: imap-login: Login: user=<?user?>,
method=PLAIN, rip=::ffff:172.31.255.193, lip=::ffff:172.31.255.1
Apr 4 16:39:21 holly dovecot: IMAP(?user?): mbox
2004 Oct 19
1
Quake II - a modal problem?
I am running FC2 on a Dell 600SC, latest wine version. FYI:Quake II
will run on machines with only 4 MB video cards and no OpenGL. It runs
fine under Windoze. Under Wine it runs the "launching demo" well but
then I have no keyboard or mouse control. I must force the power off to
regain control. On Windoze one would hit the escape key at this point
and a menu screen appears with
2011 Sep 12
2
creating a new column with values from another
I have 2 columns for weight. There are NAs in each column but not for the
same observation. Some observations have values for both. I would want to
prioritize the WT2 values so I would like to do the following:
>From this:
ID WT1 WT2
1 134 NA
2 145 155
1 NA 175
3 NA 187
To this:
ID WT1 WT2 WT
1 NA
2018 Feb 12
3
plotting the regression coefficients
Hi
After melt you can change levels of your factor variable. Again with the toy example.
> levels(temp$variable)
[1] "y1" "y2" "y3" "y4"
> levels(temp$variable) <- levels(temp$variable)[c(2,4,1,3)]
> levels(temp$variable)
[1] "y2" "y4" "y1" "y3"
>
And you will get graphs with this new levels ordering.
2005 Feb 10
3
winecfg
Hello all!
Have a problem. Please help if you can. I've installed wine-20050111 on my Slackware 10 but
when I try to run winecfg the monitor turns off.
_________________________________
The more I learn the less I know.
Best regards, L.Marvell
mailto: marvell@ukrpost.net
2017 Sep 19
2
remove quotes from matrix
Hi Duncan and Bert;
I do appreciate for your replies. I just figured out that after x1=
noquotes(x) commend my 733*22 matrix returns into n*1 vector. Is there way
to keep this as matrix with the dimension of 733*22?
Regards,
Greg
On Tue, Sep 19, 2017 at 10:04 AM, Duncan Murdoch <murdoch.duncan at gmail.com>
wrote:
> On 19/09/2017 9:47 AM, greg holly wrote:
>
>> Hi all;
2007 May 15
5
spec_server
hi all
I''m trying to use spec_server to run my specs in rails, but the specs
don''t seem to be running any faster, and it looks like they''re being
run twice when I use the --drb option ..? The app I''m testing is just
a basic rails app with 2 empty models and a hello world controller.
The specs are just the default ones created by the generators.
I was
2018 Feb 12
0
plotting the regression coefficients
Petr, there was a thinko in your response.
tmp <- data.frame(m=factor(letters[1:4]), n=1:4)
tmp
tmp$m <- factor(tmp$m, levels=c("c","b","a","d")) ## right
tmp[order(tmp$m),]
tmp <- data.frame(m=factor(letters[1:4]), n=1:4)
levels(tmp$m) <- c("c","b","a","d") ## wrong
tmp[order(tmp$m),]
changing levels
2005 Aug 22
2
wine and Real Rhapsody player
I am trying to make Rhapsody (the Real Networks music
service) to run under wine.
This guy, AmishGeek, says he got it to work:
http://www.amishgeek.com/info/rhapsody
But I don't quite understand all his instructions...and I tried sending him
an email but his email box was full. I don't understand the parts about
installing windows media ( my machine is dual boot XP, Suse 9.3 ). Does