Re: [R] Order of boxplots

2015-09-15 Thread peter dalgaard
_ >>> 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-co

Re: [R] Multiple if function

2015-09-15 Thread Peter Alspach
Tena koe Maria It seems you need to multiply Flow by 0.05+ASBClass/20 (i.e., no if calls are necessary) HTH Peter Alspach -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Maria Lathouri Sent: Tuesday, 15 September 2015 10:57 p.m. To: r-help@r

Re: [R] Beta distribution approximate to Normal distribution

2015-09-15 Thread peter dalgaard
__ > 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, rep

Re: [R] hist() bar width definition

2015-09-11 Thread peter dalgaard
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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads

Re: [R] maximum-likelihood-estimation with mle()

2015-09-11 Thread peter dalgaard
CRIBE 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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Bu

Re: [R] Generate a vector of values, given a vector of keys and a table?

2015-09-11 Thread peter dalgaard
: >> >> Browse[2]> dput(y) >> c("1", "1", "1", "1", "15000", "15000", "2", >> "2", "2", "2") >> Browse[2]> y >> [1] &

Re: [R] Pb with date time sequence with period<1sec

2015-09-10 Thread peter dalgaard
__ > 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. -- P

Re: [R] Help

2015-09-08 Thread peter dalgaard
-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. -- Peter Dalgaard, Profe

Re: [R] Urgent query

2015-09-04 Thread peter dalgaard
urve(dweibull(x,shape=0.8,scale=1),mgp=c(2,0.3,0),cex.lab=1.2,xlab="t",ylab="f(t)") >> mtext(expression(italic(paste(alpha==1,","," >> ",0<phantom(),beta<1))),side=1,line=4,cex=1) > I think I prefer: mtext(expression({alpha==1}*",

Re: [R] Fisher's Test 5x4 table

2015-08-31 Thread peter dalgaard
e observed. Hence, the p-value is 1/10 000 001 = ca. 1e-7, counting in the observed table. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] Rcpp, function signature

2015-08-28 Thread peter dalgaard
: A NumericVector is a pointer, right? -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __ R

Re: [R] nls model parameter compare?

2015-08-26 Thread peter dalgaard
, then reduce the model by letting one or more of the parameter sets being a single parameter. 2) The []-notation for group-dependent parameters in nls() is useful and rather easily overlooked. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000

Re: [R] Compute RowMeans from mulple files

2015-08-23 Thread Peter Tuju
- prec_data[, 7:9] ond - prec_data[, 11:13] jf_means - apply(jf, 1, mean) mam_means - apply(mam, 1, mean) jja_means - apply(jja, 1, mean) ond_means -apply(ond, 1, mean) yr_mean - apply(all_yr, 1, mean)  _ Peter  E. Tuju Dar es Salaam T A N Z A N I A --YearJan

Re: [R] Newbie question: error message with install.packages

2015-08-21 Thread Peter Wicher
Peter, Thank you. I tried a different mirror (in TX) and install.packages(“RWeka”) worked. I really appreciate your help. Best, Peter On Aug 20, 2015, at 3:06 PM, Peter Langfelder peter.langfel...@gmail.com wrote: From an older post by Uwe Ligges: Anyway: R tried to download

Re: [R] glm help

2015-08-21 Thread Peter Langfelder
Thanks for the correction, I learned something new. Peter On Fri, Aug 21, 2015 at 7:32 AM, Bert Gunter bgunter.4...@gmail.com wrote: Inline. -- Bert Bert Gunter Data is not information. Information is not knowledge. And knowledge is certainly not wisdom. -- Clifford Stoll On Thu

[R] Newbie question: error message with install.packages

2015-08-20 Thread Peter Wicher
: install.packages (RWeka) Error: Line starting '!DOCTYPE HTML PUBLI ...' is malformed! Any idea of what is wrong and how to solve it? Thanks! Peter Wicher pjwic...@gmail.com __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

Re: [R] glm help

2015-08-20 Thread Peter Langfelder
(cbind(a$a1, b = 11:20)) [1] numeric mode(cbind(a$a1, b = letters[11:20])) [1] character Peter __ 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

Re: [R] Newbie question: error message with install.packages

2015-08-20 Thread Peter Wicher
loaded R on my Windows machine and this error message doesn't happen, the packages load properly. Peter On Wed, Aug 19, 2015 at 11:17 PM, David Winsemius dwinsem...@comcast.net wrote: On Aug 19, 2015, at 9:13 PM, Peter Wicher pjwic...@gmail.com wrote: Hi, I’m starting to work my way

