Re: [R] [R-sig-Debian] proplems installing R 2.5 on Ubuntu 14.04

2016-11-08 Thread Lentes, Bernd via R-help
- Am 8. Nov 2016 um 16:22 schrieb Johannes Ranke johannes.ra...@jrwb.de: > Hallo Bernd, > > das heisst die gleiche Fehlermeldung bei "configure"? > > Gruß, > > Johannes > > Am Dienstag, 8. November 2016, 15:45:15 schrieb Lentes, Bernd: >> ---

Re: [R] problem installing R 2.5

2016-11-08 Thread Lentes, Bernd via R-help
rtz Ok. I subscribed to that ML and asked there. But if someone here has a further idea i would appreciate it. Thanks. Bernd Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Auf

Re: [R] problem installing R 2.5

2016-11-08 Thread Lentes, Bernd via R-help
- Am 8. Nov 2016 um 7:53 schrieb Göran Broström goran.brost...@umu.se: > libX11-dev? > > Göran Hi, is already installed: i A libx11-dev - Client-seitige Bibliothek für X11 (Entwick (ubuntu system) Bernd Helmholtz Zentrum Muenchen Deutsches Forschun

[R] problem installing R 2.5

2016-11-07 Thread Lentes, Bernd via R-help
oblem is that i don't know which headers or libraries are missing, and when i search with aptitude in the Ubuntu repositories i find a ton of them and don't know which one to install. Can anyone help me ? Thanks. Bernd -- Bernd Lentes Systemadministration institute of develop

Re: [R] [Rd] TensorFlow in R

2016-04-02 Thread Bernd Bischl
Hi, from what I know there is a current GSOC 2016 project proposal. (but not accepted yet) https://github.com/rstats-gsoc/gsoc2016/wiki https://github.com/rstats-gsoc/gsoc2016/wiki/DeepLearnR-tensorFlow-Object-system-for-R Is that of interest? Best, Bernd On 01.04.2016 18:32, Axel Urbiz

[R] problems with rgp, examples from documentation won't produce expected results

2015-07-21 Thread Bernd
e to make it try more complicated expressions, to make the example in the PDF work as described? TIA, Bernd __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting g

Re: [R] interpreting weight in meta-analysis of proportion

2014-04-18 Thread Bernd Weiss
ion res <- metaprop(4:1, c(10, 20, 30, 40), comb.fixed=FALSE, comb.random=TRUE) ## Object res contains a lot of interesting information ## Open ?metaprop and read the section on "values" str(res) ## Obtaining the random-effects weights res$w.random ## Calculatin

[R] SAR: nonlinear and linear mixed model comparison using mmSAR - package

2013-09-19 Thread Bernd Lenzner
Hello, I have a problem trying to compare model-fit between linear and non-linear mixed models. I am using the mmSAR-package from Guilhaumon (Version 1.0) to fit different models (power, exponential, lomolino, weibull etc.) to my data. Besides that I am as well fitting a linear model to the da

Re: [R] lme: object is not a matrix

2013-08-05 Thread Puschner, Bernd
Dear JM, creating a data frame did indeed solve my problem. Thank you so much. Best wishes Bernd Von: zelfortin [mailto:jmichel.for...@gmail.com] Gesendet: Freitag, 2. August 2013 22:10 An: r-help-arch...@googlegroups.com Cc: r-help@r-project.org; Puschner, Bernd Betreff: Re: [R

[R] lme: object is not a matrix

2013-08-02 Thread Puschner, Bernd
ppreciated. Thanks. Bernd [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

Re: [R] Add prediction interval forest plot (package "meta")

2013-06-07 Thread Bernd Weiß
Am 07.06.2013 13:17, schrieb Michael Dewey: At 19:34 06/06/2013, Bernd Weiss wrote: Dear all, I am struggling to add a prediction interval to a forest plot that was created with forest.meta(), package "meta". I checked the source of forest.meta() and realized that it is heavily

[R] Add prediction interval forest plot (package "meta")

2013-06-06 Thread Bernd Weiss
es to find out where the random effects estimate is actually plotted in order to add prediction intervals. Any help is much appreciated! Bernd R version 3.0.1 Patched (2013-05-28 r62825) Platform: x86_64-w64-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Ge

Re: [R] Data sets online for student use

2013-02-12 Thread Bernd Klaus
Hi Arnold, I like the "Data and Story" library a lot and have already used it in my own courses: http://lib.stat.cmu.edu/DASL/ BW Bernd On Tue, 12 Feb 2013 10:51:04 -0800 (PST) David Arnold wrote: > All, > > If you have any good links for sites that contain data sets t

Re: [R] Change color in forest.rma (metafor)

2011-08-24 Thread Bernd Weiss
"col" and "border" do only affect the fitted values ("diamonds"), i.e. the FEM/REM estimators (see ?forest.rma: "col: character string specifying the name of a color to use for _the fitted_ values (‘"darkgray"’ by default).") Furthermore, I had a

Re: [R] regression line on boxplots

2011-04-01 Thread Bernd Weiss
o me). I would do it as follows: set.seed(8) df <- data.frame(y = rnorm(100), x = factor(rep(1:4))) boxplot(y ~ x, data = df) regline <- lm(y ~ as.numeric(x), data = df) abline(regline) HTH, Bernd __ R-help@r-project.org mailing list https://sta

Re: [R] regular expression

2011-03-31 Thread Bernd Weiss
Am 31.03.2011 21:06, schrieb array chip: Ok then this code didn't do what I wanted. I want "not including 'arg' before '.symptom'", not individual letters of "arg", but rather as a word. Bill Dunlap suggested using invert=T, it works for single 1 condition, but not for 2 conditions here: not inc

Re: [R] regular expression

2011-03-31 Thread Bernd Weiss
Am 31.03.2011 19:31, schrieb array chip: Hi, I am stuck on this: how to specify a match pattern that means not to include "abc"? I tried: grep("^(abc)", "hello", value=T) should return "hello". > grep("[^(abc

Re: [R] Quick recode of -999 to NA in R

2011-03-30 Thread Bernd Weiss
;a1gpar"]<- NA dat0[dat0$a1pias==-999.,"a1pias"]<- NA dat0[dat0$a1devt==-999.,"a1devt"]<- NA Given that all your variables share the same code for missing values, e.g. -99, you could do the following: df <- data.frame(a = c(1, 2, -99),

Re: [R] write all the permutations of a set

2011-03-24 Thread Bernd Weiss
,] "a" "b" "c" [2,] "a" "c" "b" [3,] "b" "a" "c" [4,] "b" "c" "a" [5,] "c" "a" "b" [6,] "c" "b" "a" HTH,

[R] general question on R setup/environment

2010-11-17 Thread Bernd Jagla
Hi, Someone recently told me that R is not working well with other programs in a clustered environment. I believe we are using gensoft and working in a redhat environment. What was also mentioned was that there are problems when running multiple R instance at the same time. Personally I haven't

[R] Echo to file using Rscript

2010-11-04 Thread Bernd Wiese
e, only the output. Is there a way to geneate anything analogue to the *.Rout file? if possible only with command line, without the sink() command? Best, Bernd __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Problem using R and Beamer...

2010-08-03 Thread Bernd Weiss
written as 1.234e+05 in \texttt{R}. <>= a=1.2345e+05 b=-6.9e-01 @ \end{frame} should be \begin{frame}[fragile] \frametitle{Numbers} ... see beamerguide p. 24 <http://www.tug.org/teTeX/tetex-texmfdist/doc/latex/beamer/beameruserguide.pdf> Bernd ___

Re: [R] Visualization of coefficients

2010-07-02 Thread Bernd Weiss
guess you are looking for "Using Graphs Instead of Tables in Political Science" by Kastellec/Leoni <http://tables2graphs.com/doku.php>. HTH, Bernd __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] regex and sub

2010-05-14 Thread Bernd Weiss
ot; "100421.csv" > "100422.csv" "100423.csv" "100426.csv" "100427.csv" "100428.csv" > "100429.csv" "100430.csv" "100503.csv" "100504.csv" "100505.csv" > [16] "100506.csv"

Re: [R] Regex and gsub

2010-05-11 Thread Bernd Weiss
-64.25, -41, -118, 7.75, > 45.300, 0, 4.750003, -1.5, -0.04900013)), .Names = > c("DESCRIPTION", > "POSITION", "prix"), row.names = c(NA, -17L), class = "data.frame") > > I want to remove all the dates in $DESCRIPTION. I was t

