similar to: formula substitution by its calculated value

Displaying 20 results from an estimated 100 matches similar to: "formula substitution by its calculated value"

2007 Mar 08
2
sending a vector of characters as arguments for a function
Dear all, It seems to be a recurrent problem to me and I am asking your help to get over it once for all ... My idea is : I have variables C_1, C_2, C_3 ... that corresponds to vectors of size n, and I would like to cbind them. I get a vector of their names using : temp<- ls(pat="C") And I like to find a way to use this vector temp as an argument to cbind.
2009 Sep 21
1
RODBC : using and passing queries that use " in some arguments
Dear R users, I am trying to connect R to data that is in a Access Database but I have problem with the construction of queries using special characters. I am using RODBC package. The following is working : > MyQuery<-paste("SELECT first( (DateHeure) ) , avg(NNO3_AT322_OUT_moy) AS Cond FROM Colonne_3 ") > Col3<-sqlQuery(con, query=MyQuery) > Col3
2009 Feb 26
1
gplot problems with faceting
Dear R-Listers, I am very confused with what seems to be a misuse of the faceting options with gplot function and I hope you might help me on this. z contains various simulation results from simulations with different set of parameters. I melt my data to have the following data.frame structure : > str(z) 'data.frame': 12383 obs. of 5 variables: $ vID : num 1 2 3 4 5 6 7 8
2005 Apr 28
2
Reconstruction of a "valid" expression within a function
Hello all, I have some trouble in reconstructing a valid expression within a function, here is my question. I am building a function : SUB<-function(DF,subset=TRUE) { #where DF is a data frame, with Var1, Var2, Fact1, Fact2, Fact3 #and subset would be an expression, eg. Fact3 == 1 #in a first time I want to build a subset from DF #I managed to, with an expression like eg. DF$Fact3, # but I
2007 Jan 10
2
USB Flash disk with sector size 2048
Hello every one an a pretty new year. I'm making a derivative a the Feather linux-live which can be found here: http://franboisson.homeip.net/clef/ClefAgreg.iso Everything works find except with USB key with sector size different then 512 (2048 in my case). I look at the source of syslinux and change the following: * The test in syslxmod.c * Change each time I see SECTOR_SHIFT=9 in
2006 Nov 28
1
problem with source(), parse() and "french" colnames
Hello every one Working under Windows Xp in French, and R version 2.4.0 (and : > localeToCharset() : "ISO8859-1" ) I am trying to source a file with basic commands. source("R files/InputFile Analysis (Calculs et mises à l'échelle - gestion des pb d'unités).r") and it works fine as long as I do not use command like these ones :
2009 Mar 05
1
Using vectors of names in calls for functions
Dear R people, it is a pleasure to try and use functionnalities that are in ggplot, even with my poor capacities in R. so far, i'dlike to be able to use these in my own function, and to "be able to use it repeatedly from vectors where I store the names of my columns." I have understood that this is a very discussed topic, that many post have been exhanged but I cannot understand
2006 Nov 15
1
trellis.par.set and grid : how to set by default that I want a grid on my graphes ?
Hello all, I want to draw a grid behind my graphes, using lattice package. I manage to do it with instructions like this one : xyplot(Sepal.Length + Sepal.Width ~ Petal.Length , data = iris, allow.multiple = TRUE, scales = "same",type="l", panel = function(...) { panel.grid(h=-1, v= -1) ; panel.superpose(...) } ) I was wondering if there were a way to do it
2012 Jul 05
1
Dovecot mailstorage migration uppon logging / delivery with dsync
Hi there, I have a pretty standard setup with "simple" dovecot 2,0 configuration (eg /var/mailboxes on NFS with old netapp) and local ldap directory and Maildir. I wanted to find a good way to migrate from NFS old netapp to NFS new server (this one is not a netapp !). There 3 kind way (according to my own experience) - rsync old spool to new spool being patient stop services and
2005 Apr 26
0
Construction of a "mean" contengency table
Hi List, Say I have a data.frame "DF" with 6 columns, 3 factors and 3 variables, with different number of repetitions for each combination of factors. I would like to build, for two given factors, a matrix per variable, containing in each cell the mean or sd for a given couple of factors. I have managed to get to the result I wanted step by step, but I would like to have it in a
2014 Jul 31
0
Habiter ou investir sur le littoral atlantique
Si vous ne visualisez pas correctement l???e-mail, cliquez ici <http://url.snd10.ch/visu-E9D92C62-F56A-4768-8594-94E7BC64B1C3-203221958-423876-31072014.html> HABITER OU INVESTIR SUR LE LITTORAL ATLANTIQUE <http://url.snd10.ch/url-203221958-1804885-31072014.html> <http://url.snd10.ch/url-203221958-1804885-31072014.html> a s??lectionn?? pour vous les meilleurs programmes
2003 Feb 14
1
FW: [Fwd: Re: [S] Exact p-values]
Dear all Just for fun, I have just downloaded the paper mentioned below and checked it with R-1.6.1. Everything is ok with exception of Table 2b, where I get always 1 instead of 0.5: > pbinom(1e15,2e15,0.5) [1] 1 Which value should be correct? Best regards Christian Stratowa ============================================== Christian Stratowa, PhD Boehringer Ingelheim Austria Dept NCE Lead
2013 Oct 06
2
Como citar R?
>> Buen día! >> Hemos enviado un trabajo a publicar y los evaluadores nos indican corregir la cita de R. Realmente no entiendo que quieren. Marcaron lo siguiente: >> >> R [A1] Development Core Team. 2009. R[A2] : A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. ISBN 3-900051-07-0, URL http://www.R-project.org.
2003 Feb 14
0
FW: [Fwd: Re: [S] Exact p-values]
Dear Spencer Thank you for this extensive explanation of the problem. I was just curious. Best regards Christian ============================================== Christian Stratowa, PhD Boehringer Ingelheim Austria Dept NCE Lead Discovery - Bioinformatics Dr. Boehringergasse 5-11 A-1121 Vienna, Austria Tel.: ++43-1-80105-2470 Fax: ++43-1-80105-2683 email: christian.stratowa at
2014 May 05
2
Xapian::Document and threads
Olly Betts writes: > On Sun, May 04, 2014 at 08:16:50PM +0200, Jean-Francois Dockes wrote: > > While investigating very infrequent crashes in the Recoll indexer, I have > > come to a very basic question: is it safe to pass a copy of a > > Xapian::Document from thread to thread (multiple threads queue documents, > > other thread updates the index) ? > > >
2013 Oct 06
0
Como citar R?
Lorena, Primero felicitaciones por terminar el trabajo para publicar. Respecto de tu pregunta, quizas mejor si le preguntas a quien te hizo la pregunta. En mi sesion de R el resultado es el siguiente > citation() To cite R in publications use: R Core Team (2013). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL
2008 Oct 30
0
lme4/anova, error message: "Calculated PWRSS for a LMM is negative"
Dear all, I'm using the latest version of the package lme4 and R version 2.7.2 (2008-08-25). After I run the model, I get the results of the model (cf. below). Then, I run an ANOVA using the "anova" function and I get the following message "Error in anova(lmer1) : Calculated PWRSS for a LMM is negative". I went trough the R-mailing list and a similar error message was
2003 Oct 27
1
How can strheight be calculated in lattice/grid?
If I have drawn a string with ``ltext( x, y, labels="first string" )'' how can a draw a second string just one line (or strheight("X") below the first string regardless of the size and scales of the panel? Thanks Wolfram
2008 May 12
1
what kind of residuals are the ones calculated in coxph?
Hi Gurus: In the coxph() objects in Survival package, there is an attribute called residuals. Usually, there are several kinds for censored survival data. I can't seem to find in the documentation as to which one this is calculating. Anyone knows? Karen _________________________________________________________________ [[alternative HTML version deleted]]
2012 Jan 24
0
Partial R2 values calculated using different packages
Dear fellow R-users I've always used Prof Harrell's rms package to calculate/visualize partial R2 values from a standard regression analysis (below is a quick example on how I've done so). Recently, I calcuated partial R2 values using the ppcor and gRbase packages. As it turns out, ppcor and gRbase agree with each other but the values generated from these packages tended to be greater