Re: [R] eval parse question

2012-06-20 Thread Joshua Wiley
code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] populating a large matrix

2012-06-19 Thread Joshua Wiley
and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r

Re: [R] Storing datasets

2012-06-12 Thread Joshua Wiley
. __ 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. -- Joshua Wiley Ph.D. Student, Health Psychology

Re: [R] Seeking pointers to various regression techniques with R?

2012-06-04 Thread Joshua Wiley
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] Syntax for lme function to model random factors and interactions

2012-05-22 Thread Joshua Wiley
at Nabble.com. __ 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. -- Joshua

Re: [R] for loop, error in model frame.default ... variable lengths differ

2012-05-21 Thread Joshua Wiley
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] Syntax for lme function to model random factors and interactions

2012-05-21 Thread Joshua Wiley
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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group

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

2012-05-21 Thread Joshua Wiley
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 commented, minimal, self-contained, reproducible code. -- Joshua

Re: [R] system() under windows [x] but not with Mac

2012-05-21 Thread Joshua Wiley
-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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical

Re: [R] select part of files from a list.files

2012-05-21 Thread Joshua Wiley
-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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II

Re: [R] Changing selected elements of an array

2012-05-21 Thread Joshua Wiley
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https

Re: [R] Complex text parsing task

2012-05-21 Thread Joshua Wiley
commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing

Re: [R] Changing selected elements of an array

2012-05-21 Thread Joshua Wiley
elements. All the best Øystein -- Dr. Oystein Godoy Norwegian Meteorological Institute P.O.BOX 43, Blindern, N-0313 OSLO, Norway Ph: (+47) 2296 3000 (switchb) 2296 3334 (direct line) Fax:(+47) 2296 3050 Institute home page: http://met.no/ -- Joshua Wiley Ph.D. Student, Health Psychology

Re: [R] Names of Greek letters stored as character strings; plotmath.

2012-05-20 Thread Joshua Wiley
This may be a profoundly bad idea, but if deduction is beyond the skill of those with time, perhaps an inferential approach could be used. Create examples of when one approach versus another works. A book of spells, if you will, so that rather than hoping and typing wildly, the magic

Re: [R] question about sign test

2012-05-20 Thread Joshua Wiley
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] Problem in convert function in RTAQ package

2012-05-20 Thread Joshua Wiley
-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Correlation Matrix

2012-05-17 Thread Joshua Wiley
. __ 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. -- Joshua Wiley Ph.D. Student, Health

Re: [R] Windows Task Scheduler and R updates. Need basic tips

2012-05-17 Thread Joshua Wiley
://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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University

Re: [R] Failure building any package

2012-05-17 Thread Joshua Wiley
/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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los

Re: [R] Wrong Q3 + Mean.

2012-05-16 Thread Joshua Wiley
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] Discrete choice model maximum likelihood estimation

2012-05-15 Thread Joshua Wiley
is it still better to use NM or nmk? Best, Marc [snip] -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list

Re: [R] Subset and order at the same time?

2012-05-12 Thread Joshua Wiley
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] survival analysis simulation question

2012-05-10 Thread Joshua Wiley
]] __ 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. -- Joshua Wiley Ph.D. Student

Re: [R] survival analysis simulation question

2012-05-10 Thread Joshua Wiley
code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] survival analysis simulation question

2012-05-10 Thread Joshua Wiley
I forgot to mention, the Design package is deprecated (which suggest your version of R is rather dated, current is 2.15). The rms package replaces Design. On Thu, May 10, 2012 at 10:23 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi Grace, I seem to have sent an empty draft before.  Anyway

Re: [R] big quasi-fixed effects OLS model