[R] how to calculate a table

2010-04-11 Thread Bernd Dittmann
ing steps as 1) and their respective bootstrapped means are printed: weights mean.boot 1 2 ... 10 How can I do this? Any suggestions most welcome. Many thanks! Bernd ___

[R] (box-) plot annotation: italic within paste?

2010-03-08 Thread Bernd Panassiti
advance. bernd Acrobeles <-c(65.1,0.0,0.0,0.0,0.0,0.0) Acrobeloides <-c(0.0,9.8,76.7,51.1,93.9,43.9) Alaimus<-c(0.0,4.9,0.0,0.0,0.0,6.3) Aphelenchoides <-c(126.5,29.3,76.7,134.1,176.7,87.9) x<-data.frame(Acrobeles,Acrobeloides,Alaimus,Aphelenchoides) predictor

Re: [R] User input when running R code in batch mode

2009-10-27 Thread Bernd Kreuss
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kaushik Krishnan wrote: > Is there any way to make R stop for the user to enter values when > running in batch mode either by changing the way I invoke scan() or > readLines() or by using any other function? At least on linux this works: be...@t40:~/

[R] API question (embedding R)

2009-10-26 Thread Bernd Kreuss
rtant? An example would actually be the most important thing, an example tells more than thousand words. Thanks in advance, Bernd Kreuss -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.

