similar to: reverse variables

Displaying 20 results from an estimated 80 matches similar to: "reverse variables"

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",
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 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 =
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
2012 Sep 18
3
ommoting rows
Hi I have an output data Data.csv this style: ,"V1","V2","V3" 1,"-9552","9552","C" 2,"0","9653","0" 3,"9614","9614","V" 4,"0","9527","0" 5,"-9752","9752","C" 6,"0","9883","0"
2011 Dec 08
2
[OT]: Require suggestions - GSM Gateway <-> Asterisk
Hello, I am looking for ideas and suggestions. I want to use a 16 port GSM gateway as a trunk for outbound/inbound. I will also have two PSTN phone lines coming into the Asterisk server. All calls will go to an IVR on the Asterisk PBX. Outbound from extensions will route to GSM-GW when the dialed number matches a pattern set in the GSM-GW trunk. And accordingly for the PSTN trunks. But that's
2008 Jul 19
2
Explication for ast_safe_system
Can someone please explain the reason on the following code (in asterisk.c, function ast_safe_system()): /* Close file descriptors and launch system command */ for (x = STDERR_FILENO + 1; x < 4096; x++) close(x); Why to close so many descriptors? Thanks in advance ?ric
2006 Jan 28
1
boot bootcd (isolinux) copied on the hard disk
Hi, I try to boot some bootcd copy on the hard drive. I read (an try) that it's impossible to boot a cdrom .ISO image . ok So now I "unzip" the .iso into a folder (not a partition ! Because I have lot of .iso), and convert the entry from the isolinux.cfg to a valid grub entry (put in my menu.lst). The iso come from a bootable cd with isolinux. I will make a script for the
2004 Dec 16
1
BRI Card not recognized
Dear all i am using Fedora Core 2 . i have Planet BRI TA with HFC chipset ( hisax ) i can easyly connect to internet using BRI but this card is still not recognized by asterisk i am using i4l driver . some people suggest i should try bristuff from junghanns.net any ideas ? Thanks and Regards Talha
2007 Aug 24
9
Absolute Beginner''s Guide
I''ve got about 40 linux/aix machines that I''d like assimilate into config management with puppet. I''ve been reading lots of docs, recipes and best practices. I''m wondering if there''s a guide somewhere that lays out the most efficient way to spread the use of puppet across a quantity of installed machines. I''d like to do first things first,
2006 Nov 01
1
Optimization and garch
Good day, Here I was trying to write a code for Garch(1,1) . As garch problem is more or less an optimization problem I also tried to get the algorithm for "nlminb" function. What I saw that if use this function 'nlminb" I can easyly get the estimate of parameters. But any other function is not working. I tried to write my own code for optimization using Quasi-Newton
2005 Jun 10
1
Sum up the values of a function
Dear R-Users, I have to do a maximum-likelihood estimation and have now a problem concerning how to sum up my function values in a smart way. I don't know how to explain it easyly, so I give you the code and show you where my problem is. I have shorten the code a little bit, so that you only get the necessary facts: ws12 <- function (z, i) (1/(1+exp(z[1]*(z[3]-x1[i]-