Re: [R] source() does not include added code

2016-08-31 Thread Doug Edmunds
Thank you. That explains it (auto-printing is not done). On 8/31/2016 8:35 AM, Joshua Ulrich wrote: I have quantstrat installed and it works fine for me. If you're asking why the output of t(tradeStats('macross')) isn't being printed, that's because of what's described in the first paragraph i

Re: [R] source() does not include added code

2016-08-31 Thread Doug Edmunds
1. File is (was) saved. 2. The added code is t(tradeStats("macross")) with 2 )'s. I'd appreciate if someone with QuantStrat installed, to try this and see if they get a different result. My R and RStudio and QuantStrat libraries are all current. I get the chart and this much output. > sour

[R] source() does not include added code

2016-08-31 Thread Doug Edmunds
I am trying to understand why "source" does not process all the code in this R file. 1. I copied maCross.R from the quantstrat/demo directory into my project area. QuantStrat is available at https://r-forge.r-project.org/R/?group_id=316 install.packages("quantstrat", repos="http://R-Forge.R-pr

[R] bargraph.CI and arrows

2015-02-04 Thread Reid, Doug (MNRF)
Hello R-Help folks. I'm fairly new to R and particularly the graphing functions. The figures I have made look great though and so I want to use it more. I am using bargraph.CI and have made several charts successfully using raw data. I have a figure, however that doesn't lend itself to the fu

[R] Post hoc comparissons

2014-07-29 Thread Reid, Doug (MNR)
. Is there a way to summarize my result in R that makes it easier to indicate significant post hoc comparisons graphically? Thanks for your help, Doug Reid CNFER Lakehead University [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] reversed variables in stats::reshape()

2014-01-30 Thread Doug Morrison
Thanks Arun! I see now that the description of the "varying" argument for reshape includes the following: "This is canonically a list of vectors of variable names" Originally, I saw in the Details section: "Notice that the order of variables in varying is like x.1,

[R] reversed variables in stats::reshape()

2014-01-24 Thread Doug Morrison
es)) The following edit seems to produce the behavior I expected: varying <- split(varying, rep(v.names, ntimes))[v.names] However, I strongly suspect I am making a mistake; I'd be grateful if someone would help me find it. Here is the output of sessionInfo(): R version 3.0.2 (2013-09-25)

[R] removing lines from text file

2012-08-22 Thread Doug Edmunds
I downloaded a text file which has several lines of text before the header line of the data, similar to this: ---start--- "Corn December 2012 (CZ2012)" Source: Wikiposit Open Data via wikiposit.org (http://wikiposit.org/uid?FUTURE.CZ2012) Update: http://wikiposit.org/w?action=dl&dltypes=comma

Re: [R] [fields:image.plot] subtitle under title (not image)?

2012-05-01 Thread Doug Nychka
Tom, The sub argument will always put text at the bottom -- this is all plotting in R not just image.plot If you want two lines in the title just build in a new line: z<- outer( 1:15, 1:10,"+") image.plot( z, main="the title \n the subti

Re: [R] Multi-page PDF using dev.copy2pdf(filename, onefile=TRUE)?

2012-02-06 Thread Doug Hill
Thanks Elai, that did it! I never considered using any X11 options, as I'm on Windows, and in the docs I read it sounded like X11 options only pertained to the OSX/Linux/.. world. Thanks for your help, Doug --- On Mon, 2/6/12, ilai wrote: From: ilai Subject: Re: [R] Multi-page PDF

[R] Multi-page PDF using dev.copy2pdf(filename, onefile=TRUE)?

2012-02-06 Thread Doug Hill
er each plot() command). But according to the docs for dev.copy2pdf(), that function accepts the same args as pdf() does, including onefile.  (2) I wrap my code in a function to be able to use it in the StatEt debugger in Eclipse.  If you know what I'm doing wrong, or know of a diffe

Re: [R] [fields] image.plot abends with NAs in image.plot.info

2012-02-03 Thread Doug Nychka
missing in the first image. Doug - Doug Nychka, Institute for Mathematics Applied to Geosciences National Center for Atmospheric Research Boulder, CO Email: nychka "AT" ucar &quo

[R] Question about output from twitteR package

2011-07-23 Thread Doug Luke
Dear R-List, I am trying to develop a tutorial on how to analyze network data from Twitter conversations for a network analysis class that I teach. I came across the twitteR package, and saw some examples of it in action on various websites. It is easy to use, and almost as easy to understand.

[R] "local({})" documentation?

2011-04-08 Thread Doug Elias
Greetings, all ... I'm trying to find documentation on the use of the "local()" function, and am drawing a complete blank; would someone please send me a pointer to where I can learn what it is intended for, and how to correctly use it? Many thanks! Doug [[alternati

Re: [R] Homogeneity of regression slopes

2010-09-15 Thread Doug Adams
That's good insight, and gives me some good ideas for what direction to this. Thanks everyone ! Doug P.S. - I guess if you have a significant interaction, that implies the slopes of the individual regression lines are significantly different anyway, doesn't it... On Tue, Sep 14,

[R] Homogeneity of regression slopes

2010-09-13 Thread Doug Adams
the predicted values at the ends of the 3 regression lines are significantly different... But I'm not sure how to do the Johnson-Neyman procedure in R, so I think testing for slope differences will suffice! Thanks to any who may be able to help! Doug Adams __

[R] interaction post hoc/ lme repeated measures

2010-07-07 Thread Doug Bourne
the repeated measures) I would get a series of p values for all the different combinations of treatments and bones. Is there a way to do this with lme? Thank you in advance for any help. Doug Bourne [[alternative HTML version deleted]] __

