search for: crossupton

Displaying 8 results from an estimated 8 matches for "crossupton".

2009 Sep 01
4
Function to find angle between coordinates?
Dear all, I was doing some self study and was wondering if a function already exists which allows one to determine the angle between points. e.g. given the following (x,y) coordinates input: (0,1); (0,0); (1,0) would result in: output: 90 degrees Best regards C.C.
2009 Sep 09
2
How to sum and group data by DATE in data frame
Dear all, Lets say I have a data frame as follows: > Date <- as.Date(c('2006-08-23', '2006-08-30', '2006-09-06', '2006-09-13', '2006-09-20')) > Income <- c(73.79, 72.46, 76.32, 72.43, 72.62) > data.frame(Date, Income) Date Income 1 2006-08-23 73.79 2 2006-08-30 72.46 3 2006-09-06 76.32 4 2006-09-13 72.43 5 2006-09-20 72.62 >
2009 Oct 22
2
How to find moving averages within each subgroup of a data frame
Dear all, If I have the following data frame: > set.seed(21) > df1 <- data.frame(col1=c(rep('a',5), rep('b',5), rep('c',5)), col4=rnorm(1:15)) col1 col4 1 a 0.793013171 2 a 0.522251264 3 a 1.746222241 4 a -1.271336123 5 a 2.197389533 6 b 0.433130777 7 b -1.570199630 8 b -0.934905667 9 b 0.063493345 10 b
2008 Nov 15
1
Using n+1 instances of R to utilise n processors on one machine - something like R with tabbed browsing?
Dear R-help, Please forgive me if any of the following sounds naieve/confused, i've just got back from a mini-pub-crawl, slightly tipsy, and am feeling brave to ask a possibly silly question... also, not to shiny on the technical side of things. Problem - I need to text mine a collection of 10,000 plain text documents, all of which are sitting in a single folder. i don't have any money
2009 Jan 26
2
RCurl unable to download a particular web page -- what is so special about this web page?
Dear R-help, There seems to be a web page I am unable to download using RCurl. I don't understand why it won't download: > library(RCurl) > my.url <- "http://www.nytimes.com/2009/01/07/technology/business-computing/07program.html?_r=2" > getURL(my.url) [1] "" Other web pages are ok to download but this is the first time I have been unable to download a
2009 Sep 11
3
For sending my R package as part of R-project
...area reduction (Jim Lemon) 7. Build a connectivity between .NET and R without using any interface (Amitava1 M) 8. Order a vector and move to new vector (Conrad Addo) 9. Re: lag a data.frame column? (Angel Spassov) 10. Issue displaying DATES on a plot with two ordinates (clair.crossupton at googlemail.com) 11. Insall package (wesley mathew) 12. Re: Build a connectivity between .NET and R without using any interface (Duncan Murdoch) 13. Re: Insall package (Duncan Murdoch) 14. Re: Xyplot, multi line title via main, all lines left justified (Deepayan Sarkar) 15....
2009 Sep 10
1
Issue displaying DATES on a plot with two ordinates
Dear all, I am having an issue with displaying the dates on a plot with two ordinates (i.e. two differently scaled y-axes). Instead of dates appearing on the x-axis I am instead seeing a string of numbers (14460, 14465, 14470 and 14475). example R code: library(plotrix) x.Left <- as.Date(c('2009-08-04', '2009-08-08', '2009-08-11', '2009-08-15',
2009 Oct 21
1
date conversion not as i would have expected
Good day, i imported some data into R from Excel. By using the edit() function, this is what one of the dates looks like in R: > x <- structure(1254351600, class = c("POSIXt", "POSIXct"), tzone = "") [1] "2009-10-01 BST" However, when i do the following, the date changes: > as.Date(x, formate="%Y-%m-%d" ) [1] "2009-09-30" I