Re: [R] linear models with factors

2011-02-12 Thread Ista Zahn
Well, I may have been too hasty there. Actually the question was slightly improved. I think you are looking for ?contr.sum Best, Ista On Sat, Feb 12, 2011 at 3:55 PM, Ista Zahn iz...@psych.rochester.edu wrote: I already responded to your identical post yesterday, asking you to actually ask

Re: [R] How to get warning about implicit factor to integer coercion?

2011-02-14 Thread Ista Zahn
://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. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http

Re: [R] Return list of data frames.

2011-02-14 Thread Ista Zahn
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org

Re: [R] How to get warning about implicit factor to integer coercion? Example.

2011-02-14 Thread Ista Zahn
these problems. Best, Ista On Mon, Feb 14, 2011 at 2:10 PM, WB Kloke w...@ifado.de wrote: Ista Zahn izahn at psych.rochester.edu writes: Hi, I think an example would be helpful. I'm not sure what behavior you are referring to. best, Here is an example: If a data.frame of experimental results

Re: [R] Passing Arguments in a function

2011-02-15 Thread Ista Zahn
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r-project.org

Re: [R] Error when modifying names of the object returned by get()

2011-02-15 Thread Ista Zahn
]] __ 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. -- Ista Zahn Graduate student University of Rochester

Re: [R] read.table - reading text variables as text

2011-02-16 Thread Ista Zahn
]] __ 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. -- Ista Zahn Graduate student University of Rochester

Re: [R] ggplot2, 'se' variable in geom_errorbar's limits?

2011-02-19 Thread Ista Zahn
__ 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. -- Ista Zahn Graduate

Re: [R] ggplot2, 'se' variable in geom_errorbar's limits?

2011-02-19 Thread Ista Zahn
. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ 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] Tips to export R plots (dotplot function) into latex

2011-02-20 Thread Ista Zahn
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org

Re: [R] Equivalent of log file in R?

2011-02-21 Thread Ista Zahn
://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. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http

Re: [R] J48 / Transform from numeric to nominal

2011-02-21 Thread Ista Zahn
, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] assign value to multiple objects with a given ls pattern

2011-02-21 Thread Ista Zahn
, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Equivalent of log file in R?

2011-02-21 Thread Ista Zahn
--- Tatyana Deryugina MIT PhD Student, Department of Economics MIT Energy Initiative Energy Fellow (925) 349 - 8999 (cell) On Mon, Feb 21, 2011 at 11:23 AM, Ista Zahn iz...@psych.rochester.edu wrote: Hi Tatyana, I think you are looking for ?sink Best, Ista

Re: [R] aggregate in R

2011-02-22 Thread Ista Zahn
, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Plot Stepped Line chart with multiple lines

2011-02-22 Thread Ista Zahn
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. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http

Re: [R] Set size of plot: in pdf() or par() ?

2011-02-23 Thread Ista Zahn
__ 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. -- Ista Zahn Graduate

Re: [R] combining two columns into one column despite NAs

2011-02-24 Thread Ista Zahn
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r-project.org

Re: [R] R in different OS

2011-02-25 Thread Ista Zahn
]] __ 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. -- Ista Zahn Graduate student

Re: [R] preventing repeat in paste

2011-02-25 Thread Ista Zahn
/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. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org

Re: [R] Measuring correlations in repeated measures data

2011-02-27 Thread Ista Zahn
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r

Re: [R] sub setting data.frame

2011-02-28 Thread Ista Zahn
-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. -- Ista Zahn Graduate student University of Rochester Department of Clinical

Re: [R] regression with categorical nuisance variable

2011-02-28 Thread Ista Zahn
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org

Re: [R] Entering table with multiple columns rows

2011-02-28 Thread Ista Zahn
/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. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org

Re: [R] Plot with same font like in LaTeX

2011-03-02 Thread Ista Zahn
/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. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org

