search for: dhajag

Displaying 20 results from an estimated 32 matches for "dhajag".

Did you mean: dhajage
2009 Jan 09
5
grep : escape "*"
Dear R useRs, Sorry for this foolish question, but I can't find how to escape the * character when using grep : > grep("-", c("/3", "2*3", "4-4")) [1] 3 > grep("/", c("/3", "2*3", "4-4")) [1] 1 > grep("*", c("/3", "2*3", "4-4")) Erreur dans grep("*",
2006 Oct 13
3
Barplot legend position
Dear useRs, I'm trying to create a barplot like so: x=matrix(1:10,2,5) barplot(x,leg=c("left","right"),besid=T) The legend is placed in default position topright, however the data are plotted there too. I tried controlling the legend position by adding x="topleft" but this results in an error that x matches multiple formal arguments. Leaving out the legend
2009 Jan 30
2
error message with roxygen
Hello useRs, I'm trying to use the Roxygen package. Here my code file : #' A packge to check Roxygen's sanity #' @name helloRoxygen-package #' @docType package NA And my R code to generate the package : library(roxygen) package.skeleton("helloRoxygen", code_files = "roxy.r", force = T) roxygenize("helloRoxygen", "helloRoxygen",
2006 May 17
1
mc nemar test
Hello R users, I would like to perform a mc nemar test. There is my data : __________________________________ x <- matrix(4:1,2,2) x [,1] [,2] [1,] 4 2 [2,] 3 1 __________________________________ My population is too small for normal approximation. __________________________________ library(concord) mcnemar.mh(x) $statistic [1] 0.2 $p [1] 0.6547208 Warning message: low
2006 May 29
2
Load a program from internet
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible Url : https://stat.ethz.ch/pipermail/r-help/attachments/20060529/25f0e627/attachment.pl
2006 Jun 09
1
reverse variables
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible Url : https://stat.ethz.ch/pipermail/r-help/attachments/20060609/84108484/attachment.pl
2006 Jun 15
2
Name of a column
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible Url : https://stat.ethz.ch/pipermail/r-help/attachments/20060615/8bdef5dc/attachment.pl
2008 Nov 20
1
Problem with ggplot2
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20081120/1faae4b9/attachment.pl>
2009 Apr 23
1
rbind on a list
I have two lists (and possibly more): col.prop <- structure(list(B = structure(c(0.5, 0.5, 0.6, 0.4, 0.555555555555556, 0.444444444444444), class = c("cast_matrix", "matrix"), .Dim = 2:3, .Dimnames = list( NULL, NULL)), D = structure(c(1, 0, 0.666666666666667, 0.333333333333333, 0.8, 0.2), class = c("cast_matrix", "matrix"), .Dim = 2:3, .Dimnames =
2010 Feb 26
1
ggplot2 : bug in coord_equal() ?
Hello, I think there is a bug in coord_equal when x s a factor : ggplot(diamonds, aes(clarity, fill=cut)) + geom_bar() ggplot(diamonds, aes(clarity, fill=cut)) + geom_bar() + coord_equal(1/2) David
2008 Nov 22
2
ggplot2 - facet_grid and facet_wrap
Hello R users (and Hadley) I have another question about ggplot2 :-) (version 0.8) `dat` <- structure(list(D = c("a", "b", "c", "d"), G = c(1.51520888871520, 1.88812208268440, -6.60521862, 0.55968739), E = c(1.38888592256404, 1.39366168665589, 1.22509259382058, 1.36617701059296), I = c(6.92634958902857, 6.94416045215158, 13.2179488828556,
2009 Apr 17
1
cast function in package reshape
Hello R useRs, I have a function which returns a list of functions : freq1 <- function(x) { lev <- unique(x[!is.na(x)]) nlev <- length(lev) args <- alist(x=) if (nlev == 1) { body <- c("{", "sum(!is.na(x))", "}") f <- function() {} formals(f) <- as.pairlist(args) body(f) <- parse(text = body) namef <-
2008 Nov 20
2
Elegant way to transform dataframe?
Hello, I have a dataframe with columns like: parameter1 parameter2 metricname value and I'd like to transform it into a dataframe with columns: parameter1 parameter2 metric1 metric2 metric3 where the values for each metric would be in the appropriate column. There are often multiple values for a given (parameter1, parameter2, metricname) triple. In this case, I want to use the
2009 Sep 11
3
For sending my R package as part of R-project
...cible code. > -- John C Frain Economics Department Trinity College Dublin Dublin 2 Ireland www.tcd.ie/Economics/staff/frainj/home.html mailto:frainj at tcd.ie mailto:frainj at gmail.com ------------------------------ Message: 39 Date: Thu, 10 Sep 2009 16:59:17 +0200 From: David Hajage <dhajage at gmail.com> Subject: Re: [R] tranform a table? To: bbimber <bimber at wisc.edu> Cc: r-help at r-project.org Message-ID: <a725cda30909100759h385157c7mda02674998277c8b at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" I think you could use reshape...
2010 Aug 24
0
mlm for within subject design
...Thanks in advance. -- View this message in context: http://r.789695.n4.nabble.com/Memory-Issue-tp2335860p2335860.html Sent from the R help mailing list archive at Nabble.com. --Forwarded Message Attachment-- From: kw.stat at gmail.com CC: satchwinston at yahoo.com; r-help at r-project.org To: dhajage.r at gmail.com Date: Mon, 23 Aug 2010 16:46:57 -0500 Subject: Re: [R] R reports I'm mindful of the volunteer nature of R-core, but I'm also sympathetic to Donald. I use Sweave to create documents, though I tend to view Sweave as a typesetter, not a report writer. What do I see as the d...
2009 Apr 05
0
New package: ascii version 0.1
Hi, ascii is a new R package for writing asciidoc or txt2tags document with embeded R commands. It provides: - a generic method for common R objects: ascii(). Default argument depends of R object. - two Sweave drivers: Sweave("yourfile.Rnw", RweaveAsciidoc) or Sweave("yourfile.Rnw", RweaveT2t). This package is very similar to xtable or R2HTML. It is very interesting if you
2009 Oct 29
0
ascii package updated
Hello, ascii package has been updated to version 0.3.2. ascii is a R package for writing asciidoc, txt2tags, sphinx or org documents with embeded R code. See http://eusebe.github.com/ascii/ for some examples. News since version 0.2 are: - new sphinx driver and output (see http://sphinx.pocoo.org/) - new org driver and output (see http://orgmode.org/) - ascii.simple.list method - ftable
2011 Feb 27
0
ascii package updated
Hi, I have uploaded a new version of the ascii package, it should be availble on CRAN soon. Major new features are: - pandoc support (http://johnmacfarlane.net/pandoc/) - an alternative to the Sweave "way" to create reports: see ?Report. This feature needs a working installation of asciidoc, txt2tags and/or pandoc. It becomes increasingly difficult for me to maintain and test all
2005 Dec 27
2
Create pdf and postscript files
Hello, I would like to learn how to create a pdf and a postscript file from an R graphic. For example, I tried : plot(1) # example pdf("H:/Perso/essai.pdf") postscript("H:/Perso/essai.ps") But the pdf document created is empty. How do these functions work ? Thank you very much. -- David Hajage Interne de santé publique Institut Curie
2006 May 24
2
median of a survfit object
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible Url : https://stat.ethz.ch/pipermail/r-help/attachments/20060524/312404be/attachment.pl