2012-05-08 Thread Joshua Wiley
Hi Ivo, You might check out biglm. It is not clear to me how to parallelize a single model, but if you are running several, of course you can (but you already know that). The one thing that may help is to link R against an optimized, multithreaded BLAS such as Atlas (I think you have to do

Re: [R] Saving a variable

2012-05-06 Thread Joshua Wiley
-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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical

Re: [R] commenting out a block of R code

2012-05-06 Thread Joshua Wiley
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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group

Re: [R] Editor to program with CRAN R

2012-05-05 Thread Joshua Wiley
]] __ 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. -- Joshua Wiley Ph.D

Re: [R] c() in Mac does not work

2012-05-05 Thread Joshua Wiley
and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r

Re: [R] download extremely slow

2012-05-05 Thread Joshua Wiley
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r

Re: [R] correlation between XY coordinates

2012-05-05 Thread Joshua Wiley
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] Rprofile.site under Windows 7?

2012-05-04 Thread Joshua Wiley
On Fri, May 4, 2012 at 7:17 PM, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 12-05-04 7:40 PM, Spencer Graves wrote: [snip]        This is almost enough to drive a person to join the I hate MicroSoft fan club. I think that would just confirm my membership in the I hate Emacs club. I

Re: [R] Rprofile.site under Windows 7?

2012-05-03 Thread Joshua Wiley
do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https

Re: [R] Usage line in .pdf version of manual is truncated

2012-05-01 Thread Joshua Wiley
? __ 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. -- Joshua Wiley Ph.D. Student

Re: [R] R2 in multilevel modelling

2012-04-30 Thread Joshua Wiley
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] R2HTML output shows NULL

2012-04-27 Thread Joshua Wiley
-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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II

Re: [R] PCA sensitive to outliers?

2012-04-22 Thread Joshua Wiley
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] multi-machine parallel setup?

2012-04-21 Thread Joshua Wiley
. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Is the eigen-value decomposition in R generally stable/reliable for large matrix?

2012-04-18 Thread Joshua Wiley
/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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles

Re: [R] Is the eigen-value decomposition in R generally stable/reliable for large matrix?

2012-04-18 Thread Joshua Wiley
, Apr 18, 2012 at 11:46 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi Michael, There are lots of options, but here is a simple one: x - matrix(rnorm(3000*3000), 3000) e - eigen(x) only takes a couple minutes on my machine for a 3000 x 3000 matrix. Cheers, Josh On Wed, Apr 18, 2012

Re: [R] Problems with subset, droplevels and lm: variable lengths differ

2012-04-16 Thread Joshua Wiley
/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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los

Re: [R] lme random intercept model vs. random intercept, random slope model yield difference in fixed effects but not difference in the anova.

2012-04-14 Thread Joshua Wiley
, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https

Re: [R] indexing in a function doesn't work?

2012-04-03 Thread Joshua Wiley
, 2012 at 3:25 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi, Glancing through your code it was not immediately obvious to me why it does not work, but I can see a lot of things that could be simplified.  It would really help if you could give us a reproducible example. Find/upload/create

Re: [R] indexing in a function doesn't work?

2012-04-01 Thread Joshua Wiley
]] __ 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. -- Joshua Wiley Ph.D. Student, Health

Re: [R] A function like sum but with functions other than '+'

2012-04-01 Thread Joshua Wiley
and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org

Re: [R] trouble compiling on Windows

2012-03-31 Thread Joshua Wiley
I may be putting my foot in my mouth, but I want to say that Rtools changed at 2.15 from mingw to gcc. I would check that you have the most recent version of Rtools installed, make sure you have the right directories in your path environment variable (which also changed, I believe), and make

Re: [R] gradient

2012-03-31 Thread Joshua Wiley
://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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University

Re: [R] avoiding expression evaluation when calling a function

2012-03-30 Thread Joshua Wiley
]] __ 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. -- Joshua Wiley Ph.D

Re: [R] list assignment syntax?

2012-03-30 Thread Joshua Wiley
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] cv.glmnet object

2012-03-28 Thread Joshua Wiley
Hi, It should be a matrix of the explanatory variables. Is that really all your question? Did you look at the help for ?glmnet it shows several examples that may help you understand how to use it. You can also find useful papers online from the authors of the book Elements of Statistical

