similar to: Tabulations in command-line under linux

Displaying 20 results from an estimated 5000 matches similar to: "Tabulations in command-line under linux"

2006 Sep 11
3
"unvector" ?
Hi ev'rybody, is there a way to pass a vector to a function expecting separate arguments? more specifically, I have a character vector, say u and I want a single string, but >paste(u) doesn't work, so I would like something like >paste(unvector(u)). I am interested in a solution to the general problem too, as the only one I found is maintaining two versions of the functions I
2011 Feb 10
3
modifynig some elements of a vector
He everybody, I want to add 1 to some elements of a vector: x is a vector u is a vector of idices, that is, integers assumed to be within the range 1..length(x) and I want to add 1 to the elements of x each time their index appears in u x[u]<-x[u]+1 works only when there are no duplicated values in u I found this solution: tu <- table(u) indices <- as.numeric(names(tu)) x[indices]
2013 Dec 12
1
censored counts and glmer/glmmADMB
dear R-users, I have to model counts where all counts above some threshold have been censored. In the same dataset I have too many zeroes for a Poisson or even a negative binomial distribution to make sense, so I would need a zero-inflated-censored negative binomial family for use in glmer (or glmmADMB?). That seems not to exist. my question is : how could I add a custom-built family of
2012 Mar 18
1
call to system returns warning : status 2 (Ubuntu)
Hi everybody, I have to run under Ubuntu a programs repeatedly with different arguments and I am using R just to generate the data files and call the external program. basically, in my script I have inside a loop these two lines: command <- paste(<some constant or variable strings>,sep="") system(command,intern=T,wait=T) when I run this script, I get a number of warnings,
2010 Apr 29
1
randomness in stepclass (klaR) or lda (MASS) ?
Hi, a colleague ran a stepwise discriminant analysis twice in a row and got different results, suggesting some "sochasticity" in the algorithms involved. I looked at her data and found that there was a lot of collinearity, so that I reckoned that maybe "stepclass" (klaR) cannot find a clear winner when trying to include a new variable and makes a random choice. Is that true?
2007 Feb 22
1
Cross-tabulations next to each other
I have the following relatively simple problem. Say we have three factors, and we want to create a cross-tabulation against each of the other two: x <- factor(rbinom(5, 1, 1/2)) y <- factor(rbinom(5, 1, 1/2)) z <- factor(rbinom(5, 1, 1/2)) table(x,y) table(x,z) This looks like: y x 0 1 0 2 0 1 1 2 z x 0 1 0 1 1 1 2 1 I would like to get (surely this will
2007 Mar 28
2
what is the difference between survival analysis and (...)
Hi everybody, recently I had to teach a course on Cox model, of which I am not a specialist, to an audience of medical epidemiologists. Not a good idea you might say.. anyway, someone in the audience was very hostile. At some point, he sayed that Cox model was useless, since all you have to do is count who dies and who survives, divide by the sample sizes and compute a relative risk, and if there
2009 Apr 27
2
refit with binomial model (lme4)
Dear R users, I'm trying to use function 'refit' from lme4 and I get this error that I can't understand: > refit(dolo4.model4,cbind(uu,50-uu)) Error in function (classes, fdef, mtable) : unable to find an inherited method for function "refit", for signature "mer", "matrix" if I try: > refit(dolo4.model4,uu) Error in asMethod(object) :
2006 Oct 31
0
6268990 cmd/csh and gcc don''t get along
Author: muffin Repository: /hg/zfs-crypto/gate Revision: 1185b1416f2a1ca60093f12914f451ade7de8d43 Log message: 6268990 cmd/csh and gcc don''t get along Files: create: deleted_files/usr/src/cmd/csh/stubs.c delete: usr/src/cmd/csh/stubs.c update: usr/src/cmd/csh/Makefile update: usr/src/cmd/csh/csh.xcl update: usr/src/cmd/csh/i386/Makefile update: usr/src/cmd/csh/i386/signal.c
2012 Jan 27
0
Asterisk 1.8.9.0 Now Available
The Asterisk Development Team is pleased to announce the release of Asterisk 1.8.9.0. This release is available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk/ The release of Asterisk 1.8.9.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in
2000 Nov 20
0
FreeBSD Security Advisory: FreeBSD-SA-00:76.tcsh-csh
-----BEGIN PGP SIGNED MESSAGE----- ============================================================================= FreeBSD-SA-00:76 Security Advisory FreeBSD, Inc. Topic: tcsh/csh creates insecure temporary file Category: core, ports Module: tcsh, 44bsd-csh Announced:
2012 Jan 27
0
Asterisk 10.1.0 Now Available
The Asterisk Development Team is pleased to announce the release of Asterisk 10.1.0. This release is available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk/ The release of Asterisk 10.1.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in
2008 Nov 25
1
WEIGHT CASES by Frequency VECTOR
Does anyone know how to weight cases in a data frame using a frequency vector? I''m trying to run tabulations on R , on a data set that first needs to have weighted cases before i run the tabulations. In SPSS & SAS its quite simple, but i''m unable to do it in R. [[alternative HTML version deleted]]
2005 Oct 19
1
can't start csh (scripts) (PR#8220)
Dear R developers, after upgrading from R 2.1.1 to 2.2.0 I can't start csh (scripts) anymore. While the following commands work fine > system("tcsh -c pwd") /hom1/users/gloeckler > system("bash -c pwd") /hom1/users/gloeckler > system("ksh -c pwd") /hom1/users/gloeckler csh (in contrast to the shells used above) doesn't give any result:
2011 Jun 16
1
problem with missing package
Hi everybody, I just tried to run R on one of my projects but it did not want to run: R version 2.12.1 (2010-12-16) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_64-pc-linux-gnu (64-bit) <some lines deleted> Loading required package: utils Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) : there is no package called
2005 Oct 20
4
read.fwf doesn't work with header = TRUE (PR#8226)
Full_Name: Emmanuel Paradis Version: 2.1.1 OS: Linux Submission from: (NULL) (193.49.41.105) read.fwf(..., header = TRUE) does not work properly since: 1/ the original header is printed on the console and not in FILE; 2/ the different 'parts' of the header should be separated with tabs to work with the call to read.table. Here is a suggested fix for src/library/utils/R/read.fwf.R:
2006 Oct 31
0
PSARC/2005/460 Increasing the shell variable name length in csh
Author: jonb Repository: /hg/zfs-crypto/gate Revision: aaf20404f793856b5286f916927b21e04c9276b7 Log message: PSARC/2005/460 Increasing the shell variable name length in csh 1191119 *csh* : can''t use the set command for variable larger than 21 characters in csh Files: update: usr/src/cmd/csh/sh.c update: usr/src/cmd/csh/sh.h update: usr/src/cmd/csh/sh.tconst.c
2006 Mar 02
0
Making SwitchTower work with csh (and other non-posix shells)
I tried using ST, but it didn''t work with the csh shell. Today I decided to make it work, and came up with the very simple solution of wrapping the failed commands inside a bash instance. Blog post is http://www.flpr.org/articles/2006/03/02/make-switchtower-work-with-csh-hack Solution (so you don''t have to read the blog post :) is to edit
2010 May 16
1
rsync over ssh - existing files are not updated?
Hi, I am using rsync to backup various machines to a central server (all archlinux, rsync 3.0.7 on ext4). Yesterday I needed one of those backups, and I found out it is useless since a lot of files never got updated. Even when I enable checksums some files are not updated. I am pretty sure I am missing something, but am not sure what it is. This is (a stripped version of) the command I use:
2015 May 09
0
FYI: dovecot (008632bdfd2c) compilation woes, and minor glitch regarding update-version.sh
On Saturday, May 09, 2015 22:25:48 Michael Grimm wrote: > > or just try if it works if you change it to /bin/sh and use whatever > > FreeBSD has that pointing to. > That fails because /bin/sh equals /bin/csh at FBSD. > I don't know if it fails or not, but if it does this is not the reason. /bin/sh most certainly is not /bin/csh; if it were, the system would not boot given