search for: thorpe

Displaying 20 results from an estimated 164 matches for "thorpe".

2018 May 04
2
Converting a list to a data frame
...ames(x), function(z) ata.frame(type=z, x[[z]]))) #Error in ata.frame(type = z, dat[[z]]) : still cannot find function "ata.frame"? William H. Poling, Ph.D. From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Huzefa Khalil Sent: Wednesday, May 02, 2018 1:24 PM To: Kevin E. Thorpe <kevin.thorpe at utoronto.ca> Cc: R Help Mailing List <r-help at r-project.org> Subject: Re: [R] Converting a list to a data frame Hi Kevin, There is probably a better way, but it can be done in two steps like this temp <- list(A=data.frame(x=1:2, y=3:4),B=data.frame(x=5:6,y=7:8))...
2018 May 04
0
Converting a list to a data frame
...ror in ata.frame(type = z, dat[[z]]) : still cannot find function > "ata.frame"? > > *William H. Poling, Ph.D.* > > *From:* R-help [mailto:r-help-bounces at r-project.org] *On Behalf Of > *Huzefa Khalil > *Sent:* Wednesday, May 02, 2018 1:24 PM > *To:* Kevin E. Thorpe <kevin.thorpe at utoronto.ca> > *Cc:* R Help Mailing List <r-help at r-project.org> > *Subject:* Re: [R] Converting a list to a data frame > > Hi Kevin, > > There is probably a better way, but it can be done in two steps like this > > temp <- list(A=data.fr...
2018 May 02
0
Converting a list to a data frame
...er way, but it can be done in two steps like this temp <- list(A=data.frame(x=1:2, y=3:4),B=data.frame(x=5:6,y=7:8)) temp <- lapply(names(temp), function(n, temp) { temp[[n]]$type <- n return(temp[[n]]) }, temp = temp) do.call(rbind, temp) On Wed, May 2, 2018 at 1:11 PM, Kevin E. Thorpe <kevin.thorpe at utoronto.ca> wrote: > I suspect this is pretty easy, but I'm having trouble figuring it out. > Basically, I have a list of data frames such as the following example: > > list(A=data.frame(x=1:2, y=3:4),B=data.frame(x=5:6,y=7:8)) > > I would like to turn...
2018 May 02
3
Converting a list to a data frame
...----------------------------- David L Carlson Department of Anthropology Texas A&M University College Station, TX 77843-4352 -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of William Dunlap via R-help Sent: Wednesday, May 2, 2018 12:28 PM To: Kevin E. Thorpe <kevin.thorpe at utoronto.ca> Cc: R Help Mailing List <r-help at r-project.org> Subject: Re: [R] Converting a list to a data frame > x1 <- do.call(rbind, c(x, list(make.row.names=FALSE))) > x2 <- cbind(type=rep(names(x), vapply(x, nrow, 0)), x1) > str(x2) 'data.frame...
2018 May 02
8
Converting a list to a data frame
...9;ed together and the element name becomes a new variable. For example, I would like to turn the list above into a data frame that looks like this: data.frame(type=c("A","A","B","B"),x=c(1:2,5:6),y=c(3:4,7:8)) Appreciate any pointers. Kevin -- Kevin E. Thorpe Head of Biostatistics, Applied Health Research Centre (AHRC) Li Ka Shing Knowledge Institute of St. Michael's Hospital Assistant Professor, Dalla Lana School of Public Health University of Toronto email: kevin.thorpe at utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
2018 May 02
0
Converting a list to a data frame
...ata.frame(type=z, x[[z]]))) x2 type x y 1 A 1 3 2 A 2 4 3 B 5 7 4 B 6 8 David C -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of David L Carlson Sent: Wednesday, May 2, 2018 3:51 PM To: William Dunlap <wdunlap at tibco.com>; Kevin E. Thorpe <kevin.thorpe at utoronto.ca> Cc: r-help mailing list <r-help at r-project.org> Subject: Re: [R] Converting a list to a data frame Or add the type column first and then rbind: x <- list(A=data.frame(x=1:2, y=3:4),B=data.frame(x=5:6,y=7:8)) x2 <- do.call(rbind, lapply(names(x), f...
2018 May 03
1
Converting a list to a data frame
...s from the base R toolbox. Congratulations! Martin Maechler R Core Team > -----Original Message----- > From: R-help <r-help-bounces at r-project.org> On Behalf Of David L Carlson > Sent: Wednesday, May 2, 2018 3:51 PM > To: William Dunlap <wdunlap at tibco.com>; Kevin E. Thorpe <kevin.thorpe at utoronto.ca> > Cc: r-help mailing list <r-help at r-project.org> > Subject: Re: [R] Converting a list to a data frame > > Or add the type column first and then rbind: > > x <- list(A=data.frame(x=1:2, y=3:4),B=data.frame(x=5:6,y=7:8)) > x2 <...
2018 May 02
0
Converting a list to a data frame
...=rep(names(x), vapply(x, nrow, 0)), x1) > str(x2) 'data.frame': 4 obs. of 3 variables: $ type: Factor w/ 2 levels "A","B": 1 1 2 2 $ x : int 1 2 5 6 $ y : int 3 4 7 8 Bill Dunlap TIBCO Software wdunlap tibco.com On Wed, May 2, 2018 at 10:11 AM, Kevin E. Thorpe <kevin.thorpe at utoronto.ca> wrote: > I suspect this is pretty easy, but I'm having trouble figuring it out. > Basically, I have a list of data frames such as the following example: > > list(A=data.frame(x=1:2, y=3:4),B=data.frame(x=5:6,y=7:8)) > > I would like to turn...
2009 Jun 23
12
How do I change passwords / remove users for Samba?
I've got a bit of a problem with Samba. I just can't work out how to change passwords or remove users. I've just got user security.. lines in smb.conf are: security = user passdb backend = tdbsam I've removed the user using pdbedit, I've removed the unix user, smbpasswd says the user doesn't exist yet I can still connect to the shares. I'm
2012 Jan 17
2
net classification improvement?
Greetings, I have generated several ROC curves and would like to compare the AUCs. The data are cross sectional and the outcomes are binary. I am testing which of several models provide the best discrimination. Would it be most appropriate to report AUC with 95% CI's? I have been looking in to the "net reclassification improvement" (see below for reference) but thus far I can only
2016 Apr 26
5
Linear Regressions with constraint coefficients
...ks a lot in advance and kind regards, Aljosa Aleksandrovic Aljosa Aleksandrovic, FRM, CAIA Quantitative Analyst - Convertibles aljosa.aleksandrovic at man.com Tel +41 55 417 7603 Man Investments (CH) AG Huobstrasse 3 | 8808 Pf?ffikon SZ | Switzerland -----Original Message----- From: Kevin E. Thorpe [mailto:kevin.thorpe at utoronto.ca] Sent: Dienstag, 26. April 2016 14:35 To: Aleksandrovic, Aljosa (Pfaeffikon) Subject: Re: Linear Regressions with constraint coefficients You need to send it to r-help at r-project.org however. Kevin On 04/26/2016 08:32 AM, Aleksandrovic, Aljosa (Pfaeffikon)...
2011 Jul 19
6
[OT] would any of you recommend a ticketing system?
Hi all, sorry for being OT but would any of you recommend a ticketing system? We'd like something pretty comprehensive to cover helpdesk and HR stuff as well as software bugs/requests. There seems to be a million variations out there.
2016 Apr 26
1
Linear Regressions with constraint coefficients
...> > > Aljosa Aleksandrovic, FRM, CAIA > Quantitative Analyst - Convertibles > aljosa.aleksandrovic at man.com > Tel +41 55 417 7603 > > Man Investments (CH) AG > Huobstrasse 3 | 8808 Pf?ffikon SZ | Switzerland > > > -----Original Message----- > From: Kevin E. Thorpe [mailto:kevin.thorpe at utoronto.ca] > Sent: Dienstag, 26. April 2016 14:35 > To: Aleksandrovic, Aljosa (Pfaeffikon) > Subject: Re: Linear Regressions with constraint coefficients > > You need to send it to r-help at r-project.org however. > > Kevin > > On 04/26/2016 08:3...
2009 Nov 01
3
Collapse factor levels
...B B B C C C C 3 0 0 3 0 0 4 0 0 0 So, there are clearly still 10 underlying levels. The results I would like to see from printing the value and summary(x) are: > x [1] A A A B B B C C C C Levels: A B C > summary(x) A B C 3 3 4 Hopefully this makes sense. Thanks, Kevin -- Kevin E. Thorpe Biostatistician/Trialist, Knowledge Translation Program Assistant Professor, Dalla Lana School of Public Health University of Toronto email: kevin.thorpe at utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
2009 Jan 23
10
Completeley disabling SELinux?
Hi all, I've set SELinux to disabled using the security and firewall widget but I'm still getting a lot of messages in Logwatch.... NULL security context for user, but SELinux in permissive mode, continuing () So it looks like SELinux is still operating. Can anyone tell me how to turn it off completely? It's my development server under my desk so I reallly don't care
2008 Jan 23
5
latex{Hmisc} cannot find xdvi on MAC OS X
...en the error "sh: line 1: xdvi: command not found" appears. I started a terminal and a "which xdvi" returned the path where it found xdvi. So, it appears that xdvi is in the PATH. My apologies, I forgot to get her sessionInfo() but I think she is running R 2.6.? -- Kevin E. Thorpe Biostatistician/Trialist, Knowledge Translation Program Assistant Professor, Department of Public Health Sciences Faculty of Medicine, University of Toronto email: kevin.thorpe at utoronto.ca Tel: 416.864.5776 Fax: 416.864.6057
2008 Aug 20
6
Best way to migrate a server?
I was just wondering what recommendations you have on migrating a CentOS 5 install between servers? I've done similar in the past by setting up a minimal install in the new server, use tar to copy over the old install and reboot. I was thinking of rsync this time. Is that an acceptable thing to do or have I missed something important? thanks -------------- next part -------------- An
2016 Apr 26
2
Linear Regressions with constraint coefficients
...> > > Aljosa Aleksandrovic, FRM, CAIA > Quantitative Analyst - Convertibles > aljosa.aleksandrovic at man.com > Tel +41 55 417 7603 > > Man Investments (CH) AG > Huobstrasse 3 | 8808 Pf?ffikon SZ | Switzerland > > > -----Original Message----- > From: Kevin E. Thorpe [mailto:kevin.thorpe at utoronto.ca] > Sent: Dienstag, 26. April 2016 14:35 > To: Aleksandrovic, Aljosa (Pfaeffikon) > Subject: Re: Linear Regressions with constraint coefficients > > You need to send it to r-help at r-project.org however. > > Kevin > > On 04/26/2016 08:3...
2003 May 09
2
TCP_NODELAY always set, now?
...ide, which is running through the pipe). Also, does anyone care, or is this the expected behavior? Connection looks like this: ssh -> pipe using ProxyCommand -> proxy -> sshd Client is OpenSSH_3.6.1p1 on FreeBSD 4.7-RELEASE-p6, server is OpenSSH_3.6 on OpenBSD/i386 3.3. -- Henry E. Thorpe
2017 Sep 29
4
Converting SAS Code
...do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> >> --- >> This email has been checked for viruses by AVG. >> http://www.avg.com >> >> > -- Kevin E. Thorpe Head of Biostatistics, Applied Health Research Centre (AHRC) Li Ka Shing Knowledge Institute of St. Michael's Hospital Assistant Professor, Dalla Lana School of Public Health University of Toronto email: kevin.thorpe at utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016