[R] [R-pkgs] New package: nipals

2017-12-22 Thread Kevin Wright
s://cran.r-project.org/web/packages/nipals/vignettes/nipals_optimization.html Please report any issues through the Github page: https://github.com/kwstat/nipals Kevin Wright -- Kevin Wright [[alternative HTML version deleted]] ___ R-packages mail

[R] rgl crash on windows 7

2017-09-28 Thread Kevin Wright
rary/3.4/httpuv/libs/x64/httpuv.dll TRUE mime c:/kw/R/win-library/3.4/mime/libs/x64/mime.dll TRUE rgl c:/kw/R/win-library/3.4/rgl/libs/x64/rgl.dll FALSE Can I manually load the DLLs and then load rgl? Any tips on how to proceed would be appreciated. -- Kevi

Re: [R] Add annotation text outside of an xyplot (lattice package)

2016-09-28 Thread Kevin Wright
. The R code showing how this works is here: https://github.com/kwstat/pagenum/blob/master/R/pagenum.r Kevin Wright On Thu, Sep 22, 2016 at 9:04 AM, Jun Shen wrote: > Dear list, > > Just wonder if there is a way to add annotation text outside an xyplot, > (e.g. the bottom of th

Re: [R] Lattice: raw data and prediction of a non linear fitted function

2015-08-06 Thread Kevin Wright
to add a groups argument to a layer and then use latticeExtra to combine layers. Kevin Wright On Wed, Aug 5, 2015 at 7:24 AM, François Collin wrote: > Dear all, > > I have a question about lattice use. I would like to use it to represent: > - my raw data as points, > - and the r

Re: [R] How to add error bars to a line xyplot (lattice package)

2015-01-27 Thread Kevin Wright
__ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. -- Kevin Wright ___

Re: [R] How to add error bars to a line xyplot (lattice package)

2015-01-28 Thread Kevin Wright
> > Bert Gunter > Genentech Nonclinical Biostatistics > (650) 467-7374 > > "Data is not information. Information is not knowledge. And knowledge > is certainly not wisdom." > Clifford Stoll > > > > > On Tue, Jan 27, 2015 at 2:56 PM, Kevin Wrigh

Re: [R] Stratifying data with xyplot

2019-03-11 Thread Kevin Wright
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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, reproducibl

Re: [R] Import data from Excel to R

2014-09-10 Thread Kevin Wright
was to use the XLConnect package and read the xlsx file directly. Kevin Wright On Wed, Sep 10, 2014 at 3:51 AM, Omar André Gonzáles Díaz < oma.gonza...@gmail.com> wrote: > The best way is to save the file as CSV... after you can simply import it > with this comand in R: > > re

[R] How to test for open pdf file on Windows before calling cairo_pdf ?

2014-09-11 Thread Kevin Wright
g command is called that an error is generated. Is there a way to test if a pdf file can be written to by cairo_pdf ? I'd rather not wrap all plotting commands with try()I have many such commands in my script and the choice of which one is f

Re: [R] How to test for open pdf file on Windows before calling cairo_pdf ?

