Displaying 20 results from an estimated 300 matches similar to: "grep : escape "*""
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 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
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
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
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 =
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
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
2005 Dec 06
4
R newbie...
Hello,
I'm a new user...
I have a function :
calculate <- function(x,y)
{
z <- x + y
}
I would like to use the result (z) with another function :
recalculate <- function(...)
{
a <- z^2
}
But R says that z does not exist...
How can I use z in an another function ?
Thank you for your answer...
--
David
[[alternative HTML version deleted]]
2010 Aug 18
3
mtext coordinates
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/20100818/5f203714/attachment.pl>
2007 Mar 18
3
Read a .sas7bdat file
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/20070318/73867327/attachment.pl
2008 Aug 01
2
is this a bug (apply and class) ?
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/20080801/a1a7c3e9/attachment.pl>
2013 Feb 04
2
gettext weirdness
Hi,
I am trying to use the gettext() function to translate some text. I have
never used this function before, so, it's entirely possible that I am
doing something wrong. The issue that I am encountering is that
gettext() properly translates some text, but not some other.
Natural language was compiled in my R (installed from the Debian
repositories):
$ R
R version 2.15.1 (2012-06-22) --
2013 Feb 04
2
gettext weirdness
Hi,
I am trying to use the gettext() function to translate some text. I have
never used this function before, so, it's entirely possible that I am
doing something wrong. The issue that I am encountering is that
gettext() properly translates some text, but not some other.
Natural language was compiled in my R (installed from the Debian
repositories):
$ R
R version 2.15.1 (2012-06-22) --
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