Re: [R] Newbie question: error message with install.packages

2015-08-20 Thread Peter Langfelder
, or perhaps try a different mirror. Peter On Thu, Aug 20, 2015 at 10:09 AM, Peter Wicher pjwic...@gmail.com wrote: Many thanks. Yes, I am using the R.app GUI: [R.app GUI 1.66 (6996) x86_64-apple-darwin13.4.0] At startup, getOption(repos) CRAN @CRAN@ Then when attempting again

Re: [R] Error - cannot open file 'specdata/001.csv': No such file or directory; Windows 8, R Version 3.2.1

2015-08-16 Thread Anthoni, Peter (IMK)
-specdata or change your read.csv to: df - read.csv(001.csv) cheers Peter On 15 Aug 2015, at 19:06, Nikita Dinger dingernik...@gmail.com wrote: I am having a problem in opening the excel files in specdata folder. I have completed coding the R program for the assignment but when I run

[R] R 3.2.2 is released

2015-08-14 Thread Peter Dalgaard
get the source code from http://cran.r-project.org/src/base/R-3/R-3.2.2.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the md5sums for the freshly created files, in case

Re: [R] Crosstabulation with a frequency variable

2015-08-13 Thread peter dalgaard
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501

Re: [R] Cant upgrade R in ubuntu 14.04

2015-08-08 Thread peter dalgaard
That is an Ubuntu issue, not an R one. - Peter D. On 08 Aug 2015, at 06:31 , boredstoog via R-help r-help@r-project.org wrote: I am trying to install R programming language and able to install rbase using this code without adding repository in *source.list* sudo apt-get install r-base

Re: [R] Potencial bug in R.adjust (holm method)

2015-08-07 Thread peter dalgaard
, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-help@r-project.org mailing list

Re: [R] Potencial bug in R.adjust (holm method)

2015-08-07 Thread peter dalgaard
On 07 Aug 2015, at 16:20 , Iker Vaquero Alba karrasp...@yahoo.es wrote: Hello, Peter, and thank you for your clarifying reply. Actually, that was another doubt I had. As I take my data from different files (every bunch of 5 values is taken from a different file), I assumed that, if I

Re: [R] Release schedule (was (no subject) )

2015-08-06 Thread peter dalgaard
On 05 Aug 2015, at 22:47 , Duncan Murdoch murdoch.dun...@gmail.com wrote: On 05/08/2015 4:36 PM, peter dalgaard wrote: On 05 Aug 2015, at 20:32 , Duncan Murdoch murdoch.dun...@gmail.com wrote: On 05/08/2015 2:15 PM, Jeff Newmiller wrote: So 3.1.3 to 3.2.0 was a major release? Yes

Re: [R] Release schedule (was (no subject) )

2015-08-06 Thread peter dalgaard
On 06 Aug 2015, at 18:08 , peter dalgaard pda...@gmail.com wrote: Except when it doesn't: It is intended to have a final patch release of the previous version shortly before the next major release. Argh. Needs fixing... :-p Done. (Of course, by the canonical definition of major

Re: [R] Release schedule (was (no subject) )

2015-08-05 Thread peter dalgaard
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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen

Re: [R] dplyr and function length()

2015-08-04 Thread peter dalgaard
__ 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. -- Peter

Re: [R] Help with Plot

2015-08-04 Thread Peter Langfelder
Try removing the line x - x[order(x[,1], decreasing=TRUE),] Peter On Tue, Aug 4, 2015 at 10:58 AM, April Smith aprilgracesm...@gmail.com wrote: Let me just preface that everything I know about writing code for R is self taught so this may be really basic but I can't figure it out! I am

Re: [R] R error

2015-08-03 Thread peter dalgaard
-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. -- Peter Dalgaard, Professor, Center

Re: [R] Splitting lines in R script

2015-08-02 Thread Peter Langfelder
of pbivnorm(aa,dd,tau) is added to the sum of the first two terms, because the two minuses give a plus: 1- -1 [1] 2 Peter On Sun, Aug 2, 2015 at 9:05 PM, Steven Yen sye...@gmail.com wrote: I have a line containing summation of four components. # This works OK: p-pbivnorm(bb,dd,tau)+pbivnorm(aa,cc

Re: [R] Need help

