similar to: finding values for arguments?

Displaying 20 results from an estimated 20000 matches similar to: "finding values for arguments?"

2010 Jun 26
2
use a data frame whose name is stored as a string variable?
Hi, Let's say I have a data frame (called "example") with numeric values stored (columns V1 and V2). I also have a string variable storing this name x1<-"example" Is there a way to use the variable x so that R knows that I want the specified action to occur on the data frame? For example, summary (x) would return a summary of the data frame? I am considering this
2010 Apr 30
1
how is xerror calculated in rpart?
Hi, I've searched online, in a few books, and in the archives, but haven't seen this. I believe that xerror is scaled to rel error on the first split. After fitting an rpart object, is it possible with a little math to determine the percentage of true classifications represented by a xerror value? -seth -- View this message in context:
2011 Mar 27
1
function to compare Brier scores from two models?
Hi, I have probability estimates from two predictive models. I have these estimates and also a binary outcome for a validation data set not used in calibrating either model. I would like to calculate the Brier score for both models on this binary outcome and test the hypothesis that the Brier scores are equal from the two models. I have not been able to find an R function to do this, can
2010 May 05
2
readLines with space-delimiter?
Hi, I am reading a large space-delimited text file into R (41 columns and many rows) and need to do run each row's values through another R object and then write to another text file. So, far using readLines and writeLines seems to be the best bet. I've gotten the data exchange working except each row is read in as one 'chunk', meaning the row has all values between two quotes
2010 Feb 12
1
nlme w/no groups and spatially correlated residuals
Hi, I would like to specify a spherical correlation structure for spatially autocorrelated residuals in a model based upon the logistic function of a response that is a proportion (0 to 1) (so usual binary logistic regression is not an option). There is no need for a g-side random effect with grouping in this model. Am I correct that nlme requires this (meaning a correlated error structure only
2008 Jun 06
3
Existence of formal arguments.
I just discovered what seems to me to be a slight funny in respect of formal argument names. If I define a function foo <- function(a,b){ ... whatever ...} then ``inside'' foo() the exists() function will return TRUE from ``exists("a") whether an object named ``a'' exists or not. But get("a") will yield an error ``object "a" not found''
2007 May 17
3
RFC: adding an 'exact' argument to [[
Hi all, One of the things I find most problematic in R is the partial matching of names in lists. Robert and I have discussed this and we believe that having a mechanism that does not do partial matching would be of significant benefit to R programmers. To that end, I have written a patch that modifies the behavior of "[[" as follows: 1. [[ gains an 'exact' argument with
2003 Oct 20
1
Group authentication
I have installed samba 3.0.0 on a RedHat 9.0 box. I have used the rpm binary i got from Canada mirror. The server is a dual Pentium II 400 IBM NetFinity 5000. Installation was easy. Testparm outputs: [root@seth root]# testparm Load smb config files from /etc/samba/smb.conf Processing section "[desenv]" Loaded services file OK. 'winbind separator = +' might cause problems with
2004 Jul 17
1
Using a group variable for a groupofextension to dial
Actually doing both sounds good to me. Can you explain further about ringing them all at once? Here is how I tried to make mine work and failed... {global} PHONES0=SIP/2000 PHONES1=SIP/2001 [local] exten => 6001,1,Dial(${PHONES0&PHONES1),20,trf) When I dial 6001 I see my debugger tell me that I am using the wrong syntax. Do you know the correct syntax for ringing them all at once? I
2007 Jun 12
1
bug in R environments? Was: [BioC] 'recursive default argument' error...
Dear developers, has anyone experienced the problem described below? Is it a bug in handling interrupts in R? Best, Oleg -------- Original Message -------- Subject: Re: [BioC] 'recursive default argument' error in GOENTREZID2GO From: Diego Diez <diez at kuicr.kyoto-u.ac.jp> ...steps that use to reach me to that point. It happens with any environment, or at least annotation
2007 Mar 15
4
R 2.5.0 devel try issue in conjuntion with S4 method dispatch
Hi, after updating R 2.5.0 devel yesterday we today observed many new unexpected failures in our daily package build and test system runs, which can be traced to recent changes in the implementation in try() (as noted in NEWS). Investigating this new implementation I come across an issue in conjuntion with using S4 classes and methods. try(expr) does not return an object with attribute
2006 Aug 29
1
PATCH: Add fields argument to installed.packages and available.packages
Hi all, The write_PACKAGES function has a 'fields' argument that allows a user generating a PACKAGES file to specify additional fields to include. For symmetry, it would be nice for the available.packages function to be able to read those extra fields when specified. Similarly, it would be useful for installed.packages to have a 'fields' argument. This would allow a user to
2008 Oct 24
4
Mail server problem?
I keep getting repeated copies of ``R-help post acknowledgements'' in respect of a couple of postings that I made to the list this morning (my time). I only posted each posting *once*. I hope that others are not getting repeated copies of my postings .... I mean I *know* my postings are so wonderful they merit re-reading, but one does not need another copy in order to re-read! :-)
2002 Jul 17
1
Question on "root pivot" function
Seth, Thank you for your reply. I'm sorry to bother with this, but what is the "root pivot" function and where can I find doc's on it. From what I understand from your email the system would basically boot twice. Once from a stripped kernel on the floppy disk to mount the CD, and then after the CD is mounted it would reboot with the kernel and initial randisk found on the
2004 Jul 17
1
Using a group variable for a group ofextension to dial
That could be it. What I want to do is set a group of callers and have the event cause the phone to ring them in order. I will tie it to my IVR portion and thus I can make sure peole in sales get calls based on our hierarchy in the office. So if I am reading your example right the syntax is.... Exten => 501,1,Dial(SIP/PHONE1&SIP/PHONE2&SIP/PHONE3), rtf) Is that a valid way to cause
2009 Nov 24
1
The "lib" argument in install.packages().
I was flummoxed for a long time by errors generated when I did something like install.packages(foo,lib="Rlib") where ``Rlib'' is my personalized directory of R packages, which lives in my home directory (from which I started R before issuing the foregoing install.packages() call. Recently someone (I forget who, but thanks very much to whomever it was) pointed out that I
2012 Sep 27
2
kernel 2.6.32-279.9.1.el6.x86_64 does not build from the source rpm's
kernel 2.6.32-279.9.1.el6.x86_64 does not build from the source rpm's using the UNmodified config file and following the directions explicitly. Previous kernels build fine from the same directions. A little help from the developers would be greatly appreciated. while building I get this output: c1: warnings being treated as errors drivers/base/platform.c:621: error:
2005 Mar 21
1
Buglet in install.packages warning message
I've been experimenting with install.packages and it's new ability to track down dependencies from a list of repositories and encountered this: install.packages(c("foo", "bar"), repos="http://cran.r-project.org", dependencies=c("Depends", "Suggests")) dependencies 'foo' are not availabledependencies 'bar'
2006 Sep 22
1
Possible bug in base::namespaceImportFrom?
Hi, namespaceImportFrom in base/R/namespace.R has the following: fdef <- methods:::getGeneric(genName, impenv) The definition of getGeneric is in methods/R/RMethodUtils.R starts with: getGeneric <- ## return the definition of the function named f as a generic. ## ## If there is no definition, throws an error or returns ## NULL according to the value of
2010 Jun 22
2
Lattice legend
I have a moderately complex graph with three panels. There are data points plotted, and fitted lines are added using a panel function, which includes "with(alt.data[[which.packet()[1]]]" statements. It all graphs out beautifully, but none of the usual tricks to get the proper legend to plot are working, i.e., using auto.key, key, etc. One message I keep getting is Error in