Re: [R] Mac Text editors

2012-09-27 Thread Steven Wolf
Thanks everyone for all of your help. This has really helped me filter all of the noise about text editors on the internet. -Steve On Sep 27, 2012, at 5:41 AM, Berend Hasselman wrote: > > On 27-09-2012, at 02:48, Steven Wolf wrote: > >> Hi everyone, >> >> I

[R] Mac Text editors

2012-09-26 Thread Steven Wolf
hat text editors are best for the Mac, keeping in mind that I'm probably going to use them via the command line interface (e.g. X11 or Terminal). Thanks! -Steve _______ Steven Wolf Research Associate CREATE for STEM Institute 115 H Erickson

[R] igraph node placement

2012-07-23 Thread Steven Wolf
;, edge.color=gray(0.2), vertex.label.cex=1.5, vertex.size=12) Thanks in advance for your help! -Steve _______ Steven Wolf Michigan State University

Re: [R] Two ecdf with log-scales

2012-05-03 Thread Steven Wolf
I've done it this way before: eX -> ecdf(distribution 1) eY -> ecdf(distribution 2) par(mar=c(5,5,2,1),xlog=TRUE) plot(eX, do.points=FALSE, verticals=TRUE, col="black", xlab=xlabel, xlim=c(1,10), ylab=ylabel, lty=1, cex.lab=1.5, cex.axis=1.5, main="", lwd=3,log="x") pl

Re: [R] Heatmap fidelity

2012-04-26 Thread Steven Wolf
Thanks! -Steve -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: Thursday, April 26, 2012 9:28 AM To: Steven Wolf Cc: r-help@r-project.org Subject: Re: [R] Heatmap fidelity On 26/04/2012 9:01 AM, Steven Wolf wrote: > I'm having a problem when using

[R] Heatmap fidelity

2012-04-26 Thread Steven Wolf
look the same heatmap(abs(psim)) # heatmap(abs(psim2)) ##### Thanks! -Steven Wolf Lyman Briggs College Department of Physics and Astronomy Michigan State University [[alternative HTML version deleted]] __ R-help@r-project.org ma

Re: [R] master thesis

2012-04-15 Thread Steven Wolf
Try the pairs() function to explore your raw data. This webpage may even give you a nice way to visualize your data: http://r-epid.blogspot.com/2008/11/correlation-pairs-plot.html -Steve -Original Message- From: Francesca Sorbie [mailto:fsor...@hotmail.com] Sent: Saturday, April 14, 20

Re: [R] Trying to eliminate a for loop

2012-02-29 Thread Steven Wolf
, Feb 29, 2012 at 03:52:15PM -0500, Steven Wolf wrote: > I keep trying to eliminate for loops when I arrive at them, but this > one is stumping me. What is the nifty way to do this? > > My object data.cca is the output of the cancor function (for some two > datasets X and Y)

[R] Trying to eliminate a for loop

2012-02-29 Thread Steven Wolf
I keep trying to eliminate for loops when I arrive at them, but this one is stumping me. What is the nifty way to do this? My object data.cca is the output of the cancor function (for some two datasets X and Y) (data.cca is a numeric vector) data.cca <- cancor(X,Y) Xcen=0*X for(i in 1:dim(X)[1]

Re: [R] Optimisation

2012-02-01 Thread Steven Wolf
Yes. For a simple start try: help(optim) If you need a more complicated algorithm look into the 'neldermead' package. HTH, -Steve -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Partha Sinha Sent: Wednesday, February 01, 2012 1:31

[R] plot.igraph

2011-09-29 Thread Steven Wolf
adjm[i,i]=0} require(igraph) gg=graph.adjacency(adjm,mode="max") V(gg)$name = 1:10 V(gg)$label = V(gg)$name plot.igraph(gg, layout=layout.kamada.kawai, vertex.color=gray(0.7)) ##### Thanks in advance, -S

Re: [R] source, echo...and clicking the mouse

2011-06-30 Thread Steven Wolf
-Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: Thursday, June 30, 2011 6:31 PM To: Greg Snow Cc: Steven Wolf; 'David Winsemius'; r-help@r-project.org Subject: Re: [R] source, echo...and clicking the mouse On 30/06/2011 5:33 PM, Greg Snow wrote: &g

Re: [R] source, echo...and clicking the mouse

2011-06-30 Thread Steven Wolf
How does flush.console() work? Am I supposed to put anything in the parentheses? When I type it in I get: > flush.console() NULL Thanks, -Steve -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Thursday, June 30, 2011 4:40 PM To: Steven Wolf Cc: r-hel

[R] source, echo...and clicking the mouse

2011-06-30 Thread Steven Wolf
I'm attempting to view the progress of a script that I call on my screen as follows: source("myscript.R", echo=TRUE) When it is running, I have to click my mouse in the GUI window for anything to show up. I am wondering if I can change something so that it writes to my GUI window automati

Re: [R] Generate the next column from previous column

2011-06-23 Thread Steven Wolf
Basically you need to set up a recursive relationship. I'd do this with a 2D array: G = numeric(6*N) dim(G) = c(6,N) G[,1] = c(1,rep(0,5)) for (i in 2:N){G[,i]=G[,i-1]+5* c(1,rep(0,5))} HTH, -Steve -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.or

[R] packages which call functions which run C code...

2011-06-23 Thread Steven Wolf
I am looking at the function ks.test in the stats package and trying to figure out why it gives a different result for a p-value than does the corresponding function in MATLAB. I am hoping for one of two responses: 1. You know about ks.tests and have a familiarity with both the R and MAT

[R] Simple question

2011-04-19 Thread Steven Wolf
without handling the original read-in properly. A sample of my .csv file looks like this: Rnum,Cnum,Pnums 1,1,"1,6,7,23,29,31,34,40,45" 1,2,"4,9,22,26,30,38,44,46,47" 1,3,"2,48" 1,4,"3,16,19,41" 1,5,"8,11,12,17,25" ) Thanks, Steven

[R] Adjusted Rand Index

2011-03-23 Thread Steven Wolf
I'm attempting to use the Adjusted Rand Index to compare different categorizations in my card-sorting experiment. However, as I am attempting to replicate a prior study, I am allowing them to put a single card in multiple piles. However, in the original paper, it looks like Rand expects the cards

[R] Help with card-sorting experiment

2011-02-25 Thread Steven Wolf
This is the first time that I've posted to this list, so if I'm doing something wrong, please let me know. Also, if there is a searchable forum where I can find help, that would be good too. I'm doing a card sorting experiment, and I'm having problems imputing my data into R for later analysis