2015-07-30 Thread peter dalgaard
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd

Re: [R] Daily Category Revenue-Stacked Bar Chart in ggplot2

2015-07-30 Thread peter dalgaard
-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. -- Peter Dalgaard, Professor, Center for Statistics

Re: [R] Vignette using knitr, devtools, and R markdown

2015-07-30 Thread Peter Humburg
Hi Glenn, You should be able to add toc: true as an option to the yaml meta data block at the beginning of your vignette. If that isn't working for you you may have to give some more detail on what exactly you are doing and how it is failing. Peter On Thu, 30 Jul 2015 at 04:08 Glenn Schultz

Re: [R] Element-by-element division

2015-07-29 Thread peter dalgaard
for... -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-help@r-project.org mailing list -- To UNSUBSCRIBE

Re: [R] indices of mismatch element in two vector with missing values

2015-07-28 Thread Peter Alspach
One way seq(test1)[-which(test1==test2)] but I imagine there are better ones . Peter Alspach -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of baccts Sent: Wednesday, 29 July 2015 8:26 a.m. To: r-help@r-project.org Subject: [R] indices

Re: [R] Varying name of output tables from looped process of list of spdf objects

2015-07-27 Thread Anthoni, Peter (IMK)
)); #... } cheers Peter On 27 Jul 2015, at 12:50, Jim Lemon drjimle...@gmail.com wrote: Hi Cecilia, I _think_ that the error is occurring in the call to paste0. You may be able to get what you want like this: paste0(distances_,deparse(substitute(fnp)),.txt) Jim On Mon, Jul 27, 2015 at 5:06 AM

