search for: djmbiau

Displaying 20 results from an estimated 21 matches for "djmbiau".

2013 Jan 23
4
extracting characters from a string
Dear All, I have a data frame of vectors of publication names such as 'pub': pub1 <- c('Brown DK, Santos R, Rome DF, Don Juan X') pub2 <- c('Benigni D') pub3 <- c('Arstra SD, Van den Hoops DD, lamarque D') pub <- rbind(pub1, pub2, pub3) I would like to construct a dataframe with only author's last name and each last name in columns and the
2010 Mar 29
0
Re : how to update r to lattest version on debian lenny?
...e is no lower bound on plyr's versions: you can then use install.packages or what you like). Nota "\" denotes it is on the same line i bash scripting!!! Then, you wait one or two weeks and you get R-2.11.0 if you want. Have nice days. DB --- En date de?: Lun 29.3.10, Biau David <djmbiau at yahoo.fr> a ?crit?: > De: Biau David <djmbiau at yahoo.fr> > Objet: [R-sig-Debian] how to update r to lattest version on debian lenny? > ?: "R-debian" <> > Date: Lundi 29 mars 2010, 13h43 > Hi all, > > how do you update R on Debian lenny? I have tr...
2013 Jan 13
3
extracting character values
Dear all, I have a dataframe of names (netw), with each cell including last name and initials of an author; some cells have NA. I would like to extract only the last name from each cell; this new dataframe is calle 'res' Here is what I do: res <- data.frame(matrix(NA, nrow=dim(netw)[1], ncol=dim(netw)[2])) for (i in 1:x) { wh <- regexpr('[a-z]{3,}',
2011 Mar 27
0
setseed() works well
...." > > >Today's Topics: > > 1. set.seed (Biau David) > 2. Re: set.seed (Dirk Eddelbuettel) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Sat, 26 Mar 2011 00:30:32 +0000 (GMT) >From: Biau David <djmbiau@yahoo.fr> >To: R-debian <r-sig-debian@r-project.org> >Subject: [R-sig-Debian] set.seed >Message-ID: <903688.82049.qm@web25107.mail.ukl.yahoo.com> >Content-Type: text/plain > >Dear list, > >It looks like set.seed does not work for me (see code below). I am runn...
2013 Jan 15
2
removing loops from code in making data.frame
Dear all, I am working on an author network and to do so I have to arrange a data.frame (tutu) crossing author names (rows) per publication number (column). The participation of the author to a study is indicated by a 1 and 0 otherwise. I have a vector (xaulist) of all the names of authors and a data.frame (tata) with all the publications in row and the authors in columns. I have writen a loop
2010 Apr 19
1
Install latest R version from apt on Lenny
well, I had the site and page and I had added the relevant backport but it didn't work and i keep installing R 2.7 . Don't know why; i probably missed something. #### May be you should add in your mail the file : /etc/apt/sources.list (I suppose there might be a typo, as IT addresses are long and booring, and AFAIK, correcting a typo one made is **very** difficult). FYI binary installs
2010 Nov 16
1
Re : interpretation of coefficients in survreg AND obtaining the hazard function for an individual given a set of predictors
...ease. I can relate with other published results. With survreg the Weibull model gives a coefficient -0.4035245: is it feasible or meaningful to translate it to HR? Thanks in advance, Vincent Vinh-Hung Radiation Oncology, Geneva University Hospitals On Sun, Nov 14, 2010 at 6:51 AM, Biau David <djmbiau at yahoo.fr> wrote: > Dear R help list, > > I am modeling some survival data with coxph and survreg (dist='weibull') using > package survival. I have 2 problems: > > 1) I do not understand how to interpret the regression coefficients in the > survreg output and it is...
2013 Jan 11
4
count combined occurrences of categories
Dear all,   i would like to count the number of times where I have combined occurrences of the categories of 2 variables.   For instance, in the dataframe below, i would like to know how many times each author (au1, au2, au3 represent the first, second, third author) is associated with each of the category of the variable 'nam'. The position of the author does not matter.   nam <-
2010 Nov 13
2
interpretation of coefficients in survreg AND obtaining the hazard function for an individual given a set of predictors
Dear R help list, I am modeling some survival data with coxph and survreg (dist='weibull') using package survival. I have 2 problems: 1) I do not understand how to interpret the regression coefficients in the survreg output and it is not clear, for me, from ?survreg.objects how to. Here is an example of the codes that points out my problem: - data is stc1 - the factor is dichotomous
2010 Mar 28
2
installing package reshape and plyr on Debian Lenny
Hi all, has anyone tried and possibly succeeded in installing "reshape" package on Debian Lenny? I have a permanent failure because i cannot find the "plyr" package. I tried 10 mirrors. I contacted Hadley Wickham and James Long who seemed to have been closed to do it but it didn't work (meaning so far I haven't the answer from them). So has anyone any ideas as how to
2010 Mar 29
2
how to update r to lattest version on debian lenny?
Hi all, how do you update R on Debian lenny? I have tried to re-install r-base after adding deb http://<favorite-cran-mirror>/bin/linux/debian lenny-cran/ to my backport lists but it keeps installing R 2.7.1. What should I be doing to get the lattest R release? I need it to install a package (plyr) Thanks, David. [[alternative HTML version deleted]]
2010 Nov 19
2
intall tcl/tk
Dear Help List, I am trying to install a package (DiagnosisMed) on R (R version 2.10.1 (2009-12-14)) on Debian Lenny (architecture i386). I get the following error message: ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ * installing *source* package ‘DiagnosisMed’ ... ** R ** data ** preparing package for lazy loading Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this
2011 Mar 26
1
set.seed
Dear list, It looks like set.seed does not work for me (see code below). I am running Debian squeeze. Is this an issue with the distribution or with my understanding of the function? I'm pretty sure, but not certain, it used to work that way on windows > runif(5) [1] 0.6516557 0.5677378 0.1135090 0.5959253 0.3580500 > runif(5) [1] 0.42880942 0.05190332 0.26417767 0.39879073
2010 Jun 30
0
longitudinal tobit regression in R
Hi, I am trying to model a score over time. This score shows a ceiling effect. I was willing to use a longitudinal tobit model, such as the one described by Twisk et al. (Twisk_Longitudinal tobit regression: A new approach to analyze outcome variables with floor or ceiling effects_JCE_2009) but it is programmed for STATA. Has anyone used such models in R? Any other idea? David Biau.
2010 Jul 30
1
COXPH: how to get the score test and likelihood ratio test for a specific variable in a multivariate Coxph ?
Hello, I would like to get the likelihood ratio and score tests for specific variables in a multivariate coxph model. The default is Wald, so the tests for each separate variable is based on Wald's test. I have the other tests for the full model but I don't know how to get them for each variable. Any idea? David Biau. [[alternative HTML version deleted]]
2010 May 20
2
multiple 2 by 2 crosstabulations?
Hello, I have a dataframe (var_1, var_2, ..., var_n) and I would like to export summary statistics to Latex in the form of a table. I want specific summary statistics by crossing numerous variables 2x2 AT ONCE. In each cell I would like sometimes to have the median (Q1 - Q3), or frequency and proportion, etc. CrossTable, xtab, etc... do not allow for multiple 2 by 2 crosstabulation. The table
2010 Aug 05
3
How to extract se(coef) from cph?
Hello, I am modeling some survival data wih cph (Design). I have modeled a predictor which showed non linear effect with restricted cubic splines. I would like to retrieve the se(coef) for other, linear, predictors. This is just to make nice LateX tables automatically. I have the coefficients with coef(). How do I do that? Thanks, David Biau. [[alternative HTML version deleted]]
2012 Dec 13
2
package ‘Design’ is not available (for R version 2.15.2)
Dear all, i have re-installed Debian on my computer and for some reason I cannot install some packages anymore using the install.package command from the R console. Some packages I can, and some I cannot (Design for instance) this is what I get: > install.packages('Design') Installing package(s) into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) --- Please select a CRAN
2010 Apr 15
1
Re : R installation for Ubuntu (Karmic)
I recently had to re-install R on Debian Lenny. I couldn't install the latest version through apt-get. So i had to compile it manually from the .tar . This link is very useful: http://cran.r-project.org/doc/manuals/R-admin.html Hope this helps,  David Biau. ________________________________ De : "r-sig-debian-request@r-project.org" <r-sig-debian-request@r-project.org> À :
2010 Aug 13
2
How to compare the effect of a variable across regression models?
Hello, I would like, if it is possible, to compare the effect of a variable across regression models. I have looked around but I haven't found anything. Maybe someone could help? Here is the problem: I am studying the effect of a variable (age) on an outcome (local recurrence: lr). I have built 3 models: - model 1: lr ~ age y = \beta_(a1).age - model 2: lr ~ age + presentation