[R] (no subject)

2014-10-02 Thread Kalia Schuster
Hello, I'm new to R. I'm trying to run a power analysis in a for loop to find an ideal sample size. The situation is I am doing counts of fish at 24 different sites and rating those sites as 1 or 2 for good or poor habitat. So the counts are continuous but the habitat rating isn't. When I try to

[R] howto join matrices produced by rcorr()

2013-12-30 Thread Alexander Schuster
Hi, i have used rcorr() for calculating pearsons r and according p-values for my data, giving me 2 matrices. Now I would like to print scatterplots for all results with good correlation values. So i need a way to extract the row-name and column-name for each item in the matrix with good

Re: [R] Reshaping dataframes

2012-08-23 Thread Ingmar Schuster
this helps, Rui Barradas Em 22-08-2012 20:16, Ingmar Schuster escreveu: Hi, I have a data set with variables that are _not_ missing at random. Now I use a package for learning a Bayesian Network which won't accept NA as a value. From a database I query data.frames with k,k+n,k+2n, ... variables

[R] Reshaping dataframes

2012-08-22 Thread Ingmar Schuster
columns and use a special numeric value there. The current version of rbind.fill makes no direct reference to the fill value so that I could change its implementation for my purpose. Thanks! Ingmar -- Ingmar Schuster Natural Language Processing Group Department of Computer Science University

[R] ts.plot and x axes customization

2012-02-28 Thread Jochem Schuster
Dear List, I would be pleased if someone can help me with the following issue: I'm about to plot two time series in one plot via ts.plot which looks like: ts.plot(series1, series2, main=main, xlab=xlab, ylab=ylab, col=c(green, red, blue), lwd=2) The problem is, that R

[R] Stepwise Manova

2011-06-23 Thread Schuster, Veronika
Hello all, I have a question on manova in R: I'm using the function manova() from the stats package. Is there anything like a stepwise (backward or forward) manova in R (like there is for regression and anova). When I enter: step(Model1, data=Mydata) R returns the message: Error in

[R] Stepwise Manova

2011-06-21 Thread Schuster, Veronika
Hello all, I have a question on manova in R: I'm using the function manova() from the stats package. Is there anything like a stepwise (backward or forward) manova in R (like there is for regression and anova). When I enter: step(Model1, data=Mydata) R returns the message: Error in

[R] Question on Manova

2011-06-09 Thread Schuster, Veronika
Hi all, Is the Manova in R restricted to a certain amount of variables? I have currently problems building a model with 47 variables. Thanks a lot! Best, Veronika ** This message is intended only for the use

Re: [R] How to comment out entire code parts in Sweave files

2010-09-12 Thread schuster
, reproducible code. -- Friedrich Schuster Dompfaffenweg 6 69123 Heidelberg [[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

Re: [R] R reports

2010-08-21 Thread schuster
, 2010, at 5:33 PM, schuster [via R] wrote: Hi, are you looking for something like SAS ODS? (The terms 4GL and declarative programming are confusing) With SAS ODS an output destination is opened at one place oft the program (e.g. HTML or PDF or both), subsequent procedures then write

Re: [R] R reports

2010-08-20 Thread schuster
you could specify an output format or printer device as plain text, rich text, pdf, or html. -- Friedrich Schuster Dompfaffenweg 6 69123 Heidelberg __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Latex no where to be seen

2010-08-20 Thread schuster
like to write a package for this (assuming there is none at the moment). -- Friedrich Schuster Dompfaffenweg 6 69123 Heidelberg __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] Documenting different OO-aproaches in R as a package?

2010-07-27 Thread schuster
for this task) I mean in this case the package would not add data or functionality to R or serve as a companion package for a book. In this case the package would (only) add documentation to R. Is this ok? Friedrich Schuster Dompfaffenweg 6 69123 Heidelberg

Re: [R] OOP module

2010-07-26 Thread schuster
Hello, My impression is that the OOP package is not used that often. For alternatives (R.oo, proto) see the posts of Gabor Grothendieck: http://www.mail-archive.com/r-help@r-project.org/msg73565.html http://www.mail-archive.com/r-help@r-project.org/msg75308.html Friedrich Schuster