Re: [R] List of tags in roxygen and use for S4 classes?

2009-09-04 Thread Bernd Bischl
some obstacles. There's also a roxygen devel list, where you could go with questions. I got some S4 examples from one of the recent roxygen talks, If you want them I could forward those. Bernd __ R-help@r-project.org mailing list https://stat.ethz.c

Re: [R] SVM coefficients

2009-08-31 Thread Bernd Bischl
n.values") # do it manually with w, simple linear predictor with intercept -m$rho p2 <- X %*% t(w) - m$rho # puuuh, lucky max(abs(p1 - p2)) # [1] 6.439294e-15 Bernd __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinf

Re: [R] Submit a R job to a server

2009-08-27 Thread Bernd Bischl
u detach from it. Be sure to test your scripts on your local system before with easy (and faster examples). For packages: The same requirements apply to the R on server as for your local system, you simply need the same packages there. Bernd __ R-he

Re: [R] email notification after error

2009-08-16 Thread Bernd Bischl
Patrick Connolly wrote: On Thu, 13-Aug-2009 at 05:48PM -0700, caltechneurostudy wrote: |> |> Does anybody know if it's possible to have R send an email or execute an |> additional line of code in case an error is generated from a running script? |> I am running R on a cluster and would like to

Re: [R] Nominal variables in SVM?

2009-08-13 Thread Bernd Bischl
use as.factor (or import yout data in a better way) - are you sure you use the formula interface for svm from e1071. If you check the help page, you will see that it clearly supports factors. Otherwise paste str(mydata) and your call to svm here. Be

Re: [R] Nominal variables in SVM?

2009-08-12 Thread Bernd Bischl
N Hi Noah, read up on the "contrasts" and the "model.matrix" functions. Although if you use the kernlab package for SVMs, factors get treated in this way by default, you just need to use the formula interface. Bernd __ R-help@r-

Re: [R] Combinatorial problem

2009-08-12 Thread Bernd Bischl
LSE) combn(5, 4, function (x) expand.grid(groups[x]), simplify = FALSE) and this transforms it nicely into a single matrix y <- combn(5, 2, function (x) as.matrix(expand.grid(groups[x])), simplify = FALSE) Reduce(rbind, y) Bernd __ R-help@r-proje

Re: [R] How to stop an R script when running JGR on a Linux/SuSE system

2009-08-02 Thread Bernd Kreuss
f it. If something like this already exists it would be nice to put a link to it directly on the JGR homepage, I couldn't find anything. Bernd __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posti

Re: [R] How to stop an R script when running JGR on a Linux/SuSE system