Re: [R] transform table to matrix

2011-03-02 Thread Ista Zahn
]] __ 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. -- Ista Zahn Graduate

Re: [R] Contingency table in R

2011-03-02 Thread Ista Zahn
-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. -- Ista Zahn Graduate student University of Rochester Department of Clinical

Re: [R] Vector manipulations

2011-03-02 Thread Ista Zahn
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r-project.org mailing list https

Re: [R] Line numbering in Sweave

2011-03-02 Thread Ista Zahn
/ __ 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. -- Ista Zahn Graduate student University

Re: [R] sqlFetch (RODBC) question

2011-03-03 Thread Ista Zahn
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org

Re: [R] Generic mixup?

2011-03-04 Thread Ista Zahn
://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. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http

Re: [R] Reading in and manipulating multiple data sets from the same input file

2011-03-04 Thread Ista Zahn
. __ 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. -- Ista Zahn Graduate student University

Re: [R] R usage survey

2011-03-04 Thread Ista Zahn
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r-project.org mailing list https

Re: [R] R usage survey

2011-03-04 Thread Ista Zahn
to defraud the public into doing things that are contrary to their best interests.      Spencer Graves On 3/4/2011 11:37 AM, Ista Zahn wrote: Now hold on a second Harsh! I was fairly neutral up to this point, but this response is totally uncalled for. The problem is that despite repeated requests

Re: [R] Lepage Test

2011-03-04 Thread Ista Zahn
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R

Re: [R] generating factors from the edit function

2011-03-04 Thread Ista Zahn
. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ 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] pvclust crashing R on Ubuntu 10.10

2011-03-05 Thread Ista Zahn
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R

Re: [R] How to show non user defined data set such as cu.summary (from rpart)?

2011-03-05 Thread Ista Zahn
code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] A plot similar to violin plot

2011-03-08 Thread Ista Zahn
/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. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org

Re: [R] How to plot multiple graphs?

2011-03-08 Thread Ista Zahn
]] __ 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. -- Ista Zahn Graduate student

Re: [R] lm - interaction factors - same number of items per level in factors?

2011-03-08 Thread Ista Zahn
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R

Re: [R] A plot similar to violin plot

2011-03-08 Thread Ista Zahn
just can't wrap itself around the idea. Maybe someone else can chime in and help me out. Best, Ista Thank you. Regards, CH On Tue, Mar 8, 2011 at 11:14 PM, Ista Zahn iz...@psych.rochester.edu wrote: Hi, I don't understand what is being plotted here. Can you describe what you want

Re: [R] collapse a data column into a row

2011-03-09 Thread Ista Zahn
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r-project.org mailing list https

Re: [R] state.x77 dataset

2011-03-09 Thread Ista Zahn
-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] R console Mac

2011-03-09 Thread Ista Zahn
]] __ 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. -- Ista Zahn Graduate student University of Rochester Department

Re: [R] random sampling steps in R

2011-03-10 Thread Ista Zahn
]] __ 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. -- Ista Zahn Graduate student University of Rochester Department

Re: [R] Reshape, melt and cast query

2011-03-10 Thread Ista Zahn
-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. -- Ista Zahn Graduate student University of Rochester Department

[R] Any existing functions for reading and extracting data from path names?

2011-03-11 Thread Ista Zahn
2 I've started writting a simple function to do this, but it seems like a common situation and I'm wondering if there are any packages or functions that might make this easier. Thanks! Ista -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http

Re: [R] (no subject)

2011-03-11 Thread Ista Zahn
-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. -- Ista Zahn Graduate student University of Rochester Department of Clinical

Re: [R] Any existing functions for reading and extracting data from path names?

2011-03-11 Thread Ista Zahn
at 8:52 AM, Ista Zahn iz...@psych.rochester.edu wrote: Hi helpeRs, I have inherited a set of data files that use the file system as a sort of poor man's database, i.e., the data files are nested in directories that indicate which city they come from. For example: dir.create(deleteme) for(i