Re: [R] R package with Fortran module on Windows? undefined reference to `__stack_chk_fail'

2015-07-27 Thread peter dalgaard
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] Varying name of output tables from looped process of list of spdf objects

2015-07-27 Thread Anthoni, Peter (IMK)
. cheers Peter On 27 Jul 2015, at 18:33, SisoL cecilia.larros...@imperial.ac.uk wrote: Hi Peter, Thank you for your reply. The method for looping seems to work, but gDistance will not recognise the input. I am puzzled because when I print(fnp), and print (a_10) they look exactly

Re: [R] Judging if a matrix contains any NA

2015-07-27 Thread peter dalgaard
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] Eye Diagram from a Topic Model

2015-07-25 Thread Peter Maclean via R-help
Is it possible to reproduce the eye-diagram described here from the topic model/ https://github.com/ouzor/eyediagram/blob/master/example.R and shown here: https://github.com/ouzor/eyediagram/blob/master/example/ExampleEyeDiagram.pdf The code do not work in processing as suggested by the author

Re: [R] Opposite color in R

2015-07-25 Thread peter dalgaard
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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen

Re: [R] building a quicksort function in rcpp

2015-07-25 Thread peter dalgaard
)); } ' It looks wrong on two counts: qsort() calls itself with no conditioning, and even if that is intentional, the call doesn't match the definition. Shouldn't it just be return(xx); ? -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000

Re: [R] model non-integer count outcomes

2015-07-22 Thread peter dalgaard
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv

Re: [R] Difference between drop1() vs. anova() for Gaussian glm models

2015-07-20 Thread peter dalgaard
, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-help@r-project.org

[R] Release of R 3.2.2 scheduled for August 14

2015-07-17 Thread Peter Dalgaard
We intend to have a patch release on August 14, nickname will be Fire Safety. The detailed schedule will be made available via developer.r-project.org as usual. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone

Re: [R] matrix manipulation

2015-07-16 Thread Peter Langfelder
Hi Terry, maybe I'm missing something, but why not define a matrix BB = V'B; then t(B) %*% V = t(BB), then your problem reduces to finding A such that t(BB) %*% A = 0? Peter On Thu, Jul 16, 2015 at 10:28 AM, Therneau, Terry M., Ph.D. thern...@mayo.edu wrote: This is as much a mathematics

Re: [R] problem with wilcox.test()

2015-07-16 Thread peter dalgaard
, 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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3

Re: [R] data$variable=factor(....) NA NA NA

2015-07-11 Thread Peter Langfelder
) or table(data$gender, gender.fixed) Then you can convert the fixed gender back to a factor, but pay attention to the levels: data$gender = factor(gender.fixed, levels = c(F, M)) Hopefully this works, Peter On Sat, Jul 11, 2015 at 12:21 PM, Dagmar Juranková dagmar.jura...@gmail.com wrote

Re: [R] what constitutes a 'complete sentence'?

2015-07-08 Thread peter dalgaard
that the best we can do is along the lines of Malformed Description field: Missing end punctuation.. If more checks are devised, add more messages. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501

Re: [R] Sphericity for a repeated measure ANOVA with whithin and between subjects design, using R

2015-07-07 Thread peter dalgaard
Another method goes via anova.mlm(), which is pretty straight forward once you figure out how to set up the necessary within-subject projections (contrasts). See @Article{Rnews:Dalgaard:2007, author = {Peter Dalgaard}, title= {New Functions for Multivariate Analysis}, journal

Re: [R] Implementation of contrasts

2015-07-07 Thread peter dalgaard
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda

Re: [R] Invalid URL for R documentation

2015-07-07 Thread peter dalgaard
it should. Have patience and use the R-patched versions in the interim... - Peter On 06 Jul 2015, at 17:36 , ProfJCNash profjcn...@gmail.com wrote: I'm also getting a 404. Tried https just in case. But http://cran.utstat.utoronto.ca/manuals.html works and I can copy the link for R

Re: [R] what constitutes a 'complete sentence'?

2015-07-07 Thread peter dalgaard
- TRUE out Error: object 'out' not found I.e., the complaint should _not_ be triggered. I suppose that something like a non-breakable space at the end could confuse trimws(), but beyond that I'm out of ideas. On 07 Jul 2015, at 03:28 , John Fox j...@mcmaster.ca wrote: Dear Peter, I think

Re: [R] Invalid URL for R documentation

2015-07-07 Thread peter dalgaard
Wrong diagnosis. The actual issue is a version-compare blunder for texinfo in the configure script. This has been mended for r-patched, but r-release requires a workaround. -pd On 07 Jul 2015, at 10:33 , peter dalgaard pda...@gmail.com wrote: Some changes were made in connection

Re: [R] Rgui not working in Windows Version 8.1

2015-07-06 Thread peter dalgaard
Hm, could you perhaps see whether R or RGui is the culprit by trying to start R in a Terminal (DOS box). If such a thing still exists in Windows 8.1, that is (I don't _do_ windows...). -Peter On 06 Jul 2015, at 18:37 , Erin Hodgess erinm.hodg...@gmail.com wrote: I have tried that already

Re: [R] what constitutes a 'complete sentence'?

2015-07-06 Thread peter dalgaard
with This package would be rather useless. However, I'm at a loss as to how to describe what it is that we want, much less how to translate it to a dozen other languages. -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone

Re: [R] what constitutes a 'complete sentence'?

2015-07-05 Thread peter dalgaard
__ 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. -- Peter Dalgaard

Re: [R] Downloading xls with active batons

2015-07-04 Thread Peter Maclean
and a developed country. Peter Maclean Department of Economics University of Dar-es-Salaam, Tanzania. __ 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

Re: [R] Extracting data from a file containing data

2015-07-02 Thread Peter Tuju
Dear Jim,Thank you very much indeed. Its a great job you have done and I really appreciate.Thank you so much.  _ Peter  E. Tuju Dar es Salaam T A N Z A N I A -- From: jim holtman jholt...@gmail.com To: Peter Tuju petere...@ymail.com Cc: r-help@r-project.org

Re: [R] Double Roop

2015-06-30 Thread Peter Maclean via R-help
]  - strsplit(a[j],-)[[1]][1]   post[j] - strsplit(a[j],-)[[1]][2]     page[i] - paste0(pre[j], b[i],post[j])  }}Peter Maclean Department of Economics UDSM [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] Extracting data from a file containing data

2015-06-26 Thread Peter Tuju
. Hopefully you will help. _ Peter  E. Tuju Dar es Salaam T A N Z A N I A -- From: jim holtman jholt...@gmail.com To: Peter Tuju petere...@ymail.com Cc: r-help@r-project.org r-help@r-project.org Sent: Thursday, June 25, 2015 10:12 PM Subject: Re: [R

Re: [R] Extracting data from a file containing data

2015-06-25 Thread Peter Tuju
; For NINO1.2Years JF  MAMA JJA  OND 1982 1983    .    . .2012 Any guide please! _ Peter  E. Tuju Dar es Salaam T A N Z A N I A --YR MON NINO1+2 ANOM NINO3ANOM NINO4ANOM NINO3.4ANOM 1982 1 24.29 -0.17 25.870.24 28.30

Re: [R] Repeated Measures ANOVA and the Bonferroni post hoc test different results of significantly

2015-06-24 Thread peter dalgaard
into account. It might if you use paired=TRUE, *IF* your data layout allows it (so that when you split the data by times, observations in each subvector are from the same plots in the same order). -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3

Re: [R] Plotting legend outside of chart area

2015-06-24 Thread Peter Alspach
Tena koe Samantha You probably need to set some graphics parameters such as xpd and mar (see ?par), and then give the × and y location of the legend rather than 'bottomright' (see ?legend). HTH Peter Alspach PS Please don't post in html (see the posting guide) ... P -Original

Re: [R] Correlation matrix for pearson correlation (r,p,BH(FDR))

2015-06-18 Thread Peter Langfelder
= fdr) Hope this helps, Peter On Thu, Jun 18, 2015 at 1:19 AM, Sarah Bazzocco sarah.bazzo...@vhir.org wrote: This post was called help before, I changed the Subject. Thanks for the comments. Here the example: (I have the two lists saved as .csv and I can open them in R) Sheet one- Genes

[R] R 3.2.1 liftoff

2015-06-18 Thread Peter Dalgaard
. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the md5sums for the freshly created files, in case you wish to check that they are uncorrupted: MD5 (AUTHORS) = eb97a5cd38acb1cfc6408988bffef765 MD5 (COPYING

[R] [R-pkgs] version 3.0-0 of bayesm

2015-06-15 Thread Peter Rossi
. The algorithm, rsurGibbs, has been improved for better speed as well as recoded. A Bayesian treatment of aggregate random coefficient models (with instruments) has been added, see rbayesBLP. peter rossi thanks to Neil Fultz, Keunwoo Kim, and Wayne Taylor for their help in the recoding

Re: [R] Cross-over Data with Kenward-Roger correction

2015-06-10 Thread peter dalgaard
period differences within subjects and use a t-test (welch or classical) to see if the differ according to sequence (trt1-trt2 or v.v.). -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23

[R] [R-pkgs] New version of wikipediatrend

2015-06-08 Thread Peter Meissner
/wikipediatrend vignette: http://cran.rstudio.com/web/packages/wikipediatrend/vignettes/using-wikipediatrend.html project page: https://github.com/petermeissner/wikipediatrend Best, Peter NEWS wikipediatrend

Re: [R] Blank spaces are replaced by period in read.csv, I want to replace blacks with an underline

2015-06-08 Thread peter dalgaard
, seq_along(mynames), sep=_) mynames [1] x.y_1 x.y_2 x.y_3 x.y_4 Didn't he want x_y.1, not x.y_1? Obviously, just switch . and _ for that. A potential improvement (in case not all columns are x y) is to replace the last bit with make.unique(mynames). -- Peter Dalgaard, Professor, Center

Re: [R] pairwise.t.test non numeric factors error

2015-06-03 Thread peter dalgaard
. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

Re: [R] pairwise.t.test non numeric factors error

2015-06-03 Thread peter dalgaard
Santana - BA, Brazil 44.036-900. 2015-06-03 16:55 GMT-03:00 peter dalgaard pda...@gmail.com: On 03 Jun 2015, at 19:14 , Erica Cseko Nolasco ecnola...@gmail.com wrote: Thanks Jim, I removed the corresponding cases and tried again. What I discovery now is if I run the function

Re: [R] Collinearity? Cannot get logisticRidge{ridge} to work

2015-05-28 Thread peter dalgaard
/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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone

[R] Debian Rcmdr misses sem leaps etc‏

2015-05-23 Thread Peter van Summeren
greetings,Peter [[alternative HTML version deleted]] __ 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

[R] Debian Rcmdr misses sem leaps etc

2015-05-22 Thread Peter van Summeren
to get a good Rcmdr?with friendly greetings,Peter [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Feature or bug?

2015-05-21 Thread peter dalgaard
commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

[R] Release of R 3.2.1 scheduled for June 18

2015-05-18 Thread Peter Dalgaard
We intend to have a patch release on June 18, nickname will be World-Famous Astronaut. The detailed schedule will be made available via developer.r-project.org as usual. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg

Re: [R] Downloading R

2015-05-12 Thread peter dalgaard
. It is not informative that you have clicked a red link leading to a green arrow! -Peter D. On 12 May 2015, at 03:41 , e.robin...@pnc.com wrote: My name is Erick Robinson and I am a SAS administrator at PNC Bank. I have been tasked with installing R on two of our SAS servers, but am having trouble

Re: [R] Plotting times at night and getting plot limits correct

2015-05-12 Thread peter dalgaard
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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000

Re: [R] Building R-3.2.0 from source.

2015-05-10 Thread peter dalgaard
, but the order of the day is that you need to install some variation of lzma/zlib/bzlib and their -dev/-devel header files etc. Check appendix A.1 and A.2 of the R Installation and Administration manual. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg

Re: [R] Non UTFB

2015-05-07 Thread peter dalgaard
post has been mangled because it was posted in HTML, but there is this specific information in the FAQ: Please note that you must always use `.UTF-8' version of the locale, otherwise R.app will not work properly. - Peter D. During startup - Warning messages: 1: Setting LC_CTYPE failed