2009-08-02 Thread Bernd Kreuss
Bernd Kreuss wrote: > I would like to add a few points to this list [...] I would even make the changes on my own (i probably would already have done it) and supply patches if i only could find any hint on how to build JGR from sources. (where to place the source files, what command to start

Re: [R] How to stop an R script when running JGR on a Linux/SuSE system

2009-08-02 Thread Bernd Kreuss
or "run all", this is the only menu item without shortcut. would be a good choice as some other widely used editor/shell combinations for other languages have similar functionality on that key too (SciTE, IDLE, etc.), it seems to be some kind of standard too. Bernd __

Re: [R] How to stop an R script when running JGR on a Linux/SuSE system

2009-08-01 Thread Bernd Kreuss
sorry for the eventual double posting, but i got a strange error from a versatel(???) server about not enough quota when replying to the message __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] How to stop an R script when running JGR on a Linux/SuSE system

2009-08-01 Thread Bernd Kreuss
/flaws, mostly missing/wrong keyboard shortcuts) and JGR would make a huge step from "very good" to "excellent" Bernd __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guid

Re: [R] How to stop an R script when running JGR on a Linux/SuSE system

2009-07-31 Thread Bernd
ing/wrong keyboard shortcuts) and JGR would make a huge step from "very good" to "excellent" Bernd __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-proje

Re: [R] Forumla format?

2009-07-27 Thread Bernd Kreuss
Steve Lianoglou wrote: > Is it possible to build up your formula as a string, and then convert > to formula w/ as.formula? what about simply using it this way instead: svm(label ~ ., data=mydata[,-c(22,23,25,31)]) __ R-help@r-project.org mailing lis

[R] assignments to function return values

2009-07-18 Thread Bernd
ange inverse manner, where should i have searched to find the answer myself? Is there a document like "R for programmers" which completely leaves out all the basic stuff and concentrates on the obvious differences to most common mainstream languages only? TIA Bernd _

Re: [R] Cochran's Q statistic

2009-06-04 Thread Weiss, Bernd
, meta1$seTE, sm="RR") Bernd __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] [ggplot2] Densityplot, grouping and NAs

2009-03-25 Thread Bernd Weiss
ONKELINX, Thierry schrieb: Dear Bernd, Omitting the NA values from the dataset will work. ggplot(aes(x = x, color = g), data = na.omit(mydf)) + geom_density() Dear Thierry, thanks for your reply! Of course, regarding my little toy example na.omit() perfectly works. However, my real data

[R] [ggplot2] Densityplot, grouping and NAs

2009-03-24 Thread Weiss, Bernd
lve my problem but to no avail. Thanks for your help, Bernd __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minim

Re: [R] perform subgroup meta-analysis and create forest plot displaying subgroups