Re: [R] Any existing functions for reading and extracting data from path names?

2011-03-11 Thread Ista Zahn
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Ista Zahn Sent: Friday, March 11, 2011 10:53 AM To: r-help@r-project.org Subject: [R] Any existing functions for reading and extracting data from path names? Hi helpeRs, I have

Re: [R] how to use melt cast commands in R in window7

2011-03-12 Thread Ista Zahn
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org

Re: [R] Math characters in column heading using latex() in Hmisc

2011-03-14 Thread Ista Zahn
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r-project.org mailing

Re: [R] Newbie-ish question on iteratively applying function to dataframe

2011-03-15 Thread Ista Zahn
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org __ R-help@r

Re: [R] merge function while obviating duplicate columns XXXX

2013-03-11 Thread Ista Zahn
On Mon, Mar 11, 2013 at 3:17 PM, Dan Abner dan.abne...@gmail.com wrote: Hi everyone, I have the following call to the merge() function. How does one prevent duplicate columns in the resulting data frame that the 2 parent data frames have in common but are not true key or by variables?

Re: [R] ggplot2 problem

2013-03-14 Thread Ista Zahn
Hi Catalin, Untested, but I think data.m$Month - factor(data.m$Month, levels = month.abb) before plotting will do it. Best, Ista On Thu, Mar 14, 2013 at 12:51 PM, catalin roibu catalinro...@gmail.com wrote: Hello all! I have a problem with ggplot2 library. I want to do an heat map and the y

Re: [R] Equivalent of deal in R?

2013-03-14 Thread Ista Zahn
Maybe x - array(1:3) for(i in seq_along(x)) { assign(letters[i], x[i]) } but usually there is no need for this kind of thing. Why do you want to do that? Best, Ista On Thu, Mar 14, 2013 at 1:17 PM, Sahana Srinivasan sahanasrinivasan...@gmail.com wrote: HI, I'm looking for a function that

Re: [R] How to make the labels of pie chart are not overlapping?

2013-03-15 Thread Ista Zahn
On Fri, Mar 15, 2013 at 12:30 PM, Bert Gunter gunter.ber...@gene.com wrote: Simple -- don't make a pie chart. This is great advice. But it you (or your boss) insists on pie charts, then you should provide us with a reproducible example that illustrates your problem. dat -

Re: [R] Copying rows in data frames

2013-03-19 Thread Ista Zahn
show us the data. On Tue, Mar 19, 2013 at 7:55 AM, Sahana Srinivasan sahanasrinivasan...@gmail.com wrote: Hi, I'm trying to copy the first row of one data frame to another. This is the statement I am using : df2[1,]-df1[1,]; I have printed them out separately: df1[1,] = A C D E F But

Re: [R] summarize dataframe based on multiple cols, not their combinations

2013-03-20 Thread Ista Zahn
How about library(reshape2) mdf.m - melt(my_df, measure.vars=c(a, b, c)) mdf.m - mdf.m[mdf.m$value 0, ] ddply(mdf.m, variable, function(x) c(mean=mean(x$dat), n=nrow(x))) ? Best, Ista On Wed, Mar 20, 2013 at 3:57 PM, Alexander Shenkin ashen...@ufl.edu wrote: Hi folks, I'm trying to figure

Re: [R] Control variables in mediation analysis

2013-03-21 Thread Ista Zahn
Hi, Just about anything can be bootstrapped, that's one of the things that makes bootstrapping great! Use e.g., the boot package, and bootstrap the product of the coefficients. Alternatively the mediation package (http://cran.r-project.org/web/packages/mediation/index.html) might help, though

Re: [R] Reassign Multiple Factors to same Factor Value