Re: [R] using filter() to sum up

2015-05-05 Thread peter dalgaard
-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. -- Peter Dalgaard, Professor, Center

Re: [R] Contrast anova multi factor

2015-04-26 Thread peter dalgaard
91.1 92.3 with(heart.rate, mean(hr)) [1] 93.13889 91.5+96.6 - 93.13889 [1] 94.91667 In an unbalanced design, the calculation of the intercept gets a bit lost in matrix-calculus land; there is no simple formula, but it is still an estimate of the same thing. - Peter D Best

Re: [R] Plots without X11 in CentOS

2015-04-25 Thread peter dalgaard
On 25 Apr 2015, at 05:57 , Sudip Chatterjee sudipanal...@gmail.com wrote: Hi Peter, I did the same but I received an error stating X11 is not available. Hm?? Did something change while I wasn't looking? I'd expect PDF to be handled by the postscript driver and be independent of X11

Re: [R] Plots without X11 in CentOS

2015-04-24 Thread peter dalgaard
is sized to hold the text in the font used on the screen device. Then, saving to PDF causes the box to be scaled and the font to change, but it can happen that the text now overruns the box extents.) Peter D. On 24 Apr 2015, at 16:12 , Sudip Chatterjee sudipanal...@gmail.com wrote: Hi All