Re: [R] plot only non-zero values

2012-03-17 Thread Joshua Wiley
What about just setting them to missing and plotting? md - yourdata md[md==0] - NA My other idea depending how you want the plot to look would be to try something where 0 values get a blank colour or null plotting value On Mar 16, 2012, at 22:53, Noah Silverman noahsilver...@ucla.edu wrote:

Re: [R] replicating C example from the Extensions Manual problem

2012-03-15 Thread Joshua Wiley
__ 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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer

Re: [R] Equation as a character string

2012-03-15 Thread Joshua Wiley
]] __ 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. -- Joshua Wiley Ph.D. Student, Health Psychology

Re: [R] Source code

2012-03-15 Thread Joshua Wiley
@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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II

Re: [R] variable values in plotmath expressions

2012-03-15 Thread Joshua Wiley
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] how to speed up the process of R

2012-03-15 Thread Joshua Wiley
, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https

Re: [R] how to speed up the process of R

2012-03-15 Thread Joshua Wiley
to rewrite just that piece in C++ and then call it from R so that the heaviest lifting is done in a fast, compiled language, but you still get the ease and flexibility of R for the rest of it. Cheers, Josh On Thu, Mar 15, 2012 at 9:41 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi, Compare

Re: [R] customizing help, how to replace r.css of all packages

2012-03-13 Thread Joshua Wiley
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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group

Re: [R] sort list

2012-03-13 Thread Joshua Wiley
]] __ 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. -- Joshua Wiley Ph.D. Student, Health

Re: [R] sort list

2012-03-13 Thread Joshua Wiley
the other cells are black/blue)? Syb On Tue, Mar 13, 2012 at 11:48 AM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi Sybil, You cannot turn a list into a factor.  You could do: cell_data -c('cell1','cell2') factor_list - factor(cell_data) or if you already have a list, unlist

Re: [R] Standard errors GLM

2012-03-13 Thread Joshua Wiley
, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Converting factor data into Date-time format

2012-03-13 Thread Joshua Wiley
, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Matrix negative fraction power

2012-03-11 Thread Joshua Wiley
__ 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. -- Joshua Wiley Ph.D. Student, Health

Re: [R] index values of one matrix to another of a different size

2012-03-10 Thread Joshua Wiley
://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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University

Re: [R] index values of one matrix to another of a different size

2012-03-10 Thread Joshua Wiley
() function altogether as you could use it to directly index your data, and then just add dimensions back afterward. Cheers, Josh Ben On Sat, Mar 10, 2012 at 10:26 AM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi Ben, It seems likely that there are bigger bottle necks in your overall

Re: [R] odd error with rJava

2012-03-10 Thread Joshua Wiley
, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] Reading text files from other languages

2012-03-10 Thread Joshua Wiley
. __ 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. -- Joshua Wiley

Re: [R] How do I do a pretty scatter plot using ggplot2?

2012-03-09 Thread Joshua Wiley
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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group

Re: [R] How do I do a pretty scatter plot using ggplot2?

2012-03-09 Thread Joshua Wiley
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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group

Re: [R] Trouble with a loop

2012-03-05 Thread Joshua Wiley
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https

Re: [R] ggplot2

2012-03-05 Thread Joshua Wiley
. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Using ddply within a function by argument transfer

2012-03-04 Thread Joshua Wiley
of it. __ 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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst

Re: [R] Using ddply within a function by argument transfer

2012-03-04 Thread Joshua Wiley
frame itself. So far I have not been able to do this using ddply - I guess I'll have to roll my own using for loops and data frame subsetting or something similar. Thank you for trying! /Fredrik On Sun, Mar 4, 2012 at 12:50 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi, Still

Re: [R] data generation

2012-03-04 Thread Joshua Wiley
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] Which packages are installed with the default R installation?

2012-03-04 Thread Joshua Wiley
-guide.html ^^^ and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] Using ddply within a function by argument transfer

