Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

45 results for “from:Polwart Calum (County Durham and Darlington NHS Foundation Trust)”

Contingency Table - output to odfWeave not working for matrix
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Feb 20, 2010 · r-help

Solved my own problem by using: odfTable.matrix( as.matrix ( with (mydata, table (site_id, reaction)) ) ) ******************************************************************************************************************** This message may contain confidential information. If yo...{{dropped:21}}

Not sure this is something R could do but it feels like it should be.
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Jun 6, 2013 · r-help

An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130606/3af2455c/attachment.pl>

Superscripts and rounding
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Jul 28, 2009 · r-help

So the issue is something to do with the [['xxx']] construction of your data. Can you explain what thats' all about - as it errors all over the shop when I try using that... You've set me on a mission...

Superscripts and rounding
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Jul 30, 2009 · r-help

Duh! did it again! the variables need str in front of them don't they!! sub = sprintf('Seasonal station with natural streamflow - Lat: %s Lon: %s Gross Area %s km\UB2 - Effective Area %s km\UB2 ', round( str[['metadata']][['latitude...

How to set default plotting colors by treatment?
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Sep 14, 2009 · r-help

>> col=c("blue","red")mydfr$[treatment] > > Yes, but I would like to use the function for lots of other dataframes > as well, so embedding 'mydfr' in the function is not the ideal > solution... In that case I'd try something...

How to set default plotting colors by treatment?
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Sep 14, 2009 · r-help

> > # I tried defining a function like this > myplot <- function(...)plot(..., pch=19, col=c("blue","red")[treatment]) > > # So i can call it like this: > with(mydfr, myplot(Xmeas, Ymeas)) > > # but: > Error in plot.xy(xy, type, ...) : object 'treatment' not found...

Kaplan Meier - not for dates
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Oct 31, 2011 · r-help

I have some data which is censored and I want to determine the median. Its actually cost data for a cohort of patients, many of whom are still on treatment and so are censored. I can do the same sort...

Kaplan Meier - not for dates
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Nov 7, 2011 · r-help

> 2. The answer will be wrong. The reason is that the censoring occurs on a time scale, not a $ scale: you don't stop observing someone because > total cost hits a threshold, but because calendar time does. The KM routines...

Superscripts and rounding
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Jul 28, 2009 · r-help

I'm anything but an expert in R however if I'm labeling a graph axis with a superscript I have tended to use: > plot (x , y , xlab = expression ("label"^2)) But when you try to have more than one...

Kaplan Meier - not for dates
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Nov 7, 2011 · r-help

> 2. The answer will be wrong. The reason is that the censoring occurs on a time scale, not a $ scale: you don't stop observing someone because > total cost hits a threshold, but because calendar time does. The KM routines...

Exporting PDF
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Apr 20, 2010 · r-help

> I run the script and it exports a PDF called "version 1". > I want it to check if "version 1" already exists. If so, > then I want the new graphs to be exported as > "version 2", and so on. > > Is...

Non-unique Values
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · May 25, 2010 · r-help

I might be missing something really obvious, but is there an easy way to locate all non-unique values in a data frame? Example mydata <- numeric() mydata$id <- 0:8 mydata$unique <- c(1:5, 1:4) mydata$result <- c...

matchit - can I weight the parameters?
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Jun 19, 2012 · r-help

This may be a really obvious question but I just can't figure out how to do it. I have a small dataset that I am trying to compare to some controls. It is essential that the controls are matched...

Summarising Data for Forrest Plots
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Jul 30, 2009 · r-help

>Ah, I think I see what you want. Try this on each pair of exclusive sets: > n_total<-dim(mydataset)[1] under65<-mydataset$age <= 65 n_under65<-sum(under65) under65row<-c(sum(mydataset$dose[under65] == "FD"), sum(mydataset$dose[under65...

Summarising Data for Forrest Plots
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Jul 30, 2009 · r-help

>Ah, I think I see what you want. Try this on each pair of exclusive sets: <snip> >Then under65row and over65row should be the first two rows of your result. >Can't test this at the moment, but I don...

PowerCut Killed R - is my code retrievable?
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Aug 19, 2009 · r-help

I've been tweaking code for several days on and off in R, cut and pasting in from a text editor (I just leave them open all the time). I think I got something that was usable but then a...

Obtaining value of median survival for survfit function to use in calculation
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Sep 8, 2009 · r-help

Hi, I'm sure this should be simple but I can't figure it out! I want to get the median survival calculated by the survfit function and use the value rather than just be able to print it. Something...

I can't get seq to behave how I think it should
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Jan 17, 2019 · r-help

I am using seq with the expression seq(1.4, 2.1, by=0.001) to create a sequence of references from 1.4 to 2.1 in 0.001 increments. They appear to be created correctly. They have a...

Using 'field names' of a data.frame in a function
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Aug 6, 2009 · r-help

I may be doing this wrong! but I have a function which I have simplified a lot below. I want to pass some 'field names' of a data-frame to the function for it to then do some manipulation of...

Superscripts and rounding
Polwart Calum (County Durham and Darlington NHS Foundation Trust) · Jul 28, 2009 · r-help

Slightly confused because if I try: > newdata.yaxis = c(2.0000473, 3.123456, 3.23456, 2.67890, 1.56789) > newdata.yaxis_4 = round (newdata.yaxis, digits = 4) > newdata.yaxis [1] 2.000047 3.123456 3.234560 2.678900 1.567890...

Can't find what you're looking for? Try searching with Google .