2009-03-09 Thread Weiss, Bernd
he 'forest'-function (package 'meta', <http://cran.at.r-project.org/web/packages/meta/meta.pdf>) should be able to do what you want. I guess you could be interested in the 'byvar' argument. Bernd __ R-help@r-project.

Re: [R] Meta-Analyisis on Correlations

2009-02-13 Thread Bernd Weiss
model 0.4686 [0.3515; 0.5857] 7.8415 < 0.0001 I'm wondering whether there might be anyone knowing how to conduct a meta-analysis based on correlations in R? Feel free to ask if you have any further questions. Bernd Hedges, Larry V., und Ingram Olkin, 1985: Statistical Methods for

Re: [R] Odp: Question about collapse/aggregate and avoidance of loops

2009-01-29 Thread Bernd Weiss
markle...@verizon.net schrieb: Thanks Petr because I sent Bernd a solution offline but yours is MUCH NICER. it's not worth showing you because it was pretty ugly. Dear Mark & Petr, Thank your very much! I like both solutions. Petr's is the more obvious one but Mark's s

[R] Question about collapse/aggregate and avoidance of loops

2009-01-28 Thread Weiss, Bernd
6 3 F What is the best (most efficient/vectorized/avoiding loops) approach to obtain the following data frame? id author 1 "A, B, C" 2 "D, E" 3 "F" Thanks for your help, Bernd > version _ platform i386-

Re: [R] Changing values (factors) does not change levels of that value?!

2008-11-16 Thread Weiss, Bernd
x27;C','A','C')) y <- x[x!='C'] y [1] A B A Levels: A B C factor(y) [1] A B A Levels: A B another solution might be > x <- factor(c('A','B','C','A','C')) > y <- x[x!='C'] > y

[R] spearman metric for hierarchical clustering

2008-11-11 Thread Bernd Jagla
I need to calculate a hierarchical clustering using the spearman metric. Is there such functionality within R, and if so can you give me an example on how to use it? Thanks, Bernd [[alternative HTML version deleted]] __ R-help@r

[R] ggplot2: histogram with proportions (or %)

2008-10-30 Thread Bernd Weiss
Dear all (Hadley, Thierry :-), I was wondering how to force ggplot/qplot(... geom="histogram") to plot proportions (or %) instead of counts/densities. Thanks for your help, Bernd __ R-help@r-project.org mailing list https://stat.ethz.

Re: [R] glmer -- extracting standard errors and other statistics

2008-09-21 Thread Weiss, Bernd
estimates, but do not seem able to extract the se's. Anybody have a solution? You need to extract the variance-covariance matrix: library(lme4) gm1 <- glmer(cbind(incidence, size - incidence) ~ period + (1 | herd), family = binomial, data = cbpp)) sqrt(diag(vcov(gm1))) HTH

[R] WG: Re: WG: Re: NMDS and varimax rotation

2008-09-11 Thread Bernd Panassiti
hello Gavin, yes, you might be right. I performed a comparison of a normal NMDS (with metaMDS) and a subsequent rotation with varimax. The rotation didn't seem to improve significantly the the alignment of the former ordination output. Thanks for your hint & greetings. Bernd

[R] WG: Re: NMDS and varimax rotation

2008-09-10 Thread Bernd Panassiti
hello, thanks a lot for your help. @ Stephen: In my opinion the proscrutes rotation is more used to compare the alignment of different ordination methods. But maybe I'm wrong. @ Bill: Thanks for the comprehensive description. That was the information I was looking for. Greetings,

[R] NMDS and varimax rotation

2008-09-09 Thread Bernd Panassiti
hello, subsequently to a NMDS analysis (performed with metaMDS or isoMDS) is it possible to rotate the axis through a varimax-rotation? Thanks in advance. Bernd Panassiti __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Lattice: key does not accept German umlaute

2008-06-06 Thread Bernd Weiss
hat makes me think this was to do with sizing the viewport. | | | So please update to R-patched and try again. That's it! Thanks for your help. Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmai

Re: [R] Lattice: key does not accept German umlaute

2008-06-06 Thread Bernd Weiss
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernd Weiss schrieb: | library(lattice) | | ## works as expected | xyplot(1~1, key = list(text = list(c("Maenner" | | ## works as expected | xyplot(1~1, key = list(text = list(c("Maenner"))), xlab = "M\344nner") | |

[R] Lattice: key does not accept German umlaute

2008-06-06 Thread Bernd Weiss
list(text = list(c("M\344nner" Is this a bug? TIA, Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFISPo6Usbvfbd00+ERArJFAJsEvWq2Cai7chuOADadZHT2pnRJOgCfWLdx 3Hs3PnCzd6nuT

[R] ggplot - axis labels angle

2008-03-20 Thread Bernd Ebersberger
dear R-tists, im an struggling with labeling ticks of the axis in a ggplot. i would like to print the text associated with the ticks being ploted with a 90 degree angle. how can i possibly do this? cheers. bernd. ~ Bernd Ebersberger Management Center

[R] summary of summaries

2008-03-17 Thread Bernd Jagla
I don't want to create an array for each column if possible. Thanks for the kind support, Bernd [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read t

Re: [R] consolidate legends in ggplot2

2008-02-07 Thread Engelmann, Bernd
workhorses not intended for the presentation of results. Bernd -Original Message- From: hadley wickham [mailto:[EMAIL PROTECTED] Sent: Thursday, February 07, 2008 8:10 PM To: Engelmann, Bernd Cc: r-help@r-project.org Subject: Re: [R] consolidate legends in ggplot2 Hi Bernd, >

Re: [R] consolidate legends in ggplot2

2008-02-07 Thread Engelmann, Bernd
? Bernd ScaleMy <- proto(ScaleColour, expr={ new <- function(., name=NULL, palette=1, type="qual", alpha=1, variable) { proto(., name=name, palette=palette, type=type, .input=variable, .output=variable, .alpha=alpha) } colors <- c('gre

[R] consolidate legends in ggplot2

2008-02-07 Thread Engelmann, Bernd
end and plot ? Thank you Bernd Engelmann [EMAIL PROTECTED] phone: + 49-351-277-4545 fax: + 49-351-277-9-4545 AMD Saxony/AMD Saxony Limited Liability Company & Co. KG M/S E23-TY Wilschdorfer Landstr. 101 D-01109 Dresden Germany __ R-help@r-proj

Re: [R] how to generate sequence "a" - "z"

2008-01-29 Thread Bernd Weiss
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 skestin schrieb: | I suppose it's very simple but I can't find the way to generate a sequence of | characters, e.g. from "a" to "z". | Could you please help me with this? ?letters letters HTH, B. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7

[R] R command line arguments

2008-01-04 Thread Bernd Jagla
done in R? Thanks, Bernd [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commente

[R] apply in zoo

2007-12-30 Thread Bernd Dittmann
n sharpe(zz) : x is not a vector or univariate time series In the case of two securities, I could easily do it by hand, but for say 100 or even 500, I am looking for an automated solution. Many thanks in advance! Bernd __ R-help@r-project.org ma

Re: [R] compare strings

2007-11-30 Thread Bernd Jagla
sage- |From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On |Behalf Of Bernd Jagla |Sent: Friday, November 30, 2007 10:25 PM |To: r-help@r-project.org |Subject: [R] compare strings | |Sorry for the question, but I really cannot find the right search terms to |find an answer.. | | | |I have a data f

Re: [R] compare strings

2007-11-30 Thread Bernd Jagla
Just found out that I am actually dealing with factors: > t3[1,5] == t3[1,3] Error in Ops.factor(t3[1, 5], t3[1, 3]) : level sets of factors are different But the problem remains... how can I compare them? Thanks, Bernd |-Original Message- |From: [EMAIL PROTECTED] [mailto:[EM

[R] compare strings

2007-11-30 Thread Bernd Jagla
Sorry for the question, but I really cannot find the right search terms to find an answer.. I have a data frame with strings in some of the columns. I want to know all the rows where the strings in both columns are equal. How do I do this? Thanks, Bernd [[alternative

Re: [R] looking for packages that visualize nucleotide sequence properties

2007-11-27 Thread Bernd Jagla
amp;seq_region_left=1&seq_region_w idth=10&vclick.x=20&vclick.y=131 The problem I have with these representations is that they are all about ONE gene/region. I want to be able to see less information but for multiple genes. I haven't seen this for any of the data bases. Thanks for

[R] looking for packages that visualize nucleotide sequence properties

2007-11-26 Thread Bernd Jagla
Hi there, I am looking for R-packages that can help me visualize properties on nucleotide sequences. I want to display sequences in the 1-100K base range as lines and plot features above and below those lines. Any ideas would be welcome. Thanks, Bernd

[R] visualizing nucleotide sequence properties

2007-11-26 Thread Bernd Jagla
Hi there, I am looking for R-packages that can help me visualize properties on nucleotide sequences. I want to display sequences in the 1-100K base range as lines and plot features above and below those lines. Any ideas would be welcome. Thanks, Bernd [[alternative

[R] referring to a data-frame column using a variable

2007-11-12 Thread Bernd Jagla
Hi, I would like to refer to a column in a data frame using a variable. How would I do this? Something like: c1<-"column1" dat${c1} where names(dat) includes 'column1' Thanks, Bernd [[alternati

[R] counting with factors

2007-11-02 Thread Bernd Jagla
My problem is that summary gives me a list with counts that is incomplete and adds the "Others" category. Is there a way to get a count for all levels? Thanks, Bernd [[alternative HTML version deleted]] __ R-help@

Re: [R] Qsub - unable to open connection to X11 display

2007-10-29 Thread Bernd Jagla
That is great, bitmap works. Now I have the problem that the gray levels are too bright. I tried using col="black" in the hist function, but that only fills the bars. The tick marks etc are all in a fainting gray... Any idea on how to get those darker??? Thanks again, Bernd |---

Re: [R] Qsub - unable to open connection to X11 display

2007-10-29 Thread Bernd Jagla
thing similar... -B |-Original Message- |From: Martin Morgan [mailto:[EMAIL PROTECTED] |Sent: Monday, October 29, 2007 12:35 PM |To: Bernd Jagla |Cc: r-help@r-project.org |Subject: Re: [R] Qsub - unable to open connection to X11 display | |Hi Bernd, | |A little speculation / uninformed input

[R] Qsub - unable to open connection to X11 display

2007-10-29 Thread Bernd Jagla
X11 is working everything works fine. Is there a way to make this work without X11? Or, how would I simulate an X11 environment (including the correct DISPLAY variable) on a cluster node? I appreciate any comments or suggestions. Than

Re: [R] plotting labels on barplot

2007-10-26 Thread Bernd Jagla
AM |To: Bernd Jagla |Cc: r-help@r-project.org |Subject: Re: [R] ploting labels on barplot | |On 10/25/07, Bernd Jagla <[EMAIL PROTECTED]> wrote: |> Again me. |> |> |> |> I want to plot the numbers on the bars of a barplot. | |This is usually a bad idea, as the size of the n

[R] ploting labels on barplot

2007-10-25 Thread Bernd Jagla
his the R(ight)-way? Thanks, Bernd [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and p

Re: [R] data frame usage

2007-10-25 Thread Bernd Jagla
GREAT!!! Thanks so much !!! -B |-Original Message- |From: John Kane [mailto:[EMAIL PROTECTED] |Sent: Thursday, October 25, 2007 1:45 PM |To: Bernd Jagla; 'Henrique Dallazuanna' |Cc: r-help@r-project.org |Subject: Re: [R] data frame usage | |I think I also misunderstood. It s

Re: [R] data frame usage

2007-10-25 Thread Bernd Jagla
just "echo" the values for a specific class. I hope you understand better what I mean Thanks again, Bernd |-Original Message- |From: Henrique Dallazuanna [mailto:[EMAIL PROTECTED] |Sent: Thursday, October 25, 2007 1:34 PM |To: Bernd Jagla |Cc: r-help@r-project.org |Subject: Re

Re: [R] data frame usage

2007-10-25 Thread Bernd Jagla
Wow, that easy... And how can get only the values for a specific class? Like tapply(x$val, x$label, ?echo?)$class1 What should echo be? Thanks, B |-Original Message- |From: Henrique Dallazuanna [mailto:[EMAIL PROTECTED] |Sent: Thursday, October 25, 2007 1:15 PM |To: Bernd Jagla |Cc: r

[R] data frame usage

2007-10-25 Thread Bernd Jagla
(x$val). I want to calculate summary statistics for different classes. How would I do this? Thanks, Bernd __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guid

Re: [R] Plots in Meta-Analysis

2007-10-24 Thread Bernd Weiss
ary(meta) data(Fleiss93) meta1 <- metabin(event.e, n.e, event.c, n.c, data=Fleiss93, sm="RR", meth="I") meta1 ## with new labels plot(meta1, comb.f = TRUE, comb.r = TRUE, text.f = "New label FEM", text.r = "New label REM") ##

Re: [R] as.numeric(FALSE) fails after loading the Matrix package

2007-10-03 Thread Bernd Weiss
Bernd Weiss schrieb: > Dear all, > > is this a bug? > > >> as.numeric(FALSE) > [1] 0 >> library(Matrix) > Loading required package: lattice >> as.numeric(FALSE) > Error in UseMethod("as.double") : no applicable method for "as.double&qu

[R] as.numeric(FALSE) fails after loading the Matrix package

2007-10-03 Thread Bernd Weiss
Dear all, is this a bug? > as.numeric(FALSE) [1] 0 > library(Matrix) Loading required package: lattice > as.numeric(FALSE) Error in UseMethod("as.double") : no applicable method for "as.double" > Regards, Bernd > version _ platform

[R] Errorlog

2007-10-01 Thread Bernd Stampfl
ERRORLOG Just wanted to import a bulk of data into R via BLOOMBERG. And it crashed. Is there any useful "something" like an ERRORLOG? Checked the web but did not get useful information. Cheers, Bernd -- View this message in context: http://www.nabble.com/Errorlog-tf4548140.html

Re: [R] Putting column names in some automated way

2007-09-16 Thread Bernd Weiss
),c(3,4),c(5,6)) colnames(x) <- rep("var",3) colnames(x) <- paste(colnames(x),1:dim(x)[2],sep = "") ## Maybe, you want your own very simple function for renaming ## a data frame... myRename <- function(df){ colnames(df) <- paste(c