[R] Kosaraju's SCC Algorithm Running

2016-11-06 Thread Megan
To whom it may concerns, We encountered stack overflow issues when we implemented DFS(depth first search) algorithm on a directed graph having 800,000+ vertices and millions of edges. The purpose of running DFS is to use Kosaraju Algorithm to calculate the size of SCC(strongly connected compon

[R] Applying ME in spdep to phylogenetic autocorrelation

2015-10-23 Thread Megan Bartlett
S0, S1, and S2 values from the summary() of the listw object to figure out whether I've represented the neighbors correctly? Thanks very much for your help! Best, Megan Bartlett [[alternative HTML version deleted]] __ R-help@r-project.or

Re: [R] Correlating multiple effect sizes within a study to study-level predictors: metafor package

2014-07-17 Thread Megan Bartlett
Hi Michael, I think you're right, it would be a good idea for me to get a better grip on mixed effects modeling before I charge ahead with metafor. Thank you very much for all of your help with this! Much appreciated! Best, Megan On Thu, Jul 17, 2014 at 3:50 AM, Michael Dewey wrote: &g

Re: [R] Correlating multiple effect sizes within a study to study-level predictors: metafor package

2014-07-16 Thread Megan Bartlett
? Thanks, Megan On Wed, Jul 16, 2014 at 1:53 AM, Michael Dewey wrote: > At 23:19 14/07/2014, Megan Bartlett wrote: > >> Thanks very much, Wolfgang and Michael! I feel like I understand rma much >> more clearly. >> >> But just to make sure, is there any way to

Re: [R] Correlating multiple effect sizes within a study to study-level predictors: metafor package

2014-07-14 Thread Megan Bartlett
e for effect sizes? Thanks again! Best, Megan On Mon, Jul 14, 2014 at 6:06 AM, Viechtbauer Wolfgang (STAT) < wolfgang.viechtba...@maastrichtuniversity.nl> wrote: > Somehow that initial post slipped under the radar for me ... > > Yes, I would give the same suggestion as Michael. Be

[R] Correlating multiple effect sizes within a study to study-level predictors: metafor package

2014-07-11 Thread Megan Bartlett
cture correctly with this approach, and 2) am I fundamentally misunderstanding how to use metafor to do so? Thanks very much for your help! Best, Megan [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.c

[R] How to create an ifelse statement where it matches a different data.frame variable

2014-03-26 Thread Megan Weigel
Hello, Hopefully there is an answer for this, but I need an ifelse statement that replaces and returns a value based on a different dataframe. For example: CurrentDataFrame<-ifelse(CurrentDataFrame$Name=="NA",match(CurrentDataFrame$Code with PastDataFrame$Code),replace(CurrentDataFrame$Name) with

[R] How to join data.frames with different row lengths

2014-03-24 Thread Megan Weigel
Hello, I need to combine two data sets into one. For example: Dataset1: Code Cap04 2120 6 75 7220 17 4 Dataset2: Code Cap08 2120 7112 9190 17 4 I need the dataset to look like the following where it keeps every unique 'code'

[R] nlme function summary.lmList cannot be found with new versions

2013-11-20 Thread megan herting
Hello, I installed the newest version of R (3.0.2) as well as the newest version of nlme (3.1-113) in order to use summary.lmList and other nlme functions. Once loading the new library, lmList and summary.lm can be found, but a number of additional functions cannot be found via command. Versions

[R] Getting a "root edge" error when trying to read the phylocom megatree into R

2012-01-11 Thread Megan Bartlett
have to make to the megatree in order to read it in R? Thanks so much for your help! Best, Megan Bartlett [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Adding points to a wireframe: 'x and units must have length >0' error

2011-10-24 Thread Megan Bartlett
scaled = ylim.scaled, zlim.scaled = zlim.scaled, ...) }) Thanks so much!! -Megan On Mon, Oct 24, 2011 at 2:25 PM, Dennis Murphy wrote: > Hi David: > > When I try your code, I get the wireframe with the x, y, z axes sans > bounding cube and points, along with the error message >

Re: [R] Adding points to a wireframe: 'x and units must have length >0' error

2011-10-24 Thread Megan Bartlett
Hi David, Thanks for the suggestion - I changed pts1 to pts, but I still got the same error as before. Do you know what else I'm doing wrong? Thanks, Megan PS. New code is: wireframe(z ~ y*x, gridd, drape = TRUE, colorkey= TRUE, scales = list(arrows = FALSE), pts =

[R] Adding points to a wireframe: 'x and units must have length >0' error

2011-10-24 Thread Megan Bartlett
z = zz, xlim = xlim, ylim = ylim, zlim = zlim, xlim.scaled = xlim.scaled, ylim.scaled = ylim.scaled, zlim.scaled = zlim.scaled,

[R] Generalized Linear Model

2011-04-25 Thread Megan
Hello, I am trying to run a generalized linear model but do not know where to begin. I have attached my data to R but do not know where to go from there. I have two independent variables (each has two factors associated with them) and two dependent variables, each with either a yes/no response whi

[R] ccf function

2010-07-13 Thread Megan Moreau
ve if X leads Y or not. 3) Lastly, is there a function that will pull out the first maximum/significant value?  I tried which.max(x), max(x) and nothing seems to be working. All ideas are appreciated.  I apologize for the simple questions but you have to start so

