Re: [R] delete data row

2010-10-16 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] Problem applying outer to a list of functions

2010-10-16 Thread Joshua Wiley
, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] reduce the size of points in plot???

2010-10-16 Thread Joshua Wiley
. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.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

Re: [R] delete data row

2010-10-16 Thread Joshua Wiley
in the construction of your tests. all.equal( (2^(0.5))^2 , 2) [1] TRUE (2^(0.5))^2 == 2 [1] FALSE -- David. On Oct 16, 2010, at 1:30 PM, Joshua Wiley wrote: Dear IRD, One way is to select every row except those where y = y.j and then assign that to IR.  In my example, which() returns

Re: [R] Class mode text isopen can read can write - too many open connections

2010-10-17 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 University of California, Los

Re: [R] how to convert string to object?

2010-10-17 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] delete data row

2010-10-17 Thread Joshua Wiley
the -which construction: x - c(1, (2^(0.5))^2 , 3, 5, (2^(0.5))^2 , 3, 1) y - 2 x[which(zapsmall(x-10) != 0)] [1] 1 2 3 5 2 3 1 -- David. When using logicals as subscripts, read the [ as such that. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -- Joshua Wiley Ph.D. Student

Re: [R] Basic structure operations doubt

2010-10-17 Thread Joshua Wiley
, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] Looking for covariance function -OR- how do you search

2010-10-18 Thread Joshua Wiley
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list

Re: [R] VectorComparison

2010-10-18 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 University

Re: [R] Basic structure operations doubt

2010-10-18 Thread Joshua Wiley
wrote: Thanks Josh. At your convenience, Any pointers on why this was designed like this? i.e. shouldn’t droplevels() be the default behavior? I'm missing something in understanding on how these operations (manipulations) were designed to work. -Original Message- From: Joshua Wiley

Re: [R] Class mode text isopen can read can write - too many open connections

2010-10-18 Thread Joshua Wiley
(cmDownFun(x),silent = TRUE)) lapply(x, cmDownFun) -Original Message- From: Joshua Wiley [mailto:jwiley.ps...@gmail.com] Sent: 17 October 2010 21:39 To: Santosh Srinivas Cc: r-help@r-project.org Subject: Re: [R] Class mode text isopen can read can write - too many open connections Hi

Re: [R] points(x,y), mean and standard deviation

2010-10-19 Thread Joshua Wiley
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org

Re: [R] separate elements of a character vector

2010-10-19 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 University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing

Re: [R] is get() really what I want here?

2010-10-19 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] is get() really what I want here?

2010-10-20 Thread Joshua Wiley
= Sys.time() + 0:1) for (i in 1:3) { print(summary(object2[[i]])) } # But also object2[[2]] object2[[Times]] Thanks, Dan On Wed, Oct 20, 2010 at 4:46 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi Daniel, get() will work for any object, but cat() may not.  cat() should work for arrays

Re: [R] printing a variable during a loop

2010-10-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 University of California, Los Angeles http

Re: [R] problem on using read.csv function

2010-10-21 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 University

Re: [R] nested anova

2010-10-22 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 University

Re: [R] If Statement with more than one condition

2010-10-22 Thread Joshua Wiley
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org

Re: [R] printing a variable during a loop

2010-10-22 Thread Joshua Wiley
created a vector to store teh names of all teh files being generated and they could be removed automatically afterwards. Not what the OP wanted, but this strategy may be useful for certain tasks. Jose Quoting Joshua Wiley jwiley.ps...@gmail.com: On Thu, Oct 21, 2010 at 12:03 PM, David

Re: [R] Feedback on you manual

2010-10-23 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] convert wind direction from degrees to basic compass directions

2010-10-23 Thread Joshua Wiley
commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] help with adding lines to current plot

2010-10-25 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 University

Re: [R] Zoom in in a plot

2010-10-26 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] Zoom in in a plot

2010-10-26 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] Merge disparate lists

2010-10-27 Thread Joshua Wiley
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list

Re: [R] help with help()

2010-10-28 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 University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org

Re: [R] adding copies of rows toa data frame based upon start and end dates

2010-10-28 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] wait for graph to finish plotting

2010-10-28 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] How to perform arithmetic across rows

2010-10-28 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] get the rows so that there is no redundant element in a certain column

2010-10-28 Thread Joshua Wiley
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 University of California, Los Angeles http

Re: [R] transposing a column table

2010-10-28 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] help pages do not open

2010-10-29 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 University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing

Re: [R] plot pdf

2010-10-29 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 University of California, Los Angeles http://www.joshuawiley.com/ __ R

Re: [R] date calculation

2010-10-30 Thread Joshua Wiley
, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] For loop

2010-10-30 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] For loop

2010-10-31 Thread Joshua Wiley
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 University of California, Los Angeles http

Re: [R] For loop

