similar to: Example Syntax for if - then- and - else Statements

Displaying 20 results from an estimated 600 matches similar to: "Example Syntax for if - then- and - else Statements"

2005 Aug 25
4
covariance matrix under null
Hello I am fitting a Cox PH model using the function coxph(). Does anyone know how to obtain the estimate of the covariance matrix under the null hypothesis. The function coxph.detail() does not seem to be useful for this purpose. Thanks, KD. [[alternative HTML version deleted]]
2006 Aug 01
4
Overlay Boxplot with scatter plot
I am trying to make a box plot and overlay it with a scatter plot from another data.frame. I was able to successfully create the boxplot, but when i tried using points(x~y...) the dots did not show up. example code aa<-(300,300,300,300,600,600,600,600,900,900,900,900) bb<-(13,12,14,11,56,44,34,75,22.,34,22,98,59,55,56) cc<-(13,12,14,11,56,44,34,75,22.,34,22,98,59,55,56)
2007 Aug 10
7
Help wit matrices
Hello all, I am working with a 1000x1000 matrix, and I would like to return a 1000x1000 matrix that tells me which value in the matrix is greater than a theshold value (1 or 0 indicator). i have tried mat2<-as.matrix(as.numeric(mat1>0.25)) but that returns a 1:100000 matrix. I have also tried for loops, but they are grossly inefficient. THanks for all your help in advance. Lanre
2006 Aug 09
3
Unique rows
hello all, I have a dataset where the subjects are duplicated. How do I subset such that I can get only I row/subject. aa<-c(1,1,2,2,3,3,4,4,5,5,6,6) bb<-c(56,56,33,33,53,53,20,20,63,63,9,9) cc<-data.frame(aa,bb) I would like to subset df(cc) such that I can get aa bb 1 56 2 33 3 53 4 20 5 63 6 9 I know this should be fairly easy but I can't figure how to do it in a dataframe and
2007 Aug 11
0
DOE and interaction plot general question
This is a general question about Design of experiments. If i am not allowed to post general questions like this here please accept my apologies and ignore the question. I did a DOE with six factors in eight runs. I know i cannot check for interactions using this design, but i tried the interaction plot and it showed me many interactions. After this I foldover the design and ran the 8 runs to learn
2012 Sep 06
4
Why the error is coming, can anyone help?
Hi everyone Can anyone help? x = c("Treatment", "Planned", "Actual", "Demographics", "Outcomes") for (i in x) { df <- paste(i)[, c("Reference_ID", "Arm_ID")] unique(df) -> uniq as.data.frame(table(uniq$Reference_ID)) -> y i.Arms<- paste(y$Var1, y$Freq, sep="_") Print_Message("Check for the Total No of
2007 Feb 04
3
Reference to dataframe and contents
This is probably easy for experienced users but I could not find a solution. I have several R scripts that process several columns of a dataframe (several dataframes and columns actually, but simplified for my question). References such as: myDF$myCol are all over. I like to automate this for other dataframes and columns by defining a reference only once in the beginning of the script. One
2012 Sep 06
3
How to find the non matching vectors among these five, if so how we can find the non matching element of that vectors?
Hello, Say all the below five vectors should have same elements in any situation. How to find the non matching vectors among these five, if so how we can find the non matching elements of those vectors? Can anyone help? a=c(1,2,3) b=c(1,2,3,4) c=c(1,2,3) d=c(1,2,3) e=c(1,4,5) identical(a,b,c,d,e) Visit us at Booth No. 5 at 2012 ChemOutsourcing Conference, 10-13 Sept 2012, Ocean Place Resort -
2008 Dec 04
1
Changing 'record' option in open graphics device
Hi, I am wondering if there is a way to change the value of the "record" option in a graphics device that is already open (and accepts this option). I don''t want to open a new device with, for example "dev.new(record=T)", but just want to change the settings of the current device. This can be done by pointing and clicking on the "history" tab of a
2007 Nov 09
1
Problem Installing 2.6.0 on Mac
I'm not able to install R 2.6.0 on my Mac running 10.5. When running the installer, and after agreeing to the license, in the "Installation Type" stage, the Packages are all greyed out (R framework and R GUI for MAC OS X), and therefore the "Install" button in the lower right is greyed out. It won't let me select anything to install. Anyone know what the
2006 Nov 13
3
For MacBook, best way to do R?
I'm getting a MacBook and I'd like to stick with OS X rather than convert it to Linux just yet. However, my main concern is having decent performance. What's my best option: *use the existing binary for R? *compile R fresh under OS X? * install Linux and run R under that? Does anyone have any recent experience they can share? Thanks! -- I can answer any question. "I
2008 Oct 02
1
R Training Courses
There are still places available on the following courses. For more detailed information and a registration form please contact training@mango-solutions.com, or visit our website at www.mango-solutions.com <http://www.mango-solutions.com/> . R for Finance **************************************************** Dates: 21st to 23rd October 2008. Duration: 3 days. Location: London.
2010 Apr 12
1
Local R Training
Hello List, I am new to R and statistics in general. My two colleges and I would like to get some training in the proper usage of R. A quick internet search provided no results for the region of Basel in Switzerland. Does some one on this list knows of any trainers or schools in the region in question or where to look next? Regards, Dominik Riva Universitätsspital Basel Med.
2020 Feb 01
1
[Bug 14260] New: leading / added to file name causing file not found when setting permissions
https://bugzilla.samba.org/show_bug.cgi?id=14260 Bug ID: 14260 Summary: leading / added to file name causing file not found when setting permissions Product: rsync Version: 3.1.3 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: core
2005 Sep 29
1
Cisco AS5300 --> [SIP] --> Asterisk - NO AUDIO
OK, here goes my next problem. I have puchased a DID which I can connect to via SIP I have been given the following details: Username: uka1xxxxxx Password: 1000xxxxxx Server: brxxxx.net:5160 My equipment is Asterisk CVS HEAD on Red Hat EL 3.0 (NO NAT) The other end is a Cisco AS5300 (NO NAT) I can register with the Cisco with no problem. When I dial the DID it sends the call to my asterisk
2006 Nov 07
3
question on multilevel modeling
Hi, I am trying to run a multilevel model with time nested in people and people nested in dyads (3 levels of nesting) by initially running a series of models to test whether the slope/intercept should be fixed or random. The problem that I am experiencing appears to arise between the random intercept, fixed slope equation AND. (syntax: rint<-lme(BDIAFTER~BDI+WEEK+CORUMTO,
2007 Nov 28
1
question about warning message in nlme model
I am writing to inquire about a warning message that I receive when trying to model a random slope and intercept at the second level of a 3-level model. Specifically, I am testing a 3-level model in which time (WEEK) is nested in participants (PARTICIP) and participants are nested in dyads (DYADID). The goal is to examine how an interpersonal style (CORUMTO) one week predicts changes in
2015 Mar 17
0
Postdoc in Pharmacometrics at the University of Cape Town
Dear all, at the Division of Clinical Pharmacology at the University of Cape Town (South Africa) we are looking for highly motivated science/engineering PhD graduates to join our pharmacometrics group as a post-doctoral fellow. Pharmacometrics is an emerging discipline that applies mathematical modelling and simulation to pharmacology, aiding the interpretation of data from clinical trials,
2019 Jan 25
0
PhD student and postdoc positions in pharmacometrics at the University of Cape Town
Dear all, We are looking for bright and motivated candidates to join our pharmacometric modelling team at the University of Cape Town. Pharmacometrics is an emerging discipline that uses mathematical and statistical tools to quantify drug, disease, and trial information to aid efficient drug development and/or regulatory decisions. It designs and applies mathematical models to describe the
2020 Sep 01
0
PhD student and postdoc positions in pharmacometrics at the University of Cape Town
Dear all, Our pharmacometrics group is looking for bright and motivated candidates to join our modelling team within the Division of Clinical Pharmacology at the University of Cape Town. Our group has established PK/PD modelling expertise in the disease areas of tuberculosis, HIV, and malaria. It is active internationally and enjoys on-going collaborations and exchange programs with some of the