search for: minton

Displaying 13 results from an estimated 13 matches for "minton".

Did you mean: hinton
2006 Sep 13
7
inserting columns in the middle of a dataframe
Dear R users: Is there a built-in and simple way to insert new columns after other columns in a dataframe? I.e. currently I have: V1 V2 V3 V4 [1,] [2,] Etc. But I want V1 V5 V2 V3 V4 [1,] [2,] Etc. Can this be done in one line? Jon Minton [[alternative HTML version deleted]]
2006 Aug 28
2
regex scares me
...those files with: 1) a ".tab" extension AND 2) the character sequence "lad" anywhere in the name of the file before the extension. Surely this won't take long to do, I thought. (But I was wrong.) What's the regexp pattern to specify here? Thanks, Jon Minton [[alternative HTML version deleted]]
2006 Nov 06
7
Colour-coded Editor for R Code
Do any of you know any simple programming editors for R scripts which offer basic colour-coding and bracket-matching facilities? Dregging through scripts to find a missing comma or parentheses is something I'd rather do less of... Jon Minton [[alternative HTML version deleted]]
2006 Oct 31
2
R crashing during batch file formatting
...hat’s the best way of coding for multiple forms of NA? – the BHPS code ‘-8’ (meaning ‘inapplicable’, not routed for this respondent) should really be distinguished from other forms of nonresponse... Thanks, Jon p.s. Apologies if this is slightly too vague/long winded... Jon Minton [[alternative HTML version deleted]]
2006 Nov 01
1
Measuring the effects of history on event probabilities
...ound 22000 individuals over 13 successive years: they were either 'interviewed' at time t or 'not interviewed'. What's the most appropriate function/approach to use to find out the extent to which individuals' event outcomes are temporally correlated? Thanks, Jon Minton [[alternative HTML version deleted]]
2006 Nov 04
2
Equivalent to Stata command
Hi: Do any of you know if there's an equivalent function to the Stata command: Use v1 v3 v5 v2 v7 using file.dat In R? (i.e. something that just selectively loads certain variables from a file and not others)? Thanks Jon Minton [[alternative HTML version deleted]]
2007 Apr 23
1
automating merging operations from multiple dataframes
...region <- CINDSLIM[,c("pid", "cregion")] ... > this.region <- NINDSLIM[,c("pid", "nregion")] > PidRegion <- merge(PidRegion, this.region, by="pid", all=T) But surely there’s a way to automate this? Any suggestions? Jon Minton Checked by AVG Free Edition. 22/04/2007 20:18 [[alternative HTML version deleted]]
2011 Nov 21
1
Sensitivity and Specificity Forest Plots
...t seem to have this type of forest plot. If I were to construct a bespoke function within R, would you recommend using the forest function within metafor, or the dotplot function within lattice, or something else entirely as a starting point for constructing the function? Many thanks, -- Dr Jon Minton Decision Support Unit Health Economics & Decision Science School of Health and Related Research University of Sheffield Tel: 0114 222 0836 [[alternative HTML version deleted]]
2012 Dec 06
1
Anomalous outputs from rbeta when using two different random number seeds
...es when using set.seed(80) plot(u1.good - u2.good, ylim=c(-0.2, 0.2)) abline(h=0) # plot of differences when using set.seed(20) plot(u1.bad - u2.bad, ylim=c(-0.2, 0.2)) abline(h=0) Could you explain why using set.seed(20) produces this chaotic pattern of behaviour? Many thanks, Jon -- Dr Jon Minton Research Associate Health Economics & Decision Science School of Health and Related Research University of Sheffield Times Higher Education University of the Year Tel: +44(0)114 222 0836 email: j.minton@sheffield.ac.uk http://www.shef.ac.uk/scharr/sections/heds http://scharrheds.blogspot.co.uk...
2007 Feb 16
2
missing -> nonmissing levels
Hi, I expect this is simple but haven’t found an answer looking on the archives... I want to convert ‘NA’ (missing) to particular levels (nonmissing) in factor vectors. e.g. I know > X <- c(1, 2, 3) > summary(X) Min. 1st Qu. Median Mean 3rd Qu. Max. 1.0 1.5 2.0 2.0 2.5 3.0 > X <- as.factor(X) > summary(X) 1 2 3 1 1 1 >
2015 Aug 27
3
[Bug 2454] New: wishlist: please add support for RFC 4432
...4432 Product: Portable OpenSSH Version: 7.1p1 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: sshd Assignee: unassigned-bugs at mindrot.org Reporter: brian at minton.name Please add support for kex rsa2048-sha256 as defined in RFC 4432. -- You are receiving this mail because: You are watching the assignee of the bug.
2006 Aug 23
1
3d timeseries dataframe
Hi, I'm new to R so this might be a little basic for enlightened people like yourselves... I have quarterly British Labour Force Survey (Local Area) data from 1992 to present in .tab format* in folders running from 01 (for the first time period) to 56 (for the most recent). i.e. my directory structure is: .../t/ 01 ... 56
2007 Sep 22
1
reshape() to wide with varying number of responses to fields
Hello, I have a dataframe containing the following variables: PID, Field, Value Where PID refers to a unique individual, Field to a particular question, and Value to a particular response to a question. I?d like this in wide format, with a different row for each PID. However.... there are differing numbers of Values associated with each Field, for each PID. For example, a Field question may