2010-10-31 Thread Joshua Wiley
] + vv.2[-20001, k] vv.2[20001, k-1] - v.2[20001, k-1] }) On Sun, Oct 31, 2010 at 2:39 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi, Using the code below I got almost a 60% speedup.  Obviously this is largely dependent on there being relatively fewer columns than rows. HTH, Josh

Re: [R] how to save this result in a vector

2010-10-31 Thread Joshua Wiley
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org

Re: [R] how to save this result in a vector

2010-10-31 Thread Joshua Wiley
On Sun, Oct 31, 2010 at 5:44 PM, Joshua Wiley jwiley.ps...@gmail.com wrote: snip #cover is a vector cover_per - function(cover) {  ## create a vector to store the results of your for loop  output - vector(numeric, length(min(cover):max(cover)))  for (i in min(cover):max(cover

Re: [R] foreloop? aggregating time series data into groups

2010-11-01 Thread Joshua Wiley
-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] how to make multiple curves in one plot

2010-11-02 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 University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r

Re: [R] Help on install.packages() function

2010-11-02 Thread Joshua Wiley
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Question about ggplot2

2010-11-02 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] density() function: differences with S-PLUS

2010-11-02 Thread Joshua Wiley
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https

Re: [R] Question about ggplot2

2010-11-02 Thread Joshua Wiley
all the cases for the computation of the summary statistics and change the y limits in the final graph? Shige On Tue, Nov 2, 2010 at 10:33 AM, Joshua Wiley jwiley.ps...@gmail.com wrote: Dear Shige, You can use scale_y_continuous() to achieve this. year.plot - ggplot(d, aes(year, rate

Re: [R] '=' vs '-'

2010-11-03 Thread Joshua Wiley
code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.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

Re: [R] Logical vectors

2010-11-04 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 University of California, Los

Re: [R] avoid a loop

2010-11-04 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] as.xts

2010-11-05 Thread Joshua Wiley
, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] About 5.1 Arrays

2010-11-05 Thread Joshua Wiley
a: 1 maps to a[1, 1, 1] in the 3d array 2 maps to a[2, 1, 1]. 3 maps to a[3, 1, 1] 4 maps to a[1, 2, 1] 12 maps to a[3, 4, 1] 20 maps to a[2, 3, 2] 24 maps to a[3, 4, 2] Thanks B.R. Stephen snip -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http

Re: [R] calculate probability

2010-11-05 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 University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing

Re: [R] calculate probability

2010-11-05 Thread Joshua Wiley
Hi Jumlong, Is this what you want? pnorm(q = c(2.4, 2.9), mean = 2, sd = 1) [1] 0.6554217 0.8159399 HTH, Josh On Fri, Nov 5, 2010 at 9:57 PM, Jumlong Vongprasert jumlong.u...@gmail.com wrote: Dear Joshua Wiley 2.4 and 2.9 are score, and mean = 2 variance = 1 n = 10 with normal

Re: [R] Using changing names in loop in R

2010-11-06 Thread Joshua Wiley
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 University of California, Los Angeles

Re: [R] Removing NA in ggplot

2010-11-06 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] Using changing names in loop in R

2010-11-06 Thread Joshua Wiley
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 University of California, Los Angeles http

Re: [R] postscript window size

2010-11-06 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] Integrate and mapply

2010-11-07 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 University

Re: [R] Integrate and mapply

2010-11-07 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] mean on a plot

2010-11-07 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 University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r

Re: [R] About 5.1 Arrays

2010-11-07 Thread Joshua Wiley
On Sat, Nov 6, 2010 at 7:38 AM, Stephen Liu sati...@yahoo.com wrote: Hi Joshua, Thanks for your advice. 1) Re your advice:-[quote] a3d , , 1 --- this is the first position of the third dimension ***THIS IS THE THIRD DIMENSION***     [,1] [,2] [,3] [,4]  --- positions 1, 2, 3, 4 of the

Re: [R] Error: could not find function extract in package raster

2010-11-08 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] How to plot a normal distribution curve and a shaded tail with alpha?

2010-11-08 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] : unusual combinations of categorical data

2010-11-08 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] How to detect if a vector is FP constant?

2010-11-08 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 University

Re: [R] Merging data frames one of which is NULL

2010-11-09 Thread Joshua Wiley
, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Question regarding to replace NA

2010-11-09 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] Question regarding to replace NA

