similar to: Simple question on eval

Displaying 20 results from an estimated 10000 matches similar to: "Simple question on eval"

2012 May 26
3
How to measure level of similarity of two data frames
Hi group, I've been thinking of calculating euclidean distance between each column of a data frames that each consists of standardized numerical columns. However, I don't know if there's a way of summarizing the overall distance by some kind of metrics. If anyone know a proper way of doing so and/or a package I would greatly appreciate your suggestions. Thanks very much! Kel --
2009 Jul 16
5
Entire Organization Switching from SAS to R - Any experience?
My institute has been heavily dependent on SAS for the past while, and SAS is starting to charge us a very deep amount for license renewal. Since we are a non-profit organization that is definitely not sustainable. The team is brainstorming possibility of switching to R, at least gradually. I am talking about the entire institute with considerable number of analysts using SAS their entire
2012 Nov 26
1
Help on function please
Dear All,   I could use a bit of help here, this function is hard to figure out (for me at least) I have the following so far:   PKindex<-data.frame(Subject=c(1),time=c(1,2,3,4,6,10,12),conc=c(32,28,25,22,18,14,11)) Dose<-200 Tinf <-0.5   defun<- function(time, y, parms) {  dCpdt <- -parms["kel"] * y[1]  list(dCpdt)  } modfun <- function(time,kel, Vd) {   out <-
2005 Dec 05
1
how to save output all together
Dear R users: I have a problem about catch the value from function. I have following two functions (part): sbolus1 <- function() { ....... for( i in 1:Subject) { kel<-par1 Vd<-par2 PKindex<-sbolus1.out(PKtime,kel,Vd,defun,par1,par2,Dose,i) } savefile(PKindex) } sbolus1.out<-function(PKtime,kel,Vd,defun,par1,par2,Dose,i) { time<-PKtime$time
2010 Jun 13
1
losing line of mtext when saving to png format
I have a simple graph (oode below) which looks fine on the screen but when I save it in png format the title (actually the last mtext line) is cut off. I am pretty sure that I am doing something very stupid but other than playing around with the png height and width commands which don't seem to help I have no idea of what to look for. Any suggestions or cures would be appreciated. Thanks
2007 Jan 05
5
eval(parse(text vs. get when accessing a function
Dear All, I've read Thomas Lumley's fortune "If the answer is parse() you should usually rethink the question.". But I am not sure it that also applies (and why) to other situations (Lumley's comment http://tolstoy.newcastle.edu.au/R/help/05/02/12204.html was in reply to accessing a list). Suppose I have similarly called functions, except for a postfix. E.g. f.1 <-
2012 Nov 02
8
[Bug 56692] New: Xorg freezes with vblank enabled on nouveau nvc8
https://bugs.freedesktop.org/show_bug.cgi?id=56692 Priority: medium Bug ID: 56692 Assignee: nouveau at lists.freedesktop.org Summary: Xorg freezes with vblank enabled on nouveau nvc8 QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: Linux (All) Reporter: kel.p.doran at
2005 May 10
1
Nested Logistic Regression
Hi group, I did a quick search in the archive but still couldn't find a function that performs nested logistic regression. Please point me in the right direction. Thanks a million! Regards, Kel
2005 Feb 02
3
A smbd process pegging CPU at near 100% with v3.0.10-1 FC2 RPM
CPU 99.3%: 2170 root 25 0 11656 3228 10m R 99.3 0.5 0:07.42 smbd We're having the same problems as many others with print queues, client lock-ups, etc. I think maybe this CPU problem is related as we have two servers in two locations with the same versions, and both had the problem immediately after upgrading to 3.0.10. We use the YUM facility to upgrade Samba. To react to these
2001 Feb 12
2
CensorReg
Hi Group, I wonder if R has the function CensorReg which takes care of left truncation. I know it's in S. Thank you so much! Kel __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help
2006 Jun 29
1
Help needed understanding eval,quote,expression
I am trying to build up a quoted or character expression representing a component in a list in order to reference it indirectly. For instance, I have a list that has data I want to pull, and another list that has character vectors and/or lists of characters containing the names of the components in the first list. It seems that the way to do this is as evaluating expressions, but I seem to
2012 Sep 24
1
eval and tcltk : target of assignment expands to non-language object
Hi everyone, I have a problem to assign a value with tcl/tk ths is the code ( it should be simple to understand) : library(tcltk) valA<-tclVar("0") valB<-tclVar("0") valC<-tclVar("0") id<-"A" out<-"1" out2<-"2" print(paste("tclvalue(val",id,")",sep="")) # ok
2005 Dec 03
2
How to catch value
Dear R users: I have a problem about catch the value from function. I have following two functions (part): fbolus1 <- function() {......... par<-data.frame(Parameter=c("kel","Vd"),Initial=c(0)) check(par) .....} check<-function(par) { if (par[ ,2] <= 0){ cat("\nEnter again (y/n) ?\n\n") ans<-readline() if (ans == "n" ){
2012 Aug 11
1
using eval to handle column names in function calling scatterplot graph function
I am running R version 2.15.1 in Windows XP I am having problems with a function I'm trying to create to: 1. subset a data.frame based on function arguments (colname & parmname) 2. rename the PARMVALUE column in the data.frame based on function argument (xvar) 3. generate charts plotvar <- function(parentdf,colname, parmname,xvar,yvar ){ subdf <-
2009 Jun 08
0
SMACOF joint configuration plot with bread data? (Michael Kubovy)
Hi Michael, with res.uc$conf you'll get the single configurations for each rater. You can use these to produce the plot you want to have. Best, Patrick r-help-request at r-project.org wrote: > Send R-help mailing list submissions to > r-help at r-project.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://stat.ethz.ch/mailman/listinfo/r-help >
2010 Apr 10
1
Unable to load EBImage
Hi group, I've spent half a day trying to figure this out and searched through different forums. I've tried to load EBImage but am getting the following problem: >Error in inDL(x, as.logical(local), as.logical(now), ...) : > cannot initialize ImageMagick >Error: package/namespace load failed for 'EBImage' My path is like this: C:\\Program
2010 Aug 05
3
eval-parse and lme in a loop
Hi everybody, I'm having trouble getting an eval-parse combination to work with lme in a for loop. Consider the code below. The call to lme outside the loop works. The call to aov inside the loop works, but the call to to lme inside the loop does not. The latter fails with Error in model.frame.default(formula = ~meanCol + Group + c1 + c3 + Subject, : variable lengths differ (found for
2020 Mar 28
0
[klibc:update-dash] dash: eval: Fail immediately with redirections errors for simple command
Commit-ID: e9dcd440e4ba1812181839ba803dc0fe2909c43e Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=e9dcd440e4ba1812181839ba803dc0fe2909c43e Author: Herbert Xu <herbert at gondor.apana.org.au> AuthorDate: Sat, 19 May 2018 02:39:54 +0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 21:42:55 +0000 [klibc] dash: eval: Fail
2012 Sep 03
21
[Bug 54437] New: linux-nouveau2.6 (3.6.0-rc4) : GTX580 : Xorg freezes when using accel
https://bugs.freedesktop.org/show_bug.cgi?id=54437 Bug #: 54437 Summary: linux-nouveau2.6 (3.6.0-rc4) : GTX580 : Xorg freezes when using accel Classification: Unclassified Product: xorg Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: critical
2012 Jan 18
5
Executable expressions
Given a<-"c(1,2,3,4,5)" How can  I evaluate the variable a to return a (numeric) vector comprising of 1,2,3,4,5? Thanks. [[alternative HTML version deleted]]