Displaying 20 results from an estimated 500 matches similar to: "expand.grip for permutations"
2011 Sep 22
3
How make a x,y dataset from a formula based entry
Hello all,
So I am using the (formula entry) method for randomForests:
randomForest(y~x1+x2+...+x39+x40,data=xxx,...) but the issue is that some of
the items in that package dont take a formula entry - you have to explicitly
state the y and x vector:
randomForest(x=xxx[,c('x1','x2',...,'x40')],y=xxx[,'y'],...)
Now my question is whether there is a function/way
2011 Sep 09
1
Question about plot.mona {cluster}
Hello all, I what to print the banner plot that is output from the mona
method in the cluster package but the problem is I dont want to print all
that red ink. Here is an example:
data(animals)
ma <- mona(animals)
ma
## Plot similar to Figure 10 in Struyf et al (1996)
plot(ma)
I can change the bar color by using the argument col=c(0,0) -
plot(ma,col=c(0,0)) - but then the variable labels also
2010 Sep 16
4
Pesky homemade function code
Hi all-
this seems to be simple to figure out but since im new to writing functions
I dont know what is happening. Here is my code along with the error I am
receiving:
semivario=function(data,ids,times,resids){
id=unique(data$ids)
index=combinations(length(data$times[data$ids==id[1]]),2)
time=gamma=numeric(dim(index)[1])
for (j in 1:dim(index)[1]){
2012 Nov 09
1
R function data variable name argument
Hello fellow R-ers,
I have spent some time on this and it is driving me NUTS! I am sure there is a solution, so please help.
I am trying to create a function that will plot different lines for subsets of a dataset. For example, I am trying to look at different drug groups (drug2), let's say 1,2,3,4, and 5. The data has 2 different rates, college students and high school students (var names cs
2011 Jun 23
2
Rms package - problems with fit.mult.impute
Hi!
Does anyone know how to do the test for goodness of fit of a logistic model (in rms package) after running fit.mult.impute?
I am using the rms and Hmisc packages to do a multiple imputation followed by a logistic regression model using lrm.
Everything works fine until I try to run the test for goodness of fit: residuals(type=c("gof"))
One needs to specify y=T and x=T in the fit. But
2006 May 26
1
multi_search will not work
I am trying to get multi_search to search across multiple models. I
have the following:
class Drug < ActiveRecord::Base
acts_as_ferret :store_class_name => true
end
class Target < ActiveRecord::Base
acts_as_ferret :store_class_name => true
end
and I am trying to query via:
@drugs = Drug.multi_search(params[:query], [Target])
But I get no results. If I go:
@drugs =
2013 Feb 17
2
Multidimensional correlation matrix question
Hello,
I previously sent this message which was stripped off due to HTML mail. Sorry!
Thanks.
Hello All,
I am new to the list. I have been learning to use R recently and its been
great to see so much help available.
However I must admit, I have stumbled upon a problem with correlation
matrices and was hoping if someone could help.
I have an excel workbook with a sheet per drug.
Each sheet
2007 May 03
2
Grip for CentOS 5?
Does anyone know where you can find an RPM for this? I'm just trying to
rip some MP3s on my upgraded box. The last of the things I can't do.
Preston
2006 May 29
1
non-ajax data grip types
I am writing an application and I have a number of clients that are
using older browsers (Mac OS 9) and I am staying away from ajax stuff
because of them.
Is there a way to have to have a ''scrolling'' table rather than
pagination without ajax?
Craig
2005 Jun 05
1
New to CentOS, miss Grip
Hi there--
Just installed CentOS 4 the other night and can figure out how to
install Grip. I can't seem to satisfy the dependencies. Has anyone had
success? Is there a reason why Grip isn't part of the distro that I
should know about?
My old distro was FC2. This was a wholesale installation and not an
upgrade.
Any help would be appreciated.
Thanks,
Dick
--
Pithy saying goes
2004 Sep 10
0
[Flac-users] Using Grip with FLAC
I looked around on the web, but I found no guidance on this subject, so
I'm guessing. Here is what I came up with. It appears to work on a
limited sample of CDs. Can anyone comment on whether or not this
is OK?
My system is Mandrake 9.0. My Grip is 3.0.1 (as supplied with
Mandrake 9.0)
My flac is 1.1.0, built from the source tarball. Mandrake ships
with 1.0.3, which does not appear to have
2004 Sep 10
1
[Flac-users] Grip, FLAC, and album replay gain
OK, here's a problem:
I want to set the album replay gain in each track, but I'm using grip to
rip and encode the tracks one by one. grip knows that all the tracks are
on a single album, but FLAC sees them one at a time. I put the
--replay-gain
option on the FLAC command line, so it emits four comments into the
vorbis commebnt block, e.g.:
comment[9]:
2000 Jul 01
1
Bugfix patch for vorbize, compat patch for grip
Hey.
Last night I hacked grip so that it'd allow me to use vorbize and comments with
grip. It's very ugly because grip'd need a bit of rearrangement in order to
facilitate the way the vorbis comments work (that is, the comments are not added
in after the encoded file has been written). Any one who wants to use it should
patch grip-2.94 (http://www.nostatic.org/grip), and make sure you
2000 Aug 20
0
HOWTO: Use grip as a great oggenc frontend.
I've seen a lot of people in many forums asking for vorbis frontends for
Linux.
A little bit ago, I switched my roomate over from encoding to mp3 to
encoding to vorbis. To make the transition as painless as possible I
wanted to let her continue using GRIP as her encoder frontend. To actually
accomplish this project, I realized that if any real work was required on
my part it would never be
2006 May 30
1
max / pmax
Hello R users,
I am relatively new to R and cannot seem to crack a coding problem. I
am working with substance abuse data, and I have a variable called
"primary.drug" which is considered the drug of choice for each
subject. I have just a few missing values on that variable. Instead
of using a multiple imputation method like chained equations, I would
prefer to derive these
2003 Nov 04
0
why does context order make a difference in IAX.CONF
so why does this work properly
[iax-llllll]
type=friend
context=iax-llllll-in
trunk=yes
host=iax2.llllll.com
[iax-tttt]
type=friend
auth=md5
secret=blahblah
context=iax-tttt-in
trunk=yes
host=rx8.tttt.net
and this doesn't
[iax-tttt]
type=friend
auth=md5
secret=blahblah
context=iax-tttt-in
trunk=yes
host=rx8.tttt.net
[iax-llllll]
type=friend
context=iax-llllll-in
trunk=yes
2013 Sep 04
2
Attribute Length Error when Trying plm Regression
Hello,
I am trying to run a fixed effects panel regression on data containing 5
columns and 1,494 rows.
I read the data in as follows:
>drugsXX<-read.csv(file="C:\\Folder\\vX.X\\Drugs\\drugsXX_panel.csv",
head=TRUE, sep=",")
Verified it read in correctly and had a good data.frame:
>dim(drugsXX)
[1] 1494 5
>drugs XX
produce expected data with correct column
2010 May 19
1
sample and rearrange
Dear Wu Gong and Peter Ehlers,
thank you very much for your help debugging my script.
Now I have a general following up question:
Is there a straightforward way to rearrange the following dataset so
that all first letters of each column will be combined in one column,
all the second letters in a second column, all the third ones in a
third column and so on, resulting in 7 columns,
i.e. for
2009 Aug 04
5
FreeBSD starting by HVM
Hi. How I can see what happend in my domU???
dom0 Debian Lenny
domU FreeBSD6.4
xen 3.2-1
--------
Xen 3.2-1
:/etc/xen# xm create tttt.cfg
Using config file "./tttt.cfg".
Started domain freebsd
--------
/etc/xen# xm list
Name ID Mem VCPUs State
Time(s)
Domain-0 0 2969 4 r-----
48.0
freebsd
2011 Feb 08
1
Just another pattern matching / indexing question
Hi all, thank you for your patience.
I am dealing with a large dataset detailing patients and medications
Medications are hard to code, as they are (usually) meaningless unless
matched with doses.
I have a dataframe with vectors (Drug1, Drug2..... Drug 16) and individual
patients are represented by rows.
The vectors are actually factors, with 100s of possible levels (all the
drugs the patient