2010-11-09 Thread Joshua Wiley
On Tue, Nov 9, 2010 at 9:39 AM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi Kate, is.na() does not work on entire data frames. whoops, I did not mean that. is.na() has a data frame method, but there are assignment issues (as you saw) when you use it that way. Josh [snip

Re: [R] Question regarding to replace NA

2010-11-09 Thread Joshua Wiley
On Tue, Nov 9, 2010 at 9:43 AM, Joshua Wiley jwiley.ps...@gmail.com wrote: On Tue, Nov 9, 2010 at 9:39 AM, Joshua Wiley jwiley.ps...@gmail.com wrote: Hi Kate, is.na() does not work on entire data frames. whoops, I did not mean that.  is.na() has a data frame method, but there are assignment

Re: [R] help cannot put multiple chart Stacked Bar (from PerformanceAnalysis library) in a single plot

2010-11-09 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] Question in using e1071 svm routine

2010-11-09 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 University

Re: [R] standardized/studentized residuals with loess

2010-11-10 Thread Joshua Wiley
, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] par mfrow in function problem

2010-11-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, Health Psychology University

Re: [R] create a pairwise coocurrence matrix

2010-11-10 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 University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org

Re: [R] create a pairwise coocurrence matrix

2010-11-10 Thread Joshua Wiley
Joshua Wiley jwiley.ps...@gmail.com Hi Tax, Because the list dost not accept HTML messages (per posting guide), your message was converted to plain text, and your table is difficult to read.  My suggestion would be to start with: ?table ?xtabs If you make up a minimal example of the data you

Re: [R] Count continuous dates

2010-11-10 Thread Joshua Wiley
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list

Re: [R] Merge postscript files into ps/pdf

2010-11-11 Thread Joshua Wiley
, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] error message: is

2010-11-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] Merge postscript files into ps/pdf

2010-11-12 Thread Joshua Wiley
like: pdf() source(script1) # (makes 4 graphs) source(script2) # (make 3 graphs) dev.off() pdf file with 7 graphs and pages written. Then again, this may not be feasible with your workflow. Cheers, Josh Ralf On Fri, Nov 12, 2010 at 2:28 AM, Joshua Wiley jwiley.ps...@gmail.com wrote

Re: [R] R on an iPad

2010-11-12 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] How to permanently remove [Previously saved workspace restored]

2010-11-13 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 University of California, Los Angeles http://www.joshuawiley.com

Re: [R] gettng the row number based on column conditions

2010-11-14 Thread Joshua Wiley
commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] How to permanently remove [Previously saved workspace restored]

2010-11-14 Thread Joshua Wiley
for some reason) 5) Stop using R (though this seems a little extreme) [snip] -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] How to permanently remove [Previously saved workspace restored]

2010-11-14 Thread Joshua Wiley
On Sun, Nov 14, 2010 at 2:00 AM, Stephen Liu sati...@yahoo.com wrote: Hi folks, Tks for your advice. Summing up all your advice I performed following steps without success. 1) rm (list = ls( )) q() save working image 2) rm (list = ls(all=TRUE)) q() save working image 3) getwd()

Re: [R] How to permanently remove [Previously saved workspace restored]

2010-11-14 Thread Joshua Wiley
On Sun, Nov 14, 2010 at 3:40 AM, Stephen Liu sati...@yahoo.com wrote: Hi Joshua, list.files(path = getwd(), all.files = TRUE)  [3] .RData  [4] .Rhistory .Rhistory and .RDate are there. Note that these files start with a . But I can't find .RDate on Windows Explorer.  Only .Rhistory is

Re: [R] replace a row in a matrix

2010-11-14 Thread Joshua Wiley
code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.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

Re: [R] How to permanently remove [Previously saved workspace restored]

2010-11-14 Thread Joshua Wiley
@Stephen Sorry, Duncan's right, it is likely not a protected/hidden file issue. At the risk of nuking the fridge, you could also open an elevated command prompt then navigate to the relevant directory and delete the file: cd C:\Users\satimis del .RData exit Probably too much trouble for

Re: [R] About upgrade R

2010-11-14 Thread Joshua Wiley
and provide commented, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] rotate column names in large matrix

2010-11-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 University

Re: [R] Need help with pointLabels()

2010-11-15 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 University of California

Re: [R] indexing lists

2010-11-15 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] How to plot effect of x1 while controlling for x2

2010-11-15 Thread Joshua Wiley
, minimal, self-contained, reproducible code. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] plot vs print ??

2010-11-16 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] help using function merge_all()

2010-11-16 Thread Joshua Wiley
. -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.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

Re: [R] How to pick out several infinite values when calculating means?

2010-11-16 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] Find in R and R books

2010-11-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

Re: [R] Give me all operator

2010-11-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 Psychology University

Re: [R] Vectors out of lists?

2010-11-17 Thread Joshua Wiley
On Wed, Nov 17, 2010 at 9:42 AM, William Dunlap wdun...@tibco.com wrote: Don't fixate on avoiding loops.   Bury them in a function so you don't have to see them and then you just want something that does the right thing quickly enough.  (I'm assuming this is not a homework/puzzle type problem

Re: [R] Updata Rdata File

2010-11-18 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

  1   2   3   4   5   6   7   8   9   10   >