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.
hey, I can not find a function for the following problem, hopefully you can help me. I have a vactor like this one v = c(NA,NA,TRUE,TRUE,NA,TRUE,NA,TRUE,TRUE,TRUE) and I would like to...
hi, On Sat, Oct 17, 2009 at 02:04:43PM -0700, John Kane wrote: > Putting names on a ggplot > > p <- p + geom_text(aes(x = namposts + 2.5, y = temprange[2], label = > mlabs), > data = year, size = 2.5, colour='black...
hi everybody, is this intended behaviour? > x <- as.Date('0-01-01') > as.Date(as.character(x)) [1] "0-01-01" > a <- x - 365 > as.Date(a) [1] "-1-01-01" > as.Date(as.character(a)) Error in charToDate(x...
Carol Gao <carol.gaox <at> gmail.com> writes: > > Hi, > > Does anyone know how to take a time difference when the format of the time > is as 13:22:23.586? I am trying to take the difference of time between...
On Sat, Oct 17, 2009 at 09:36:50AM +0200, Alfredo Alessandrini wrote: > Hi, > > I've two dataframe: > > > snag_totale > AREA snag_ha > 1 2 1.628128 > 2 3 10.274249 > 3 4 2.778503 > 4 5 73.764307 > 5...
analyst41 <at> hotmail.com <analyst41 <at> hotmail.com> writes: > > I have a data set that has some comma separated strings in each row. > I'd like to create a vector consisting of all distinct strings that > occur. The number of...
hi, I have some session data in a dataframe, where each session is recorded with a start and a stop date. Like this: session_start session_stop =================== 2009-01-03 2009-01-04 2009-01-01 2009-01-05 2009...
r-help, I'm currently using 'lp.transport' from 'lpSolve' to solve a transportation problem. However, I've experienced some performence issues, and have been told that other solvers may perform better. I've looked briefly at 'Rsymphony' and 'rglpk...
for example: > d = data.frame(gender=c("m","f","unkown"), x=rnorm(300)) > tapply(d$x,d$gender,mean) f m unkown 0.0787628409 0.0940534765 -0.0005323276 regards, stefan On Wed, Dec 09, 2009 at 04:50:37PM -0800...
> > > I'm trying to dynamically build variable names to use on a list. Let's say I have a list like this one: > > l <- list(V1_1=c(1,2,3), V1_2=c('One','Two','Three')) > > And I succesfully...
Hi, I've set up a discrete choice experiment on magazine preference following the guidelines from Azaiki. H & Nishimura K. "Design and Analysis of Choice Experiments Using R. A Brief Introuction" from Agricultural Informatin Research 17(2), 2008. 86-94...
I'm trying to typeset at simple crosstable with the Hmisc latex function. And I have two problems. 1. How do I make all columns the same width? The Latex function seems very unwilling to break the 'cgroup' labels and...
Hey, I want to compile R version 2.9.1 on debian stable but the make command stops with this message: ... >>> Building/Updating help pages for package 'tcltk' Formats: text html latex example make[2]: Leaving directory `/usr/src/R...
S: Works! Thanx... 2010-01-29 Henrique Dallazuanna wrote: Try this: > >invisible(mysqlCloseConnection(con)) > >On Fri, Jan 29, 2010 at 9:10 AM, Stefan Petersson ><stefan.petersson at inizio.se> wrote: >> >> Hi, >> >> A small (but annoying) problem with RMySQL library...
I often read SPSS system files (*.sav) into R using the 'read.spss' function from the 'foreign' library. To retain all the meta data, i.e. 'variable labels', I call the function like this: test.sav <- read.spss('http://www...
Hello, x <- c(3,5,7,3,9,7) > as.numeric(as.factor(x)) [1] 1 2 3 1 4 3 regards, stefan On Fri, Nov 20, 2009 at 12:02:59AM -0800, Chris Li wrote: > > Hi all, > > I have...
ng, I have a matrix (x) with binary content. Each row of the matrix holds exactly one 1, and the rest of the row is zeros. The thing is that I need to 'collapse' the matrix to one column where...
First, I don't have the correct lingo for this topic, so I can't really find a solution for my problem. And maybe I formulate it incorrectly, so bear with me. How would I calculate a 'constant transition matrix...
hello, sep="\n" will seperate each column by \n which is not what you want. I think a csv would be the best solution. write.table(yourdataframe,sep=",") or use write.csv directly. regards, stefan On Mon, Nov 16, 2009...
circe <tju_circe <at> hotmail.com> writes: > > Hi, when I type in these words: > > > a=c("2011-06-01 17:21:24.83", "2011-06-01 17:21:24.283") > > as.POSIXct(a) > > the real output is: > [1] "2011-06...
Can't find what you're looking for? Try searching with Google .