2013-03-25 Thread Ista Zahn
Hi Lorenzo, On Mon, Mar 25, 2013 at 6:18 PM, Lorenzo Isella lorenzo.ise...@gmail.com wrote: Dear All, Probably something very easy, but I am looking for the most efficient ways to achieve this. Consider the following snippet y-c('a','b','c','d','e','f','g') x-rnorm(length(y))

Re: [R] suggestions about import SAS Transport files to R.

2013-03-26 Thread Ista Zahn
Hi Santosh, On Tue, Mar 26, 2013 at 1:57 PM, Santosh santosh2...@gmail.com wrote: Dear Rxperts! My colleagues used SAS PROC COPY to generate the xpt files that could be read by the available xpt file reading packages in R. However, I am unable to use the R packages for reading SAS transport

Re: [R] ggplot2: less than equal sign

2013-03-28 Thread Ista Zahn
Hi, If you want to stick with the unicode way make sure to set your encoding system, e.g., on Mac Sys.setlocale(LC_ALL, en_US.UTF-8) This differs on Windows/Linux so see ?Sys.setlocale for examples on other platforms. Best, Ista On Thu, Mar 28, 2013 at 5:22 PM, soon yi soon...@ymail.com

Re: [R] Factor to numeric conversion - as.numeric(as.character(f))[f] - Language definition seems to say to not use this.

2013-04-01 Thread Ista Zahn
Hi Mathew, In what way are they at odds? On Mon, Apr 1, 2013 at 1:48 PM, Matthew Lundberg matthew.k.lundb...@gmail.com wrote: These two seem to be at odds. Is this the case? From help(factor) - section Warning: To transform a factor f to approximately its original numeric values,

Re: [R] What is SAS options missing=0 equivalent in R?

2013-04-02 Thread Ista Zahn
google r replace NA with 0 (without the quotes). On Tue, Apr 2, 2013 at 10:49 AM, ramoss ramine.mossad...@finra.org wrote: I have a dataframe wish to convert the NA (missing values) to zero . In SAS I would use options missing=0 to convert all my obs in a dataset. How can I accomplish the

Re: [R] Canadian politcal party colours in ggplot2