[R] useR! 2010

2009-07-28 Thread Mullen, Katharine Megan
We are happy to announce that the R user conference useR! 2010 is scheduled for July 21-23, 2010, and will take place at the campus of the National Institute of Standards and Technology (NIST) in Gaithersburg, Maryland, USA. As for the predecessor conferences, the program will consist of two

[R] SOLVED: loading lme4 fails - "function 'cholmod_l_start' not provided by package 'Matrix'"

2009-02-04 Thread Megan Davies
Thanks Thierry and the Prof, Removing the files and then reloading them seems to have done the trick. I don't understand why it worked, but it did. Megan Megan Davies Policy and Advice Officer, Statistician Scottish Natural Heritage 01463 725072 >>> "ONKELINX, Thierry

Re: [R] loading lme4 fails - "function 'cholmod_l_start' not providedby package 'Matrix'"

2009-02-04 Thread Megan Davies
other attached packages: [1] Matrix_0.999375-20 lattice_0.17-20 loaded via a namespace (and not attached): [1] grid_2.8.1 tools_2.8.1 Megan Megan Davies Policy and Advice Officer, Statistician Scottish Natural Heritage 01463 725072 >>> Prof Brian Ripley 04-02-2009 11:13 >>>

Re: [R] loading lme4 fails - "function 'cholmod_l_start' not providedbypackage 'Matrix'"

2009-02-04 Thread Megan Davies
Thanks again Prof, I downloaded the latest lme4 today. In the description file, it says, "Version: 0.999375-28". I've just checked this against the version available on CRAN and its the same. Megan Megan Davies Policy and Advice Officer, Statistician Scottish Natural Herita

[R] loading lme4 fails - "function 'cholmod_l_start' not provided by package 'Matrix'"

2009-02-04 Thread Megan Davies
es and still got this message. The FAQ and archives suggested to check the R version requirements, but I'm already using the latest available version of R, 2.8.1. I'm using Windows XP Professional. Thanks for any help, Megan Davies Megan Davies Policy and Advice Officer, Statis

[R] Tick marks that correspond with bars on barplot

2008-08-08 Thread Megan J Bellamy
softwood). Below is my script: density<-read.table("F:\\Megan\\Vtest.csv", header=TRUE, sep=",") attach (density) barplot(DENSITY,YEAR, col=c("blue", "green", "green", "blue", "blue", "green", "blue", "gree

[R] RODBC to query an Oracle table

2008-07-28 Thread Megan J Bellamy
ere the species type is either softwood or hardwood (S or H). Any help with this would be great. Thanks in advance, Megan __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-p

[R] Using RODBC to use SQL queries

2008-07-23 Thread Megan J Bellamy
. Any help with this would be much appreciated! Thanks in advance, Megan __ 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.

[R] subscripted assignments errormessage in gap.boxpot

2008-06-25 Thread Megan J Bellamy
areas for each CLI class cli3<-read.table("F:\\Megan\\cli3.csv", header=TRUE, sep=",") cli4<-read.table("F:\\Megan\\cli4.csv", header=TRUE, sep=",") cli5<-read.table("F:\\Megan\\cli5.csv", header=TRUE, sep=",") cli6<-read.table(

Re: [R] gap.boxplot error message?

2008-06-25 Thread Megan J Bellamy
break in the axis). There are two images. One is with the entire axis shown (with outliers) and the other is without outliers. The script is: # Create box-and-whisker plot CLI class areas # for all of Nova Scotia # Written by Megan Bellamy # Import *.csv files containing areas for each CLI class

Re: [R] gap.boxplot error message?

2008-06-25 Thread Megan J Bellamy
000), bottom=c(0,250)), range=50, outline=TRUE) but I haven't tried this. Stephen On Wed, Jun 25, 2008 at 10:49 AM, Megan J Bellamy <[EMAIL PROTECTED]> wrote: > Hello, > > When I put in the following script line: > gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7, gap=list(top=c(8000,28

[R] gap.boxplot error message?

2008-06-25 Thread Megan J Bellamy
istics with S' but I can't figure out where I am going wrong... Megan Bellamy __ 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 p

[R] changing scale range after an axis break

2008-06-24 Thread Megan J Bellamy
lines with the outliers above. Does anyone know where I could find code that explains how to do this? I'd really appreciate it. Thanks! Megan Bellamy __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do rea

[R] Line Breaks and Axis breaks..

2008-05-23 Thread Megan J Bellamy
a boxplot graph. See attachment... there is an outlier under CLI 5 that can't be seen as a result. >install.packages("plotrix") axis.break(axis=1, breakpos=NULL, bgcol="white", breakcol="black", style="gap",

[R] use of step.gam (from package 'gam') and superassignment inside functions

2008-02-28 Thread Megan Ferguson
iss) fxn <- function() { swiss.jack <- swiss[sample(1:nrow(swiss), 20), ] lm1 <- lm(Fertility ~ ., data = swiss.jack) slm1 <- step(lm1) } fxn() ***End of code*** -- Megan C. Ferguson Southwest Fisheries Science Center 8604 La Jolla Shores Dr. La Jolla, CA 92037 (858)546-7118 W (858