2012-03-03 Thread Joshua Wiley
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] range of group variables

2012-03-01 Thread Joshua Wiley
You could loop through the list using lapply() or the like. One way would be to subset the data and use . Notation which expands to all variables in the dataset not used elsewhere in the model (ie not the outcomes). Cheers, Josh On Mar 1, 2012, at 14:29, sajjad R sajja...@hotmail.com

Re: [R] macro function

2012-02-28 Thread Joshua Wiley
. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Error message: object of type 'closure' is not subsettable

2012-02-28 Thread Joshua Wiley
-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Error message: object of type 'closure' is not subsettable

2012-02-28 Thread Joshua Wiley
is shown to be a function(x) when I type it in R console. But there is no function definition for testStatistics in the code. My R understanding is still elementary. Thanks Aparna On Tue, Feb 28, 2012 at 5:25 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi Aparna, Can you please post

Re: [R] slope in curves - how to compare?

2012-02-20 Thread Joshua Wiley
. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] lmer - error message

2012-02-17 Thread Joshua Wiley
me in a better direction.  All I'm trying to do is to include a non-random interaction in here (age:lake), and it sure has me stumped! -Sean On 16 February 2012 23:06, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi Sean, Can you fit a simpler model?  Particularly I would start with just one

Re: [R] How to see a R function's code

2012-02-11 Thread Joshua Wiley
]] __ 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. -- Joshua Wiley Ph.D. Student, Health Psychology

Re: [R] nested if else statements

2012-02-05 Thread Joshua Wiley
-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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II

Re: [R] how do I exort a list of numbers into csv file?

2012-02-05 Thread Joshua Wiley
/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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles

Re: [R] [newbie] storage/use of user's own functions?

2012-02-05 Thread Joshua Wiley
Hi Tom, I don't believe there is a standard location. You can set variables or have functions run (say to source other functions in) in your .Rprofile file. That way, you always have them. Once you get more than a handful of functions, it is probably time to consider putting them into your

Re: [R] Assigning objects to variable and variable to list in a for loop

2012-02-03 Thread Joshua Wiley
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] Compilation of .C into .dll

2012-02-03 Thread Joshua Wiley
and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r

Re: [R] How to use a sequence of covariates in linear model (lm)?

2012-02-03 Thread Joshua Wiley
Or pass the covariates as a matrix. See ?lm for details. On Feb 3, 2012, at 7:51, R. Michael Weylandt michael.weyla...@gmail.com wrote: Usually that's what the dot in a formula is used for. E.g., data(iris) str(iris) lm(Petal.Width ~ ., data = iris) Michael On Fri, Feb 3, 2012

Re: [R] Calculating plotting a linear regression between two correlated variables

2012-01-22 Thread Joshua Wiley
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] Enumerate the class of objects

2012-01-21 Thread Joshua Wiley
-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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical

Re: [R] Select rows based on multiple comparisons

2012-01-16 Thread Joshua Wiley
://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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University

Re: [R] howto test a package without installation

2012-01-15 Thread Joshua Wiley
/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. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California

Re: [R] rpart question

2012-01-15 Thread Joshua Wiley
if you need anything else. Thanks so much for your help! Amanda On Sun, Jan 8, 2012 at 7:41 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi Amanda, Can you reproduce the error with a small subset of the data?  If so, could you send it to us?  For instance if say 20 cases is sufficient

Re: [R] A recent Post

2012-01-15 Thread Joshua Wiley
. __ 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. -- Joshua Wiley Ph.D

Re: [R] The Future of R | API to Public Databases

2012-01-14 Thread Joshua Wiley
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com

Re: [R] IF ELSE

2012-01-13 Thread Joshua Wiley
code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Averaging over data sets

2012-01-12 Thread Joshua Wiley
, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https

Re: [R] rpart question

2012-01-08 Thread Joshua Wiley
. -- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

<    1   2   3   4   5   6   7   8   9   10   >