Re: [R] groupedData HELP!

2015-04-20 Thread peter dalgaard
__ 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. -- Peter

Re: [R] Smart detection of wrap width?

2015-04-18 Thread Peter Crowther
that set up a handler for SIGWINCH and, when it got one, ran the equivalent of the stty command to get the new width. The thing I've not been able to figure out is how the C code would ever then hand that to R asynchronously. Anyone? Cheers, - Peter __ R

[R] R 3.2.0 is released

2015-04-16 Thread Peter Dalgaard
. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the md5sums for the freshly created files, in case you wish to check that they are uncorrupted: MD5 (AUTHORS) = eb97a5cd38acb1cfc6408988bffef765 MD5 (COPYING) = eb723b61539feef013de476e68b5c50a

Re: [R] function as variable name - probably better error message

2015-04-16 Thread peter dalgaard
/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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone

Re: [R] What does exp(-coef) mean?

2015-04-15 Thread peter dalgaard
. __ 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. -- Peter Dalgaard

Re: [R] friedman.test error: not an unreplicated complete block design

2015-04-13 Thread peter dalgaard
. __ 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. -- Peter

Re: [R] R (3.1.2) sub-setting code related to NA on Windows not working!

2015-04-13 Thread peter dalgaard
, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] sorting means for plot in descending order

2015-04-09 Thread peter dalgaard
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] survreg FUNCTION

2015-04-08 Thread peter dalgaard
actually did the latter. What can I do? If installed and not loaded, load it with library(survival). -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv

Re: [R] R crashes upon changing directories, loading files, etc.

2015-04-06 Thread peter dalgaard
who can reproduce the issue _and_ is capable of debugging Mac GUI code.) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com

Re: [R] Combine list element by column name to make a dataframe

2015-04-06 Thread peter dalgaard
commented, minimal, self-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R

Re: [R] Does fitCopula work for amhCopula and joeCopula?

2015-04-04 Thread peter dalgaard
. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

Re: [R] idiom for constructing data frame

2015-04-03 Thread peter dalgaard
-contained, reproducible code. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-help@r-project.org mailing

<    4   5   6   7   8   9   10   11   12   13   >