Re: [R] Syntax Highlightning and Editor for Linux

2010-07-23 Thread schuster
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Friedrich Schuster Dompfaffenweg 6 69123 Heidelberg __ R-help@r-project.org mailing list https

Re: [R] class

2010-07-23 Thread schuster
should be [1] x...@s2=hi [1] x...@s1=8 [1] default � ## because the the NextMethod() should go to f1.A not directly to f1.default. could you please tell me where I got wrong understanding? � Yu � � [[alternative HTML version deleted]] -- Friedrich Schuster

[R] OT: Impressions from UseR 2010 conference?

2010-07-20 Thread schuster
Hello UseR cpnference participants, could you give us some impressions of the conference so far (for those of us who stayed at home ..)? And will there be photos be made available ? Thanks, Friedrich Schuster Dompfaffenweg 6 69123 Heidelberg

Re: [R] What is the opposite of rbind?

2010-07-14 Thread schuster
Schuster Dompfaffenweg 6 69123 Heidelberg __ 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

Re: [R] SAS Proc summary/means as a R function

2010-07-13 Thread schuster
the bare text between '(' and ')' in the function call. This is a very powerful construct. A function would provide something like sas.on( ) -- Friedrich Schuster Dompfaffenweg 6 69123 Heidelberg __ R-help@r-project.org mailing

[R] Fwd: Functional programming and R: Recommendations?

2010-07-04 Thread schuster
(and like) Programming in Scala (Odersky) and just ordered Funktionale Progammierung (Pepper/Hofstedt) Thanks, FS -- Friedrich Schuster Dompfaffenweg 6 69123 Heidelberg __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] calling a function with new inputs every 1 minute

2010-06-13 Thread schuster
function(input1_t1, input2_t1, input3_t1 function_result_1 ... end_result - c(function_result_0, function_result_1, function_result_2, ..., n) Ideally I'd want to do this every 1 minute for the next 500 minutes. -- Friedrich Schuster Dompfaffenweg 6 69123 Heidelberg

Re: [R] switching elements of a vector

2010-05-24 Thread schuster
length of a indicating the changing elements ...later I've muliplied them for their numeric sequence and after that I've selected elements different from zero ...it is quite long... can you find an easier solution? Thank you for you help -- Friedrich Schuster Dompfaffenweg 6 69123

Re: [R] R version of SAS/IntrNet

2010-05-13 Thread schuster
. -- Friedrich Schuster Dompfaffenweg 6 69123 Heidelberg __ 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

Re: [R] Multiple plots; single x(y) labels

2010-05-13 Thread schuster
Hello Xin, If you need to recreate plots from different systems you need full control over the graphics output. This is not always easy with traditional graphics, better have a look at the plotting functions from lattice (based on grid graphics system in R) or maybe ggplot2.

Re: [R] R Graphical Manuals Web API

2007-10-10 Thread Friedrich Schuster
Great idea, thanks! 小笠原理 wrote: Dear all, As a response to the comment of Mr. Romain Francois, I wrote a small set of REST web APIs for R Graphical Manuals. It has become possible to get image URLs for a given package/function name via the web API.

Re: [R] as.ordered

2007-10-08 Thread Friedrich Schuster
(not for the dataframe). To convert two factors a and b and merge them into a new dataframe: newFrame - as.data.frame(cbind(as.ordered(a),as.ordered(b))) l For a larger number of factors this can be done with a loop or better one of the apply-functions. Hope this helps, Friedrich Schuster Birgit Lemcke

Re: [R] how to use \Sexpr{} with sweave

2007-10-07 Thread Friedrich Schuster
Hi, this works for me (R 2.5.1, Linux): echo=false= data(airquality) library(ctest) kruskal.test(Ozone ~ Month, data = airquality) @ Wir haben hier also \Sexpr{nrow(airquality)} Datenzeilen in airquality. This works \Sexpr{2+6} I think the error is in your latex setup, not in R or Sweave.