[R] aov - subjects nested within groups & crossed with questions

2010-06-22 Thread Doug Adams
wledging? Does my aov syntax seem appropriate in the first place? Thanks everyone very much for any help you can give, Doug Adams question 1 question 2 question 3 question 4 group 1 subject 1 # # #

Re: [R] Failed install of package xlsReadWrite

2010-02-23 Thread Doug Hill
Sorry, forgot to mention I'm running R 2.10 on Windows 7, and I ran the command window as Administrator. Thanks, Doug -- View this message in context: http://n4.nabble.com/Failed-install-of-package-xlsReadWrite-tp1476880p1566479.html Sent from the R help mailing list archive at Nabbl

Re: [R] Failed install of package xlsReadWrite

2010-02-23 Thread Doug Hill
r32 xlsReadWrite.dll The error dialog returned is attached. Any idea what I'm doing wrong? Thanks, Doug http://n4.nabble.com/file/n1566476/R_DLL_ERR.jpg -- View this message in context: http://n4.nabble.com/Failed-install-of-package-xlsReadWrite-tp1476880p1566476.html Sent from the R help

Re: [R] lmer, mcmcsamp, coda, HPDinterval

2010-02-01 Thread Doug Adams
Ah, that did it. Thank you! - Doug Adams MStat Student University of Utah -- View this message in context: http://n4.nabble.com/lmer-mcmcsamp-coda-HPDinterval-tp1457803p1459380.html Sent from the R help mailing list archive at Nabble.com. __ R

[R] lmer, mcmcsamp, coda, HPDinterval

2010-01-30 Thread Doug Adams
of my fixed effects: A6post <- mcmcsamp(A6mlm, 5) library(coda) HPDinterval(A6post) ..but I got this message: "no applicable method for 'HPDinterval' applied to an object of class "merMCMC"" Should I be coercing A6post to another type, or am I missing other steps al

Re: [R] Hierarchical Linear Model using lme4's lmer

2010-01-16 Thread Doug Adams
Hehe (about the kitchen sink) Thanks very much to all three of you. Douglas Bates-2 wrote: > > On Sat, Jan 16, 2010 at 8:20 AM, Walmes Zeviani > wrote: >> >> Doug, >> >> It appears you are mixing nlme and lme4 formulation type. >> On nlme library yo

[R] Hierarchical Linear Model using lme4's lmer

2010-01-15 Thread Doug Adams
some students are registered as juniors & others as seniors within the same school.) So schools are random, division is fixed, and the student Score is the outcome variable. This is what I've tried: lmer(data=Age6m, Score ~ division + (1|school), random=~1 | school) Am I on the right track?

Re: [R] Which hist cell each value falls in?

2009-12-18 Thread Doug Hill
Thanks, guys! Doug David Winsemius wrote: > > > On Dec 18, 2009, at 2:57 AM, Jim Lemon wrote: > >> On 12/18/2009 06:35 AM, Doug Hill wrote: >>> Hi, all. I'm using hist() to obtain a vector of break values in an >>> interval. >>> I then wan

[R] Which hist cell each value falls in?

2009-12-17 Thread Doug Hill
x <= breaks[2] -> cell 2 breaks[2] < x <= breaks[3] -> cell 3, etc. I'm sure there's either a built-in function or a concise way to do this, but I've not figured it out. Thanks, Doug -- View this message in context: http://n4.nabble.com/Which-hist-cell-each-val

Re: [R] Labeling plot points

2009-12-11 Thread Doug Hill
") Loading Tcl/Tk interface ... done > lattice.demo(x,y,z) Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] floating point value is Not a Number. So it got further but still not there. Any ideas? BTW, I'm using R 2.1

Re: [R] Labeling plot points

2009-12-11 Thread Doug Hill
Hi, again. False alarm, I thought I'd call lattice.demo() as a quick check of my install, but that was a bad idea and the errors were a red herring. Looked at you HWidentify() directly and now I get it - thanks! Doug Greg Snow-2 wrote: > > There are 2 functions in the development

Re: [R] Labeling plot points

2009-12-10 Thread Doug Hill
Thanks, Greg, downloading now! Doug Greg Snow-2 wrote: > > There are 2 functions in the development version of the TeachingDemos > package (the version on R-forge, not CRAN yet) that do just what you > describe. The functions are HWidentify which only works on windows &g

[R] Labeling plot points

2009-12-10 Thread Doug
ked again? Are there other R graphic libraries I should use for this kind of feature? Any pointers or sample code would be appreciated. Thanks, Doug http://n4.nabble.com/file/n960517/Untitled.bmp -- View this message in context: http://n4.nabble.com/Labeling-plot-points-tp960517p960517.html

Re: [R] error using R Commander for text file import

2009-03-06 Thread Doug Schwalm
I'd like to report another instance...one of my students has had the exact same error. I've checked the data, at it is a clean .csv file, with no quotation marks at all. I am currently at a loss at how to figure out what might be going wrong. -- View this message in context: http://www.nabble

[R] recommended package/docs for analyzing multiple choice tests

2007-09-18 Thread Doug Holton
ing R for test analysis. Thank you, it's been great learning R, -Doug __ 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.