2014-09-12 Thread Kevin Wright
ke sure to > close any opened graphics devices, not to leave incomplete image files > behind if there is an errors and so on. There are plenty of option > for it, e.g. the default output directory is "./figures/", which can > be changed. (The need for argument ext="pdf&

[R] cairo_pdf crashing R on Windows

2014-09-12 Thread Kevin Wright
I'm having trouble with cairo_pdf crashing R on Windows. How can I debug this? This is a "exited abnormally" type crash, so I can't drop into the browser and look at the call stack. Kevin -- Kevin Wright [[alternative

[R] How do I really, I mean really, unload a package?

2014-09-24 Thread Kevin Wright
Sorry if this is well-known, but I can't find an answer or maybe just don't know how to ask Google the right question. If I run the following code in R (3.1.1), I find that lattice:::xyplot.formula is still available (or maybe just a promise to it ... ???) even though I've used detach and unloadNa

Re: [R] How do I really, I mean really, unload a package?

2014-09-24 Thread Kevin Wright
Ah, here is the answer from the man page for ::: "...pkg:::name returns the value of the internal variable name. The namespace will be loaded if it was not loaded before the call, but the package will not be attached to the search path." Kevin On Wed, Sep 24, 2014 at 1:56 PM, Ke

Re: [R] How do I really, I mean really, unload a package?

2014-09-24 Thread Kevin Wright
/30791.html In that sense, it appears that it is not possible to completely undo the loading of a package. Thanks to Bill Dunlap and Professor Ripley. Kevin Wright On Wed, Sep 24, 2014 at 2:16 PM, William Dunlap wrote: > Running pkg::func or pkg:::func has the side effect of loading pk

Re: [R] (no subject)

2015-10-30 Thread Kevin Wright
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. > -- Kevin Wright [[alternative HTML version deleted]]

[R] Problems trying to generate a prime factor vector

2015-12-03 Thread Kevin Wright
Hi, I am very new to 'R' and am trying to write an R function which returns the prime factors of a given number(n) Unfortunately, the function only works for very small numbers, if for example I pass 18 to the function a mysteriously long vector is returned. I have not been able to find where or

Re: [R] ASReml-R lack of documentation

2017-03-03 Thread Kevin Wright
Patrick, The asreml (VSNi) forum seems to still be working with a few posts every month: https://www.vsni.co.uk/forum/viewforum.php?f=7 Kevin Wright On Mon, Feb 27, 2017 at 2:29 AM, Patrick Connolly < p_conno...@slingshot.co.nz> wrote: > Has anyone had any success contac

Re: [R] About MC simulation of AR1 model in R

2017-03-03 Thread Kevin Wright
Try this example to simulate AR1xAR1 variance structure. Kevin Wright library(mvtnorm) library(asreml) set.seed(300) nr <- 10; nc <- 8 # number of rows and columns colcor <- .9 # correlation for columns, rows rowcor <- .1 sigAR <- diag(nr) sigAR <- rowcor^ abs(row(sigAR) -

Re: [R] how to export ".xls" file with colorful cells?

2008-07-28 Thread Kevin Wright
Xin Meng, Ignore all the "you didn't tell us your operating system" comments--I will show you a simple, although very tedious way to do what you want that is totally free of any operating system limitations. Began by formatting a very simple Excel file with colored cells, then save the file as a

Re: [R] R code to reproduce (while studying) Bates & Watts 1988

2009-08-13 Thread Kevin Wright
library(nlme) m2 <- gnls(conc ~ t1*(1-t2*exp(-k*time)), data = df.Chloride, start = list( t1 = 35, t2 = 0.91, k = 0.22)) summary(m2) plot(m2) lag.plot(resid(m2), do.lines=FALSE) acf(resid(m2)) m3 <- update(m2, corr=corAR1(.67)) summar

Re: [R] scale or not to scale that is the question - prcomp

2009-08-19 Thread Kevin Wright
If you mentally rotate the second biplot by 90 degrees, the plots are not so different. This just indicates that the 2nd and 3rd principal components have switched roles. Kevin Wright On Wed, Aug 19, 2009 at 10:09 AM, Petr PIKAL wrote: > Ok > > Thank you for your time. > &g

Re: [R] Google's R Style Guide

2009-08-28 Thread Kevin Wright
On Fri, Aug 28, 2009 at 8:22 AM, Ted Harding wrote: > On 28-Aug-09 12:59:24, Esmail wrote: > > Perhaps most of you have already seen this? > > > > http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html > > > > Comments/Critiques? > > > > Thanks, > > Esmail > > > > ps: Reminds me of

Re: [R] Google's R Style Guide

2009-08-28 Thread Kevin Wright
On Fri, Aug 28, 2009 at 9:41 AM, hadley wickham wrote: > > Perhaps most of you have already seen this? > > > > http://google-styleguide.googlecode.com/svn/trunk/google-r-style.html > > > > Comments/Critiques? > > I made my own version that reflects my personal biases: > http://had.co.nz/stat405/

Re: [R] Google's R Style Guide

2009-08-28 Thread Kevin Wright
ething else that kicks you out of the browser and forces you to start all over again. Forbidding the use of "else" without a leading curly bracket would have saved me MUCH time over the years... (Sorry Deepayan. I love lattice. Please forgive me.) Kevin Wright > On Fri, Aug 28, 2009

Re: [R] Google's R Style Guide

2009-08-28 Thread Kevin Wright
On Fri, Aug 28, 2009 at 11:49 AM, Duncan Murdoch wrote: > On 8/28/2009 12:33 PM, Kevin Wright wrote: > >> On Fri, Aug 28, 2009 at 11:10 AM, Henrik Bengtsson > >wrote: >> >> Quite a while ago I put up "R Coding Conventions (RCC) - a draft", now >>

Re: [R] problems with reshape

2009-09-14 Thread Kevin Wright
You might have a look at the reshape __package__, which I generally find easier to use than the reshape function. Kevin Wright On Mon, Sep 14, 2009 at 9:41 AM, Luca Braglia wrote: > Hello * > > I would like to reshape wide the following dataset: > > > > rl &

Re: [R] two questions for R beginners

2010-03-04 Thread Kevin Wright
; > __ > 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. &

Re: [R] no predict function in lme4 ?

2010-03-24 Thread Kevin Wright
welham2004prediction, title={{Prediction in linear mixed models}}, author={Welham, S. and Cullis, B. and Gogel, B. and Gilmour, A. and Thompson, R.}, journal={Australian \& New Zealand Journal of Statistics}, volume={46}, number={3}, pages={325--347}, year={2004}, publisher={John

Re: [R] R, S, S-Plus, whence comes thy name?

2010-03-26 Thread Kevin Wright
an ‘S’ and, with the C programming language as a precedent, decided to name the system ‘S’. (We dropped the quotes by 1979). Kevin Wright On Fri, Mar 26, 2010 at 7:30 AM, John Sorkin wrote: > I appeal to those entrusted with the keeping of the R flame, the S flame, > and the S-Plus flame to r

Re: [R] How to stamp my graphs with date and time

2010-04-22 Thread Kevin Wright
the location you want.) > > > > Duncan Murdoch > > > > [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the

Re: [R] overlaying a levelplot on a map plot

2010-04-22 Thread Kevin Wright
.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > David Winsemius, MD > West Hartford, CT > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/

Re: [R] Multicolor main title in a plot or mtext

2010-04-22 Thread Kevin Wright
ges of the R manual should I have to read to solve my problem ? > > Thanks in advance > -- > Ottorino-Luca Pantani, Università di Firenze > Dip.to di Scienze delle Produzioni Vegetali, > del Suolo e dell'Ambiente Forestale (DiPSA) > > ___

Re: [R] any feedback on XL Solutions Courses for R?

2010-04-30 Thread Kevin Wright
o/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Kevin Wright [[alternative HTML version deleted]] __ R-help@r-pr

Re: [R] Maintaining sort order when transpose

2009-10-01 Thread Kevin Wright
An example would be helpful, but if I understand correctly, can't you do something like TDF=t(DF) TDF=TDF[,rownames(DF)] Kevin Wright On Thu, Oct 1, 2009 at 9:04 AM, Dry, Jonathan R < jonathan@astrazeneca.com> wrote: > Hi all - I have a data frame and have sorted it by a par

[R] Which JAGS interface to use?

2009-10-07 Thread Kevin Wright
Frank (or anyone else), can you offer any comments comparing runjags, R2jags, rjags ? I couldn't find any vignettes, nothing except a brief mention on Task Views. Kevin On Wed, Oct 7, 2009 at 7:48 AM, Frank E Harrell Jr wrote: > Have you tried the rjags package which uses the jags system? It

[R] Severe growing pains with new help system

2009-10-26 Thread Kevin Wright
ries? Same with packages? (Sorry if this is obvious, I've never needed to do this before.) Looking for a new workflow and remembering why I don't like to use ".0" releases... Kevin Wright [[alternative HTML version deleted]]

[R] What should my.data.frame[c(3, 1)] <- list(NULL, NULL) evaluate to?

2009-10-30 Thread Kevin Wright
appears that the above assignment deletes column 1 from the data frame, then sequentially deletes column 3 (Mst, which was originally column 4 before column 1 was deleted). Compare this to d1 <- d0 d1[c(1,3)] <- list(NULL, NULL) print(d1) Season Mst Yield 1 1 2 1 3 1 Kev

Re: [R] PCA with tow response variables

2009-11-04 Thread Kevin Wright
After an off-list email exchange, it sounds like the pls package and Partial Least Squares are appropriate for this analysis. Kevin Wright 2009/11/4 Joel Fürstenberg-Hägg > > Hi all, > > > > I'm new to PCA in R, so this might be a basical thing, but I cannot find >

Re: [R] Help with unstack() function

2009-11-17 Thread Kevin Wright
) recast(Rabbit, Treatment + Dose ~ Animal, measure.var="BPchange") Kevin Wright On Sun, Nov 15, 2009 at 1:34 PM, Tariq Perwez wrote: > Hi Everyone, > > I am trying to understand the unstack() function but after struggling for > two days, I have given up. More specifi

Re: [R] Excel-Export

2009-11-24 Thread Kevin Wright
If had done a little searching before posting, you surely would have found this link https://stat.ethz.ch/pipermail/r-help/2008-July/169149.html which describes how to create .xls files that are customized any way that you desire. Kevin Wright On Mon, Nov 23, 2009 at 7:02 AM, koj wrote

[R] Renaming columns of a data.frame

2009-12-04 Thread Kevin Wright
) ren(d0, yield='Yield', year='Year') ren(d0, yield='Yield', mst='Mst') ren(d0, yield='YIELD', mst='MST') # Error caught. # ren(d0, yield=Yield, year=Year) # Fails. Not caught. Might be nice to allow this syntax. -- Kevin Wright

Re: [R] Code flowchart generator for R ?

2010-01-06 Thread Kevin Wright
ternative HTML version 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 &g

Re: [R] Building static HTML help pages in R 2.10.x on Windows

2010-01-07 Thread Kevin Wright
install a new package that offers some others > after the static help >> has already been built. >> > > You just need to use some imagination. >> > > Duncan Murdoch >> >> > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listi

Re: [R] Building static HTML help pages in R 2.10.x on Windows

2010-01-07 Thread Kevin Wright
x27;s why we have computers.) - I have an R object "foo". I type ShowMeAllMethodsFor("foo", installed=TRUE, attached=TRUE) which checks all installed packages and attached packages for appropriate methods, then serves up a dynamic help pa

Re: [R] Identifying outliers in non-normally distributed data

2010-01-07 Thread Kevin Wright
n) # J. Amer. Statist. Assoc., 88, 782-801. x <- na.omit(x) lims <- median(x) + c(-1, 1) * 5.2 * mad(x, constant = 1) x < lims[1] | x > lims[2] } Maybe the function should be called "is.patentable". I definitely agree with Bert's comments. Kevin Wrigh

Re: [R] PCA: Showing file datalabels on biplot

2010-01-25 Thread Kevin Wright
TRUE)) > > -- > View this message in context: > http://n4.nabble.com/PCA-Showing-file-datalabels-on-biplot-tp1289524p1289524.html > Sent from the R help mailing list archive at Nabble.com. > > ______ > R-help@r-p

