similar to: Behavior of seq_along (was: Create a new var reflecting the order of subjects in existing var)

Displaying 20 results from an estimated 300 matches similar to: "Behavior of seq_along (was: Create a new var reflecting the order of subjects in existing var)"

2007 Apr 02
3
Create a new var reflecting the order of subjects in existing var
Dear R helpers I have a data set sth like this: set.seed(123);dat <- data.frame(ID= c(rep(1,2),rep(2,3), rep(3,3), rep(4,4), rep(5,5)), var1 =rnorm(17, 35,2), var2=runif(17,0,1)) dat ID var1 var2 1 1 33.87905 0.02461368 2 1 34.53965 0.47779597 3 2 38.11742 0.75845954 4 2 35.14102 0.21640794 5 2 35.25858 0.31818101 6 3 38.43013
2007 Apr 02
1
Res: Create a new var reflecting the order of subjects in existing var
Um texto embutido e sem conjunto de caracteres especificado associado... Nome: n?o dispon?vel Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070401/68a57089/attachment.pl
2008 Jul 15
8
DO NOT REPLY [Bug 5615] New: iconv conversion not applied to symlinks
https://bugzilla.samba.org/show_bug.cgi?id=5615 Summary: iconv conversion not applied to symlinks Product: rsync Version: 3.0.3 Platform: Other OS/Version: SunOS Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: nils.goroll@hamburg.de
2008 Feb 15
1
OT: installing the XML package - xmlOutputBufferCreateBuffer problem
Hi, first of, my apologies for the possibly off-topic message regarding a problem when installing the XML package (I meant to post at omegahat- help, but I get 404 at http://www.omegahat.org/mailman/listinfo) When installing the XML package using: install.packages("XML") everything seems to go fine... but then I try to load the package and I get: > library(XML) Error in
2009 Aug 21
1
problem with plot.lm?
I'm bringing this issue to r-devel as my idea of sending it to r-help appears to be wrong. The following is reproducible in R-patched and R-devel (also in older versions). An outlier is inserted in group E and the last plot by plot.lm suggests that the point belongs to D. It appears to me that: * (facval, rsp) and * x$xlevels[[1L]][order(sapply(split(yh,mf[,1]), mean))] are sorted
2009 Nov 28
1
Display list redraw incomplete
Hi, I'm observing the following warning with R-2.10.0 on a machine I have remote access to. Like what happened to Roger ( http://www.mail-archive.com/r-devel at r-project.org/msg08669.html ), two extra instances of X11 are open after dev.off(). Although I'm reporting this on R-2.10.0, it's reproducible on R-devel r50541. Any thoughts about this? Thanks a lot for any info, b >
2018 Apr 25
2
Samba 4 - ISO-8859-15 filenames not listed while browsing
Thanks Jeremy, i'm analyzing this with the application team, we'll see what we can find. > I was hoping to find a way for the samba4 server to behave like samba3 (as > in ignoring bad characters and replacing them with an underscore > character), which in the end resulted in the best compromise. In the meantime, do you have any idea why there is difference between the two
2006 Nov 14
2
Problem with file size
Hi everyone, I have 2 environments (2 different R sessions) as described below: Session 1: Name of the environment: "CrlmmInfo" Objects in the environment: index1: logical index - length 238304 index2: logical index - length 238304 priors: list of 4 - (matrix 6x6, 2 vectors of length 6, vector of length 2) - all num params: list of 4: centers [238304 x 3 x
2006 Nov 14
2
Problem with file size
Hi everyone, I have 2 environments (2 different R sessions) as described below: Session 1: Name of the environment: "CrlmmInfo" Objects in the environment: index1: logical index - length 238304 index2: logical index - length 238304 priors: list of 4 - (matrix 6x6, 2 vectors of length 6, vector of length 2) - all num params: list of 4: centers [238304 x 3 x
2010 Sep 04
1
non-zero exit status error when install GenomeGraphs
Hi, I am trying to install GenomeGraphs package from bioconductor, but failed by a non-zero exit error. From the error message, it seems that there is a shared library problem. Any suggestion on fixing it? Thanks so much. > sessionInfo() R version 2.10.1 (2009-12-14) x86_64-unknown-linux-gnu locale: [1] LC_CTYPE=en_US.iso885915 LC_NUMERIC=C [3] LC_TIME=en_US.iso885915
2008 Jan 23
3
Rsync 3.0.0pre8 and Mac OS X
Hi, I tried Rsync 3.0.0pre8 on my mac running os X 10.5. I was very pleased about the --iconv feature, as i have to sync some LINUX-machines and I had really trouble with some filenames. But I found one strange thing in connection with the mac. First of all, the translation between the LINUX ISO-8859-15 and the mac ut-8 works (nearly) perfect. As I live in Germany, we have often filenames
2007 Mar 21
2
problem with RCurl install on Unix
I am having trouble getting an install of RCurl to work properly on a Unix server. The steps I have taken are: 1. installed cUrl from source without difficulty 2. installed RCurl from source using the command ~/R_HOME/R-devel/bin/R CMD INSTALL -l ~/R_HOME/R-devel/library ~/RCurl_0.8-0.tar.gz I received no errors during this install 3. when I go back to R and require(RCurl), I get >
2007 Mar 21
2
problem with RCurl install on Unix
I am having trouble getting an install of RCurl to work properly on a Unix server. The steps I have taken are: 1. installed cUrl from source without difficulty 2. installed RCurl from source using the command ~/R_HOME/R-devel/bin/R CMD INSTALL -l ~/R_HOME/R-devel/library ~/RCurl_0.8-0.tar.gz I received no errors during this install 3. when I go back to R and require(RCurl), I get >
2004 May 13
1
accented characters in isolinux
hey people I'm new to the list and would like to say thanks to everyone that has worked on syslinux/isolinux. It's one of those tools that everyone uses at some stage but no-one ever really takes much notice of it - mainly because *it just works*. So congrats ... Now onto my question - I am customizing Fedora Core and I want to change the isolinux boot.msg screen to display some
2007 Feb 21
1
Adding difftime objects to POSIXt objects
Hello, ?DateTimeClasses states that "one can add or subtract a number of seconds or a 'difftime' object from a date-time object, but not add two date-time objects." So, is the below expected behavior? > x <- Sys.time() > x [1] "2007-02-21 16:19:56 CST" > x + as.difftime("1","%H") [1] "2007-02-21 16:19:57 CST" Warning
2006 Aug 05
2
Frustrating locale setting error
Hi all, This has been very frustrating for me trying to get this acts_as_ferret working well on a Fedora box. On my mac it works great, no problems with locale, but when I put the code live on my Fedora server, it complains about the locale setting (Error occured at <analysis.c>:498 Error: exception 2 not handled: Error decoding input string. Check that you have the locale set
2004 Jul 26
1
Time out failure with mvfs on Linux
I have tried Samba 3.0.2a and 3.0.4. We use Active directory. The server is running on RHEL3. When I connect to the server on a share that is acutally an ext3 or NFS file system, I have no known problems. We use ClearCase on Linux and I am trying to access my workspace (view) as I have done many times before on Solaris, but now we are running on Linux and with a newer version of ClearCase
2001 Oct 21
4
Printing with CUPS and missing deadkeys
The following is taken from the Wine Documentation: If you are using CUPS, you do not need to configure .ini or registry entries, everything is autodetected. It doesn't work, though. Anyone knows another way to get CUPS to work? In Linux it works perfectly. The applications prompt that they can't find a printer driver. How can you make windows know there is a printer driver? The next
2010 Feb 25
3
behavior of seq_along
I'm trying to understand the behavior of seq_along in the following example: x <- 1:5; sum(x) y <- 6:10; sum(y) data <- c(x,y) S <- sum( data[seq_along(x)] ) S T <- sum( data[seq_along(y)] ) T Why is T != sum(y) ?
2012 Jan 06
1
seq_along and rep_along
Hi all, A couple of ideas for improving seq_along: * It would be really useful to have a second argument dim: seq_along(mtcars, 1) seq_along(mtcars, 2) # equivalent to seq_len(dim(mtcars)[1]) seq_len(dim(mtcars)[2]) I often find myself wanting to iterate over the rows or column of a data frame, and there isn't a particularly nice idiom if you want to avoid problems