2013-04-03 Thread Ista Zahn
Hi John, How about this: library(XML) party.info - readHTMLTable(http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Political_parties_and_politicians_in_Canada/list_of_parties;) fed.party.info - party.info[[3]] fed.party.colors - fed.party.info[, 2] names(fed.party.colors) - gsub(^.*\\|, ,

Re: [R] Canadian politcal party colours in ggplot2

2013-04-04 Thread Ista Zahn
Hey John, Yeah, I guess my blind trust in wikipedia got me in trouble this time. The wikipedia colors are not the official colors, or maybe they just contain errors. If you can find another website with a more authoritative list you could adapt the technique. Or maybe wikipedia is close enough.

Re: [R] Canadian politcal party colours in ggplot2

2013-04-04 Thread Ista Zahn
Hi John, On Thu, Apr 4, 2013 at 8:25 AM, John Kane jrkrid...@inbox.com wrote: No wiki was right: That is, the NDP party code #F4A460 is correct. Ah, OK, I thought it was wrong because the NDP party color did not match the color listed at http://www.ndp.ca/logos. I have not looked at the

Re: [R] Stringr Package

2013-04-10 Thread Ista Zahn
On Wed, Apr 10, 2013 at 12:25 PM, Sudip Chatterjee sudipanal...@gmail.com wrote: Hi Group, I have a question on Stringr package I have a table like this X Y absu - di acpi - tu adtu - tu I want output like this XY ab su ab di ac

Re: [R] Creating a GUI based workflow

2013-04-11 Thread Ista Zahn
On Thu, Apr 11, 2013 at 8:09 AM, Ravishankar Rajagopalan viora...@gmail.com wrote: Hello R-users, I am interested to know if there is a tool that allows us to build SAS Enterprise Miner like workflows using the R scripts. For example, let's say I have the R scripts/functions for the

Re: [R] Understanding contents of packages

2013-04-11 Thread Ista Zahn
Hi Dennis, Out of curiosity, what is the purpose of this exercise? Best, Ista On Thu, Apr 11, 2013 at 2:34 PM, Fisher Dennis fis...@plessthan.com wrote: Colleagues During the transition to R3.0.0 (OS X), one of the packages that I used -- SASxport -- did not work until I used the

Re: [R] Understanding contents of packages

2013-04-11 Thread Ista Zahn
-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com On Apr 11, 2013, at 11:40 AM, Ista Zahn istaz...@gmail.com wrote: Hi Dennis, Out of curiosity, what is the purpose of this exercise? Best, Ista On Thu, Apr 11, 2013 at 2:34 PM, Fisher Dennis fis

Re: [R] Stat question: How to deal w/ negative outliers?

2013-04-12 Thread Ista Zahn
Hi, This is not an R question and is therefore not appropriate for this list. You should post to a statistics forum such as http://stats.stackexchange.com/. But the answer is NO! Best, Ista On Fri, Apr 12, 2013 at 9:49 AM, ramoss ramine.mossad...@finra.org wrote: Hello all, I have a

Re: [R] pglm package: fitted values and residuals

2013-04-25 Thread Ista Zahn
On Thu, Apr 25, 2013 at 3:14 PM, Paul Johnson pauljoh...@gmail.com wrote: On Wed, Apr 24, 2013 at 4:37 PM, Achim Zeileis achim.zeil...@uibk.ac.at wrote: On Wed, 24 Apr 2013, Paul Johnson wrote: On Wed, Apr 24, 2013 at 3:11 AM, alfonso.carf...@uniparthenope.it wrote: I'm using the package

Re: [R] Reading SPSS: underlying numerical codes

2012-04-12 Thread Ista Zahn
Hi Marion, Did you look at the help file? Did you try use.value.labels = FALSE? Best, Ista On Thu, Apr 12, 2012 at 6:28 AM, Marion Wenty marion.we...@gmail.com wrote: Dear people, I have got a question concerning the underlying numerical codes when reading an SPSS file into R. I used the

Re: [R] Reading SPSS: underlying numerical codes

2012-04-12 Thread Ista Zahn
. With the use.value.labels = FALSE? command I do get the same underlying codes as in SPSS but I loose the information about the levels, I think. Does anyone know a way to preserve both? Thank you very much for your help in advance? Marion 2012/4/12 Ista Zahn istaz...@gmail.com Hi Marion, Did you look

Re: [R] Using dcast with multiple functions to aggregate

2012-04-12 Thread Ista Zahn
Hi Jokel, On Thu, Apr 12, 2012 at 7:57 AM, Jokel Meyer jokel.me...@googlemail.com wrote: Dear R communitiy, I am trying to use multiple functions for aggregation within a function call for dcast. However this seems to result in an error. Also I have not managed to make dcast() work with

Re: [R] Compiling graphics into the same PDF file

2012-04-16 Thread Ista Zahn
Hi, Please read the Sweave documentation. A good starting place is http://www.statistik.lmu.de/~leisch/Sweave/Sweave-manual.pdf -- there you will learn to use fig=TRUE and many other useful things. Best, Ista On Mon, Apr 16, 2012 at 12:37 AM, damiloveu wuyi...@live.com wrote: I am new to R and

Re: [R] .rda vs. .RData

2012-04-23 Thread Ista Zahn
Hi Jeff. Can you point me toward the documentation for rda saves content of one variable, with no associated name? I don't seem to find it in ?save ?load etc. Thanks, Ista On Mon, Apr 23, 2012 at 5:58 PM, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote: No, RData saves both the variable name and

Re: [R] Where to find the p-value of a correlation test

2012-04-25 Thread Ista Zahn
Hi, Look at the See also section of ?cor Best, Ista On Wed, Apr 25, 2012 at 9:30 AM, Aaditya Nanduri aaditya.nand...@gmail.com wrote: Hey everyone, I hope this finds you in good cheer. I just have a quick question: What is the function that outputs the p-value for correlation? cor(x,y)

Re: [R] understanding the FUNCTION function

2012-04-26 Thread Ista Zahn
On Thu, Apr 26, 2012 at 8:56 AM, michaelyb cel81009...@gmail.com wrote: Peter, your solution is actually very interesting. I have never seen or heard of before. I will look into it. Meanwhile, look at this example instead: fac-function(x){a-1                 for(i in 1:x){                

Re: [R] understanding the FUNCTION function

2012-04-26 Thread Ista Zahn
On Thu, Apr 26, 2012 at 1:32 PM, michaelyb cel81009...@gmail.com wrote: Any solution for that type of problem? Solution for what type of problem? I did read the ?-, and seems very similar to the assign function, if I am not mistaken Bottom line: don't use - until you know what you are

Re: [R] Character string to R object

2012-04-28 Thread Ista Zahn
Hi JN, You can use eval(parse(text = cstr)) for this. I've been told to avoid this when possible, though I'm not sure why. Best, Ista On Sat, Apr 28, 2012 at 10:27 AM, John C Nash nas...@uottawa.ca wrote: I've been creating some R tools that manipulate objective functions for optimization.

Re: [R] Data frame vs matrix quirk: Hinky error message?

2012-05-01 Thread Ista Zahn
Hi Bert, The failure itself is the documented behavior: ?'[.data.frame' says Matrix indexing ('x[i]' with a logical or a 2-column integer matrix 'i') using '[' is not recommended, and barely supported. For extraction, 'x' is first coerced to a matrix. For replacement, a logical

Re: [R] How to read ANOVA output

2012-05-02 Thread Ista Zahn
My experience is the opposite -- the web is filled with introductory statistics material, some of it quite good. If you google for introduction to anova textbook the first hit seems to give exactly what you are asking for. The fifth one down the list also looks good

Re: [R] substr not by position but by symbol

2012-05-07 Thread Ista Zahn
Hi YN, I use strsplit for this: x - .7_-.3_-.2_.9 strsplit(x, split = _) [[1]] [1] .7 -.3 -.2 .9 strsplit(x, split = _)[[1]][3] [1] -.2 Best, Ista On Mon, May 7, 2012 at 9:54 AM, YN Kim y2sile...@gmail.com wrote: Hi all, One of my variables looks like this: .7_-.3_-.2_.9 And this

Re: [R] install ggplot2 package

2012-05-16 Thread Ista Zahn
Hi Yang, Did you try a different CRAN mirror? Best, Ista On Wed, May 16, 2012 at 10:21 AM, Yang, Ming ming.y...@xerox.com wrote: Has one try to install the ggplot2 package recently? I tried to install it on my new system and had trouble: install.packages(ggplot2) Installing package(s)

Re: [R] all occurences of an element in a vector

2012-05-21 Thread Ista Zahn
Hi Carol, I'm not sure what a sub-vector in a vector is, but I think you might be looking for ?grep Best, Ista On Mon, May 21, 2012 at 9:20 AM, carol white wht_...@yahoo.com wrote: Hi, How do you identify all occurences of an element or a sub-vector in a vector as opposed to match, %in%,

Re: [R] help with ggplot legend specification

2013-11-01 Thread Ista Zahn
You can override the legend aesthetics, e.g., ggplot(df,aes(x=Importance,y=Performance,fill=PBF,size=gapsize))+ geom_point(shape=21,colour=black)+ scale_size_area(max_size=pointsizefactor) + scale_fill_discrete(guide = guide_legend(override.aes = list(size = 4))) Best, Ista On Thu,

Re: [R] R Packages in Mac

2013-11-02 Thread Ista Zahn
The vcd package works for me on a mac. Please be more specific, describe what you did, and what happened that you found surprising. Also include the output of sessionInfo() Best, Ista On Sat, Nov 2, 2013 at 1:03 PM, Jim Silverton jim.silver...@gmail.com wrote: Hello everyone, I am interested

Re: [R] help with ggplot legend specification

2013-11-04 Thread Ista Zahn
Hi John, On Mon, Nov 4, 2013 at 8:25 AM, John Kane jrkrid...@inbox.com wrote: As a starting point perhaps have a look at legend.key.size (unit) in ?theme. That will change the size of the legend key, not the size of the aesthetics inside the legend. For that you need to use override.aes in

Re: [R] R Beginner - Need Perhaps 5 - 10 Minutes of R User Time to Learn Few Basics

2013-11-20 Thread Ista Zahn
On Mon, Nov 18, 2013 at 8:45 AM, PIKAL Petr petr.pi...@precheza.cz wrote: Hi -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Zach Feinstein Sent: Wednesday, November 13, 2013 2:57 PM To: r-help@r-project.org Subject: [R] R

Re: [R] error in install

2013-11-21 Thread Ista Zahn
Hi Dawn, unix is kind vague, what exactly is the OS you are using? Do you really need to build from source? Best, Ista On Wed, Nov 20, 2013 at 4:13 PM, Dawn dawn1...@gmail.com wrote: Hi, I am trying to install R on the Unix system. When I type './configure', it seems many not installed on

Re: [R] Chinese Garbled

2013-12-14 Thread Ista Zahn
This is the R-help mailing list. If your problem persists when using R from the command line or with the GUI shipped with R on your (unspecified) platform post back here. Otherwise the RStudio support forum is at https://support.rstudio.com Best, Ista On Sat, Dec 14, 2013 at 12:22 AM, yuanzhi

Re: [R] What purpose is served by reflexive function assignments?

2013-12-28 Thread Ista Zahn
On Sat, Dec 28, 2013 at 10:27 PM, Andrew Hoerner ahoer...@rprogress.org wrote: Let us suppose that we have a function foo(X) which is called inside another function, bar(). Suppose, moreover, that the name X has been assigned a value when foo is called: X - 2 bar(X=X){ foo(X) } I have

Re: [R] Assigning default function arguments to themselves: Why?

2013-12-29 Thread Ista Zahn
On Sun, Dec 29, 2013 at 6:19 PM, andrewH ahoer...@rprogress.org wrote: Dear Bill-- I have seen it most often in functions that are defined or used inside of other functions, and need an argument from the calling function. So I have, purely as a matter of imitation, taken to doing it when I

Re: [R] What purpose is served by reflexive function assignments?

2013-12-30 Thread Ista Zahn
, Ista Thanks so much for your time and attention! andrewH Ista Zahn wrote On Sat, Dec 28, 2013 at 10:27 PM, Andrew Hoerner lt; ahoerner@ gt; wrote: Let us suppose that we have a function foo(X) which is called inside another function, bar(). Suppose, moreover, that the name X has been

Re: [R] Working with Date

2013-12-31 Thread Ista Zahn
Use, format() to extract a character string representation of the year, then paste() it together with Months. Like this: paste(Months, format(Given_Date, format = %Y), sep = -) See ?strftime for details. Best, Ista On Tue, Dec 31, 2013 at 4:53 PM, Christofer Bogaso bogaso.christo...@gmail.com

Re: [R] Any R-package geared towards Endorsement Frequencies?

2014-01-02 Thread Ista Zahn
Hi Lila, You will probably have to be more specific. What exactly do you want to do? Have you looked at http://cran.r-project.org/web/views/ ? Best, Ista On Thu, Jan 2, 2014 at 9:59 AM, Lila Lorne lilalillia...@gmail.com wrote: Happy New Year everyone, I need some help figuring out if there

<    3   4   5   6   7   8   9   10   11   >