Re: [R] biplot from stats: 0.8 ?

2010-01-27 Thread Kevin Wright
and provide commented, minimal, self-contained, reproducible code. > -- Kevin Wright [[alternative HTML version 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] ggplot2 theme for custom point colors?

2010-01-27 Thread Kevin Wright
to: my.lattice.colors = function () { ...etc.} options(lattice.theme=".mw.lattice.colors") -- Kevin Wright [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEAS

Re: [R] number of Excel worksheets

2010-02-05 Thread Kevin Wright
I have a function to read xls files that tells me the name of the available sheets. See below. Kevin Wright read.xls = function (file, sheet, condition) { if (missing(file)) stop("No file specified.") if (!file.exists(file)) stop("File ", file,

Re: [R] number of Excel worksheets

2010-02-05 Thread Kevin Wright
2010 at 9:27 AM, Gabor Grothendieck wrote: > Yes. Get it from here: > http://www.activestate.com/activeperl/ > > On Fri, Feb 5, 2010 at 10:10 AM, Gábor Pozsgai wrote: > > Thank you both. > > Gabor, do I need perl to be installed onj my computer to use those > functions? &

Re: [R] Interpretation of high order interaction terms.

2010-02-09 Thread Kevin Wright
strip.custom(strip.names=c(TRUE,TRUE))) > > ______ > 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 commente

Re: [R] I'd like to request that my R CRAN package is not tested on Solaris OS

2021-10-29 Thread Kevin Wright
Lampros, You can use Rhub for testing packages on various platforms. I had a similar issue to you...I had a tiny bug that was only failing on M1mac. I was able to resolve it by repeatedly testing my package on Rhub. Here's how I did that: https://github.com/kwstat/nipals/issues/5 Kevin W

Re: [R] diallel analysis

2013-07-15 Thread Kevin Wright
TML version 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-cont

Re: [R] question for diallel analysis

2013-08-12 Thread Kevin Wright
ng 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. > -- Kevin Wright [[alternative HTML version deleted]] ___

Re: [R] Lattice: bwplot - changing box colors in legend and plot when using panel.groups = function... and panel = panel.superpose

2013-08-13 Thread Kevin Wright
par.ylab.text = font.settings, axis.text = font.settings, #strip.shingle=list(col=c("red","blue")), superpose.symbol=list(fill=c("red","blue")), # boxplots #superpose.fill=list(col=c("red","blue")), superpose.polygon=list(col=c("red&q

Re: [R] Fwd: about plantbreeding library

2013-08-17 Thread Kevin Wright
ject.org/posting-guide.html> > > Give a reproducible example to show what you try to do and why it does > not > > work. > > Sincerely > > > > Marc Girondot > > > > -- > > __** > > Marc

Re: [R] corrgram (package corrgram): how to plot multiple correlograms in the same page?

2013-08-22 Thread Kevin Wright
_ > 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. > -- Kevin Wright [[alternative HTML

Re: [R] RSM

2013-08-23 Thread Kevin Wright
n 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, reproducib

[R] Should I wrap more package examples in \dontrun{} ?

2013-09-03 Thread Kevin Wright
ta" packages. In roughly that order. In the interest of long-term package stability I'm thinking about wrapping more of the examples in my package in \dontrun{}. Especially the parts that depend on other packages. I'm interested to know how other package developers approach this

Re: [R] Daily average temperature from monthly average temperature

2013-09-10 Thread Kevin Wright
thly-average-temperature-tp4675752.html > Sent from the R help mailing list archive 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://ww

Re: [R] Colour branches/labels of dendrogram according to a grouping variable

2013-03-07 Thread Kevin Wright
al, mesodermal). > > /johannes > > __ > 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.

Re: [R] the joy of spreadsheets (off-topic)

2013-04-17 Thread Kevin Wright
.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. > -- Kevin Wright [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PL

Re: [R] Why can't R understand if(num!=NA)?

2013-05-03 Thread Kevin Wright
oject.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. > -- Kevin Wright [[alternative HTML version d

Re: [R] negative correlation with corSymm in nlme or another way?

2013-05-06 Thread Kevin Wright
1 autocorrelation is negative--evidence of competition plot(ACF(m1), alpha=.05, grid=TRUE) Kevin Wright On Sun, May 5, 2013 at 1:12 PM, Seth wrote: > Hi, > > I have a nonlinear model with residuals that are negatively autocorrelated > at short distances. > > I can find no spatial

Re: [R] measuring distances between colours?

2013-05-31 Thread Kevin Wright
#x27;group' colors in lattice. Kevin Wright rgb2col <- function(cols.hex, near=.25){ # Given a vector of hex colors, find the nearest 'named' R colors # If no color closer than 'near' is found, return the hex color # Authors: John Fox, Martin Maechler, Kevin Wri

Re: [R] measuring distances between colours?

2013-06-02 Thread Kevin Wright
> > + rbind(all.names[which.min(sq.dist)], min(sq.dist)) > > > + } > > > + function(cols.hex, near=.25){ > > > + cols.hsv <- rgb2hsv(col2rgb(cols.hex)) > > > + cols.near <- apply(cols.hsv, 2, find.near) > > > +

Re: [R] Strange behaviour of R graphics copied to PowerPoint

2013-06-03 Thread Kevin Wright
on 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, r

[R] CairoWin on Windows 7 doesn't refresh

2012-09-11 Thread Kevin Wright
f the graphics window. Anybody else experience this? -- Kevin Wright __ 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, mi

Re: [R] Plotting US States: Issue with filled colors cycling

2012-09-12 Thread Kevin Wright
uot;West Virginia","Wisconsin","Wyoming") > > dState = data.frame( col=rbinom(51,size=2,prob=.6)+1, state=state ) > > for( i in 1:51 ){ > dTemp = dState[1:i,] > map("state", regions = dTemp$state, > # boundary = TRUE, > # lty =

Re: [R] corrgram

2012-09-25 Thread Kevin Wright
> 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. -- Kevin Wri

Re: [R] corrgram

2012-09-25 Thread Kevin Wright
Um, Bert, did you try my example? It uses grid graphics to annotate a base-graphics plot. Kevin On Tue, Sep 25, 2012 at 10:50 AM, Bert Gunter wrote: > Inline: > > On Tue, Sep 25, 2012 at 8:42 AM, Kevin Wright wrote: >> Claudia, When you are asking a question about a parti

Re: [R] Correlelogram with partial correlation coefficients

2014-05-14 Thread Kevin Wright
t; # option 2: bolding: > #text(0.5, 0.5, r, cex = cex.cor, font=fonts) > } > corrgram(climvar4, type="data", order=F, lower.panel=panel.shadeNtextP, > upper.panel=NULL, cex=1.3) > > Thanks so much in advance! > > Bill > > _

Re: [R] Skipping .Rd files and using Org-mode instead?

2014-06-02 Thread Kevin Wright
anks for > the answer anyway. > > -- > cheers, > Thorsten > > __________ > 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.h

[R] New details about Cochran and Cox's chocolate cake data

2014-07-14 Thread Kevin Wright
.html In that posting, Bill mentioned that the experiment details were not quite clear on a detail, so I went to the source document and transcribed a few of the details. (See below). I'm posting them here for posterity and the curiosity of anyone interested. Kevin Wright Source: Frances E

Re: [R] Cannot rescale a constant/zero column error.

2012-10-31 Thread Kevin Wright
Sounds like one of your data columns is constant. The variance of a constant is 0, and scaling would then divide by 0, which is impossible. Kevin Wright On Wed, Oct 31, 2012 at 7:47 AM, fillay89 wrote: > I am trying to run the R Script below, I have actually simplified it to > just

Re: [R] Shapiro-Wilk normality test

2012-11-02 Thread Kevin Wright
> 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. > -- Kevin W

Re: [R] Exporting R graphics into Word without losing graph quality

2013-12-18 Thread Kevin Wright
Another nice thing about your solution is that circles look like circles, and not like diamonds (when viewed on screen). Thanks. Kevin Wright On Mon, Dec 16, 2013 at 8:02 PM, Steve Taylor wrote: > Unfortunately the win.metafile() device does not support semi-transparent > colours, w

[R] The difference between SAS and R

2013-12-20 Thread Kevin Wright
SAS uses words. R uses symbols. See this: http://xkcd.com/1306/ (Yes, I know IML uses plenty of symbols. It's just supposed to be funny. And somewhat true.) -- Kevin Wright [[alternative HTML version deleted]] __ R-help@r-projec

Re: [R] Multiple corrgrams or joining jpg/png

2014-01-22 Thread Kevin Wright
__ > 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. > -- Kevin Wright [[alternati

Re: [R] Urgent Inquiry

2014-02-12 Thread Kevin Wright
; > > > > > ______ > 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, re

Re: [R] lattice change font of one specific axis label in each panel

2014-03-27 Thread Kevin Wright
the R help mailing list archive 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.

Re: [R] package:nlme unexpected varIdent behaviour

2013-10-02 Thread Kevin Wright
gt; > > --- > Sonya Odsen > M.Sc. Candidate > University of Alberta > Dept. of Renewable Resources > od...@ualberta.ca > > [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mailing list >

Re: [R] plot correlation matrix

2013-10-21 Thread Kevin Wright
gt; 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. > > -- Kevin Wright [[alternative HTML version deleted]] __

Re: [R] Data Security when using R

2013-11-11 Thread Kevin Wright
SE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Kevin Wright [[alternative HTML version deleted]] __ R-help@r-project.org mailin

[R] What graphics device settings are used by Rcmd check ?

2013-11-12 Thread Kevin Wright
rit and am trying to find the settings used by Rcmd check. Where do I look for these? -- Kevin Wright [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the pos

Re: [R] (no subject)

2013-12-09 Thread Kevin Wright
___ > 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. > -- Kevin Wright [[alt

Re: [R] data distribution for lme

2013-12-11 Thread Kevin Wright
On Tue, Dec 10, 2013 at 7:33 PM, Rolf Turner wrote: > > See inline below. > > > On 12/11/13 11:28, Bert Gunter wrote: > >> This is not really an R question -- it is statistics. >> In any case, you should do better posting this on the >> R-Sig-Mixed-Models list, which concerns itself with matters l

Re: [R] Heatmap, and heatmap.2 gave different figures for the same dataset

2013-12-12 Thread Kevin Wright
Read the help page for both and pay particular attention to the "scale" argument. Kevin Wright On Thu, Dec 12, 2013 at 9:45 AM, capricy gao wrote: > I have a huge dataset(15k X 18) and tried to use the heatmap in R to > examine the patterns. However, I found that heatmap an

Re: [R] R Founding

2010-09-16 Thread Kevin Wright
information, and helping R gain some needed credibility in the media and business worlds. Not to mention the stainless steel water bottle they handed out at useR. :-) All of these cost money and benefit R, even if the dollars themselves don't flow to the R foundation. Kevin Wright

Re: [R] lmer() vs. lme() gave different variance component estimates

2010-09-17 Thread Kevin Wright
ess this might be due to lmer() didn't converge very well, is there > anyway > > > to adjust to make lmer() converge better to get similar results as lme()? > > That's your guess... I'd be more careful about jumping to conclusions. > If this is a balanced

Re: [R] Crossed random effects in lme

2010-10-18 Thread Kevin Wright
t 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, repr

[R] Hooks into dynamic help system?

2010-11-02 Thread Kevin Wright
o I re-write Rd2HTML and put it higher in the search path? Are there hook-like functions that I can use to post-process the html code? Are there parameters for template-type text strings that can be inserted into the header or footer of the html page? Any pointers would be appreciated. -- Kevin

[R] Where is a package NEWS.Rd located?

2011-01-06 Thread Kevin Wright
ot;news" function is searching for "mypackage/inst/NEWS.Rd". However, "Writing R extensions" says "The contents of the inst subdirectory will be copied recursively to the installation directory" During the installation, mypackage/inst/NEWS.Rd is copied into the "m

Re: [R] Where is a package NEWS.Rd located?

2011-01-06 Thread Kevin Wright
If you look at tools:::.build_news_db, the plain text NEWS file is searched for in pkg/NEWS and pkg/inst/NEWS, but NEWS.Rd in only searched for in pkg/inst/NEWS.Rd. Looks like a bug to me. I *think*. Thanks, Kevin On Thu, Jan 6, 2011 at 7:09 AM, Kevin Wright wrote: > Hopefully a qu

Re: [R] Where is a package NEWS.Rd located?

2011-01-06 Thread Kevin Wright
Yes, exactly. But the problem is with NEWS.Rd, not NEWS. pkg/inst/NEWS.Rd is moved to pkg/NEWS.Rd at build time, but for installed packages, "news" tried to load "pkg/inst/NEWS.Rd". I'm going to file a bug report. Kevin On Thu, Jan 6, 2011 at 7:29 AM, Kevin Wright

Re: [R] Where is a package NEWS.Rd located?

2011-01-06 Thread Kevin Wright
t;NEWS.Rd") > > and that's the problem:  an installed package shouldn't have an inst/ > subdirectory, right? > > Andy > > >> -Original Message- >> From: r-help-boun...@r-project.org >> [mailto:r-help-boun...@r-project.org] On Behalf Of Duncan M

[R] Setting bioconductor repository in .Rprofile. Is there a permanent way?

2011-01-24 Thread Kevin Wright
conductor mirror can be selected by setting options("BioC_mirror"): the default value is "http://www.bioconductor.org";. The word "default" is a bit confusing here, because when I start R, I see: R> options()$BioC_mirror NULL -- Kevin Wright ___

Re: [R] Setting bioconductor repository in .Rprofile. Is there a permanent way?

2011-01-24 Thread Kevin Wright
";, CRANextra="http://www.stats.ox.ac.uk/pub/RWin";, BioCsoft=rr["BioCsoft","URL"], Rforge="http://r-forge.r-project.org";)) options(repos=repos) rm(pp, rr, repos) Martin, I appreciated your clever tr

Re: [R] Setting bioconductor repository in .Rprofile. Is there a permanent way?

2011-01-24 Thread Kevin Wright
Now that is _simple_. Thanks. Kevin On Mon, Jan 24, 2011 at 1:49 PM, Kevin Wright wrote: > Of course, before posting my question, I did RTFM and RTFcode and > RTFmailinglists.  The key word in my question was "simpler".  I > rejected copying a modified version of the "

Re: [R] Manual two-stage least squares in R

2011-01-25 Thread Kevin Wright
0-day free trial). Not sure if this would help you at all. Good luck, Kevin Wright On Tue, Jan 25, 2011 at 2:47 PM, Katharina Ley wrote: > Hi, > > I am trying to manipulate a gls regression model output to adjust for use of > two-stage least squares. Basically, I want to estimate a m

  1   2   >