Re: [R] Error in `[[<-.data.frame`(`*tmp*`, alt.name, value = integer(0)) with mlogit

2017-07-27 Thread peter dalgaard
2;17;19.6;14.2;no >> 23 2;17;269.6;67.2;no >> 24 2;17;300;75.6;no >> 252;17;300;114.3;no >> 262;17;36.3;16.9;no >> >> __ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >>

Re: [R] Precision of values > 53 bits

2017-07-25 Thread peter dalgaard
-pd > On 25 Jul 2017, at 07:25 , Jeff Newmiller wrote: > > What an impressively zombified thread. Though wondering how 53 bits were > supposed to fit into 32 might just warrant revivification. > -- > Sent from my phone. Please excuse my brevity. > > On July 20, 2017 5

Re: [R] about installing smwrGraphs package

2017-07-23 Thread peter dalgaard
ucible code. >> > > __ > 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

Re: [R] Precision of values > 53 bits

2017-07-20 Thread peter dalgaard
> On 10 Jan 2013, at 15:56 , S Ellison wrote: > > > >> I am working with large numbers and identified that R looses >> precision for such high numbers. > Yes. R uses standard 32-bit double precision. Well, for large values of 32... such as 64. -- Peter Dalg

Re: [R] A problem with order() function in R

2017-07-17 Thread Peter Langfelder
I think you want rank, not order. > x <- c(19,17,23,11) > order(x) [1] 4 2 1 3 > rank(x) [1] 3 2 4 1 See help(order) and help(rank) for the difference. Peter On Mon, Jul 17, 2017 at 7:58 PM, Jesadaporn Pupantragul wrote: > Hello r-help > I am learning R and use R-studio. &

Re: [R] setwd in windows

2017-07-14 Thread peter dalgaard
IVE}${HOMEPATH}. If all of > these fail, the current working directory is used. > > > > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https

Re: [R] Importing Big data to R

2017-07-12 Thread Peter Dalgaard
> On 12 Jul 2017, at 08:44 , Mangalani Peter Makananisa > wrote: > > Dear R-Gurus, > > I am trying to read in data with 24,349,113 rows to R-3.3.3 (64 bit) and have > used the library "data.table" and It managed to read 23,347,070 rows and > the rema

[R] Importing Big data to R

2017-07-12 Thread Mangalani Peter Makananisa
the full data in to R? Kind regards, Mangalani Peter Makananisa (5786) South African Revenue Service (SARS) +2782 456 4669 / +2712 422 7357 Please Note: This email and its contents are subject to our email legal notice which can be viewed at http://www.sars.gov.za/Pages/Email-discl

Re: [R] submitting R scripts with command_line_arguments to PBS HPC clusters

2017-07-11 Thread Anthoni, Peter (IMK)
--args ... "..." "..." is important! > R CMD BATCH --no-save --no-restore '--args TUMOR="tumor.bam" > GERMLINE="germline.bam" CHR="chr22"' test.R test.Rout then you submit with a qsub with all the options you specified the test.sh qs

Re: [R] fit lognorm to cdf data

2017-07-11 Thread peter dalgaard
Jul 2017, at 07:16 , PIKAL Petr wrote: > > Hi > > Great. I did not think that such combination is posssible. > > Thanks. > Petr > >> -----Original Message- >> From: peter dalgaard [mailto:pda...@gmail.com] >> Sent: Tuesday, July 11, 2017 1:11 AM &

Re: [R] dplyr help

2017-07-11 Thread Mangalani Peter Makananisa
Thank you very much for the support. I just used the reshape library and my problem was solved. Kind regards, Peter -Original Message- From: PIKAL Petr [mailto:petr.pi...@precheza.cz] Sent: 10 July 2017 11:17 AM To: Mangalani Peter Makananisa; r-help@r-project.org Cc: Vito Ricci

Re: [R] dplyr help

2017-07-11 Thread Mangalani Peter Makananisa
Thank you very much for the support. I have just used the reshape library and my problem was solved. Kind regards, Peter -Original Message- From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] Sent: 10 July 2017 03:52 PM To: r-help@r-project.org; Mangalani Peter Makananisa; r-help

Re: [R] fit lognorm to cdf data

2017-07-10 Thread peter dalgaard
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, Cen

Re: [R] Help documentation of "The Studentized range Distribution"

2017-07-10 Thread peter dalgaard
t; distribution. >> >> Can that be - it should be a rather old procedure, so I wonder whether >> I get something completely wrong... >> >> Regards, >> Ursula >> >> >> >> >> >> >> >> >> >> >&g

[R] dplyr help

2017-07-10 Thread Mangalani Peter Makananisa
HI all, Is it possible to use one column spread on multiple columns values. example spread( Key_col, value1:value7) spreading Key_col to variable value1, value2, ... Value7 Please advise, Kind regards Mangalani Peter Makananisa (5786) South African Revenue Service (SARS) - HO +2782 456

Re: [R] Error in WGCNA package

2017-07-09 Thread Peter Langfelder
uot;double" and try again. Peter On Sun, Jul 9, 2017 at 2:29 AM, Ankush Sharma wrote: > Dear all , > > I would like to reconstruct coexpression networks from proteomic count data > having integer values. Some internal function doesn't like to work well with > integer

Re: [R] Efficient swapping

2017-07-07 Thread Anthoni, Peter (IMK)
es=FALSE) mapLevels(tmp[,"R1"]) = bigMap mapLevels(tmp[,"R2"]) = bigMap dd=as.integer(tmp[,"R2"])-as.integer(tmp[,"R1"]) odd=dd%%2!=0 swap=tmp[odd,"R2"] tmp[odd,"R2"]=tmp[odd,"R1"] tmp[odd,"R1"]=swap cbind(tmp,odd,tmp

Re: [R] expand gridded matrix to higher resolution

2017-07-05 Thread Anthoni, Peter (IMK)
ach=3)}) #ca. 10x faster >user system elapsed > 0.785 0.093 0.881 > > system.time(for(i in 1:10) {xrmmb <- disaggregate(rmmb, fact=c(3, 3))}) >user system elapsed > 0.583 0.147 0.731 cheers Peter > On 5. Jul 2017, at 16:57, Jeff Newmiller wrote: >

Re: [R] expand gridded matrix to higher resolution

2017-07-05 Thread Anthoni, Peter (IMK)
Hi Jim, thanks that works like a charm. cheers Peter > On 5. Jul 2017, at 12:01, Jim Lemon wrote: > > Hi Peter, > > apply(t(apply(mm,1,rep,each=3)),2,rep,each=3) > > Jim > > On Wed, Jul 5, 2017 at 5:20 PM, Anthoni, Peter (IMK) > wrote: >> Hi all, &g

[R] expand gridded matrix to higher resolution

2017-07-05 Thread Anthoni, Peter (IMK)
; [,1] [,2] [,3] > [1,]111 > [2,]111 > [3,]111 > [4,]222 > [5,]222 > [6,]222 > [7,]333 > ... identical(xmm,matrix(rr,ncol=15,nrow=9,byrow=T)) > > identical(xmm,mat

[R] R 3.4.1 is released

2017-06-30 Thread Peter Dalgaard
Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the freshly created files, in case you wish to check that they are uncorrupted: MD5 (AUTHORS) = f12a9c3881197b20b08dd3d1f9d005e6 MD

[R] [R-pkgs] New R package MittagLeffleR

2017-06-26 Thread Peter Straka
ulation of quantiles: https://cran.r-project.org/web/packages/MittagLeffleR/vignettes/probsNquantiles.html Thanks! -- * Dr Peter Straka* *Research Fellow (DECRA), School of Physical Engineering and Mathematical Sciences* UNSW Canberra Campbell ACT 2600 Australia H: strakaps.github.io E: p.str...@u

Re: [R] Help: ifelse selection for x,y coordinates

2017-06-22 Thread Anthoni, Peter (IMK)
Hi Celine, what about removing the unwanted after you made the x and y x<-x[x>0] # or x<-x[x>0&&y>0], ditto for y, x[x!=""] in your ifelse (... ,"") case if x and y will not have the same length afterwards you need to make that list thingy. cheers

Re: [R] Hunting a histogram variant

2017-06-22 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, reprodu

Re: [R] "reverse" quantile function

2017-06-16 Thread peter dalgaard
>> #so do this step >> ecdf(x)(quantile(x,0.33)) >> #to get 0.33 back... >> >> any suggestions on how I could to that for a data frame? > > Can't you just used ecdf and quantile ecdf? > > # See ?ecdf page for both functions > >> lapply( lappl

Re: [R] nmax parameter in factor function

2017-06-04 Thread peter dalgaard
t;> __ >>> 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

Re: [R] New var

2017-06-03 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. > > __

[R] R 3.4.1 at end of June

2017-06-02 Thread Peter Dalgaard
es of other people). - Peter Dalgaard -- 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-annou

Re: [R] Error in y - ymean : non-numeric argument to binary operator

2017-05-26 Thread Peter Langfelder
This is a bit of a shot in the dark since I haven't used randomForest in several years, but I seem to recall that running randomForest through the formula interface was asking for trouble... Try not using the formula interface and specify the x, y, xtest arguments directly. Peter On Fri, M

[R] Help in R code

2017-05-25 Thread Peter Hänninen
Hi! Is this the correct place to ask for some help with R code? I have some minor questions I would need to ask. Best regards, Peter [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] Compiling R with zlib in non-standard location

2017-05-24 Thread Peter Carbonetto
with RStudio or RStudio Server. For this, I believe you need the -fPIC option when installing R (and maybe the libraries as well), but not certain about this. Peter Carbonetto, Ph.D. Research Computing Center University of Chicago [[alternative HTML version deleted

Re: [R] Rpart help

2017-05-24 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. > > __ > R-help@r-

Re: [R] Duplicate row names are not allowed

2017-05-23 Thread peter dalgaard
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

Re: [R] problem with system.file

2017-05-22 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,

[R] Somewhat obscure bug in R 3.4.0 building from source

2017-05-21 Thread Peter Carbonetto
e: [docs] Error 2 (ignored) and can be reproduced wit the following sequence: ./configure make make clean make This suggests to me that perhaps "make clean" is not working. I'm happy to provide more details so that you are able to reproduce the bug. Thanks, Peter Carbon

Re: [R] modulus operator?

2017-05-21 Thread Peter Dalgaard
lman/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, De

Re: [R] [FORGED] Logical Operators' inconsistent Behavior

2017-05-19 Thread peter dalgaard
er >> >> -- >> Technical Editor ANZJS >> Department of Statistics >> University of Auckland >> Phone: +64-9-373-7599 ext. 88276 >> > > > > -- > Jérémie Juste > > [[alternative HTML version deleted]] > >

Re: [R] R-3.4.0 fails test

2017-05-17 Thread Peter Dalgaard
fd, format(dct <- as.POSIXct(dlt >> to >>> stopifnot(length(fd) == 10, identical(fd, format(dct <- as.POSIXlt(dlt >> >> would pass. But would that be any use? >> TIA >> (Linux Mi

Re: [R] plot problems

2017-05-16 Thread peter dalgaard
cs & I expect windows() on Windows), then that might behave completely ignorant of the fact that you are running RStudio. Also check ?Devices for info on getOption("device"). -pd -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 200

Re: [R] Tukey tests in two-way ANOVA

2017-05-15 Thread peter dalgaard
native 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-project.org/posting-guide.html > and

Re: [R] Error: invalid type (closure) for the variable 'time' - object specific trend

2017-05-14 Thread peter dalgaard
3 4 5 6 7 8 9 10 ... > $ revenue: num 39.9 43.3 44 43.2 39.1 ... > $ supply : num 1 1 1 1 1 1 35 101 181 323 ... > > > > Hope this is helpful. > > Toby > > > > Am 13.05.2017 um 16:40 schrieb David Winsemius: >>> On May 13, 2017, at 4:07 AM, Tobia

Re: [R] Error: invalid type (closure) for the variable 'time' - object specific trend

2017-05-12 Thread peter dalgaard
;>> >>> >>> >>> >>> >>> >>> Am 11.05.2017 um 17:23 schrieb Duncan Murdoch: >>>> Duncan Murdoch >>> __ >>> R-help@r-project.org mailing list -- To UNSUBSCRIBE

Re: [R] Generating samples from truncated multivariate Student-t distribution

2017-05-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. --

Re: [R] Factors and Alternatives

2017-05-09 Thread peter dalgaard
ves also access > to the original values? > > Kind regards > > Georg > > __ > 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 ht

Re: [R] Copy and Rename Folder in same directory

2017-05-08 Thread peter dalgaard
,if I give a single file name it copies that file >>to new >>folder. >> >>Any thoughts ? >> >> >>Getting FALSE where? >> >>Does list.of.files look right? >> >>If it contains any directories, you'll want "recursive = TR

Re: [R] Mac-specific encoding bug

2017-05-07 Thread peter dalgaard
7;s going > on? Python being less careful than R? Basically, things get encoded if not known to be printable, and "Cyrillic Small Letter Palochka" is (it seems) not recorded as printable in the common utf-8 locales. From what I can google, it is used in Chechen and even then only as a

Re: [R] Perfect prediction of AR1 series using package dlm, posted on stack exchange

2017-05-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 D

Re: [R] memory problem

2017-05-02 Thread Anthoni, Peter (IMK)
Hi Amit, Is the file gzipped or extracted? if you read the plain text file, try to gzip it and make a read.table on the gzipped file, the read.table can handle gzipped files at least on linux and mac OS, not sure about windows. cheers Peter > On 2. May 2017, at 18:59, Amit Sengupta vi

Re: [R] Lattice xyplot

2017-05-01 Thread peter dalgaard
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. >>

Re: [R] how to assign a value to a specific position of a list

2017-04-30 Thread peter dalgaard
? Is there any alternatives? Many thanks! > > Best, > Jinsong > > __ > 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 htt

Re: [R] Error with installed.packages with R 3.4.0 on Windows

2017-04-28 Thread peter dalgaard
> On 28 Apr 2017, at 12:08 , Duncan Murdoch wrote: > > On 28/04/2017 4:45 AM, Thierry Onkelinx wrote: >> Dear Peter, >> >> It actually breaks install.packages(). So it is not that innocent. > > I don't think he meant that it is harmless, he meant that th

Re: [R] Error with installed.packages with R 3.4.0 on Windows

2017-04-28 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

Re: [R] asking for help

2017-04-25 Thread Anthoni, Peter (IMK)
Hi, the cut function might be helpful. vec=1: 163863 fcut=cut(vec,seq(1, 163863+1,by= 6069),include.lowest = T,right=F) aggregate(vec,by=list(fcut),min) aggregate(vec,by=list(fcut),max) cheers Peter On 25. Apr 2017, at 14:33, PIKAL Petr mailto:petr.pi...@precheza.cz>> wrot

Re: [R] Interesting quirk with fractions and rounding / using == for floating point

2017-04-23 Thread peter dalgaard
> On 23 Apr 2017, at 14:49 , J C Nash wrote: > > > So equality in floating point is not always "wrong", though it should be used > with some attention to what is going on. > > Apologies to those (e.g., Peter D.) who have heard this all before. I suspect >

Re: [R] Looking for a package to replace xtable

2017-04-22 Thread peter dalgaard
;>>> would not have to use with() or attach(). >>>>> >>>>> I'm not sure what the first few lines of your code are intended to do. >>>>> You choose random binomial values and uniform random values and then >>>>> order the fir

[R] R 3.4.0 is released

2017-04-21 Thread Peter Dalgaard
rer to you. Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums (md5 and SHA-256) for the freshly created files, in case you wish to check that they are uncorrupted: MD5 (AUTHORS) = f12a9c3881197b20b08dd3d1f9d005e6 MD

Re: [R] Wilcoxon Test

2017-04-21 Thread peter dalgaard
d. > > hth, > Z > > __ > 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

Re: [R] A new -up?

2017-04-19 Thread peter dalgaard
hone: +64-9-373-7599 ext. 88276 > > __ > 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 &

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-17 Thread Peter Dalgaard
e", to="C:/Users/BruceRatner/Documents/.Rprofile") (and restart, obviously). [I wouldn't set the seed in a .Rprofile file, nor would I use rm() there, but that is a different kettle of fish.] -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School

Re: [R] Return value from function with For loop

2017-04-17 Thread peter dalgaard
shares this >> anomalous behavior with `while` and `repeat`.n Almost all functions are >> invoked with a possibly empty argument list. The next and break functions >> have implicit paired (empty) parentheses. >>>> >>>> (My personal opinion is that this

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-16 Thread peter dalgaard
code. -pd > On 17 Apr 2017, at 00:43 , BR_email wrote: > > Peter: > Thanks for reply and suggestion. > Sorry, I am not sure how to assess. > The doc is too technical for me to understand. > I found multiple instructions online and in R and RStudio books. > I'm

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-16 Thread peter dalgaard
developing that mind_read() function referred to in fortune(182). > > cheers, > > Rolf Turner > > -- > Technical Editor ANZJS > Department of Statistics > University of Auckland > Phone: +64-9-373-7599 ext. 88276 > >

Re: [R] Sample size using residual standard deviation

2017-04-12 Thread peter dalgaard
org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do rea

Re: [R] Finding Infimum in R

2017-04-10 Thread Peter Dalgaard
t;>> For a piecewise function F similar to the attached graph, I would like >>>>>>> to >>>>>>> find >>>>>>> inf{x| F(x) >=0}. >>>>>>> >>>>>>>

Re: [R] Code to construct table with paired data

2017-04-08 Thread peter dalgaard
ance, > > > Maurício Cardeal > > Federal University of Bahia, Brazil > > > > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > ht

Re: [R] R function stopped working

2017-04-04 Thread peter dalgaard
, the loop is working > fine on its own (so the path, name, filename, and all other variables > called from the function exist, are available and are recognized just > fine). It just doesn't do anything (anymore) if the loop is inside a > function. > > > On Tue, 2017-04-0

Re: [R] R function stopped working

2017-04-04 Thread peter dalgaard
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, Cen

Re: [R] The R-help community list was started on this day 20 years ago

2017-04-02 Thread peter dalgaard
> On 02 Apr 2017, at 19:15 , Spencer Graves > wrote: > > > > On 2017-04-02 8:42 AM, peter dalgaard wrote: >>> On 02 Apr 2017, at 14:53 , Spencer Graves >>> wrote: >>> >>> >>> >>> On 2017-04-02 4:10 AM, peter dalga

Re: [R] The R-help community list was started on this day 20 years ago

2017-04-02 Thread peter dalgaard
> On 02 Apr 2017, at 14:53 , Spencer Graves > wrote: > > > > On 2017-04-02 4:10 AM, peter dalgaard wrote: >> Not fooling, no. >> >> However, r-help/r-announce/r-devel was a restructuring of the r-testers >> list. This goes back to March 20, 1996. T

Re: [R] The R-help community list was started on this day 20 years ago

2017-04-02 Thread peter dalgaard
fooling? > > __ > 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, m

Re: [R] pull stat out of summary

2017-04-01 Thread peter dalgaard
; Thanks... >> > > -- > Sarah Goslee > http://www.functionaldiversity.org > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the

Re: [R] Difference between R for the Mac and for Windows

2017-04-01 Thread peter dalgaard
Hasselman > > __ > 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

Re: [R] fisher.test function error

2017-03-31 Thread peter dalgaard
uide.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 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __

Re: [R] Difference between R for the Mac and for Windows

2017-03-31 Thread peter dalgaard
IBE 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 Business

Re: [R] sem-Package BIC calculation wrong!?

2017-03-30 Thread Peter Dalgaard
hood itself, it is only determined up to an additive constant, so it is not obvious that one number is more correct than the other. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: p

Re: [R] How to apply calculations in "formula" to "data frame"

2017-03-28 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,

Re: [R] My installed R cannot run the X11 server

2017-03-28 Thread peter dalgaard
gt; > __ > 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-cont

Re: [R] R glm function ignores some predictor variables

2017-03-28 Thread peter dalgaard
[[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-project.org/posting-guide.html

Re: [R] Looping Through DataFrames with Differing Lenghts

2017-03-27 Thread Anthoni, Peter (IMK)
s match new.df=cbind(df.col378,"transits.col362"=df.col362[mm,"transits"]) cheers Peter > On 27 Mar 2017, at 22:09, Paul Bernal wrote: > > Dear friends, > > I have one dataframe which contains 378 observations, and another one, > containing 362 observatio

Re: [R] (no subject)

2017-03-23 Thread Peter Dalgaard
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)3815350

Re: [R] ESTIMATION OF PANEL VAR

2017-03-21 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, repro

Re: [R] How to get the transpose of R´s function forecast output and turn it into a data frame

2017-03-16 Thread peter dalgaard
ASE 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 O

Re: [R] mood.test/mood.medtest

2017-03-16 Thread peter dalgaard
as > > > > > > __ > 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 pro

Re: [R] [FORGED] same column name in a data frame

2017-03-14 Thread peter dalgaard
gt; > You could probably write a wrapper function for cbind() to automate (b) if > you really want to. > Yes, this is what it is, and I doubt anyone is likely to set out to change it. However, it is a bit of an oddity compared to the (often undesirable) pains the data.frame code

Re: [R] Override/Insert (Change) a value (default value) inside a function

2017-03-11 Thread Peter Langfelder
ations so that they are useful for others, you could email the package maintainer with your code and suggest that he/she incorporates it in the package for wider release. Peter __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://s

Re: [R] write.xlsx

2017-03-11 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 comme

[R] Forecasting and demography

2017-03-10 Thread Peter Thuresson
Hello R users, I wonder if anybody have some info about interesting forecastning population packages/books in R. It is specifically about demographics, i e models for handling fertility rates, mortality and migration etc, i'm interested. Best regards/Peter [[alternative HTML ve

Re: [R] Any reason not to use RUnit any longer?

2017-03-07 Thread Hans-Peter Suter
Thanks a lot for the feedback, Dirk and Mehmet, My (large) test-code is in RUnit and so I'm glad to hear that it is fine. RUnit worked very well for me and I do not have a reason to switch. [[alternative HTML version deleted]] __ R-help@r-proje

Re: [R] Help installing R-3.3.2

2017-03-06 Thread peter dalgaard
roject.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

[R] Any reason not to use RUnit any longer?

2017-03-06 Thread Hans-Peter Suter
t. If it makes a difference, I do _not_ use roxygen and stay close to R-exts standards (ok, a testing framework I'd like to have). Thanks for any advise / opinions, Hans-Peter [[alternative HTML version deleted]] __ R-help@r-project.org ma

[R] Matrix

2017-03-06 Thread Peter Thuresson
his: p<-c(1,2,3,4,0,0,0,0,1,2,3,4,0,0,0,0,1,2,3,4,0,0,0,0,1,2,3,4) matrix(p,7,4) best regards / 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

[R] R 3.3.3 is released

2017-03-06 Thread Peter Dalgaard
Binaries for various platforms will appear in due course. For the R Core Team, Peter Dalgaard These are the checksums for the freshly created files, in case you wish to check that they are uncorrupted. As a new feature, we also include SHA-256 checksums. MD5 (AUTHORS) = eb97a5cd38acb1cfc64089

Re: [R] R copies for no apparent reason

2017-03-03 Thread peter dalgaard
o 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. > > ___

Re: [R] What is se.fit in a glm predict list?

2017-03-02 Thread peter dalgaard
Average minds discuss events > (:_~*~_:) Small minds discuss people > (_)-(_) . Eleanor Roosevelt > > ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/lis

Re: [R] where is .emacs file?

2017-03-01 Thread peter dalgaard
mal, self-contained, reproducible code. > > David Winsemius > Alameda, CA, USA > > __ > 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

Re: [R] How to select one value per row (different columns) from array

2017-03-01 Thread peter dalgaard
e.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 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com __

Re: [R] Von Mises mixtures: mu and kappa?

2017-02-28 Thread Peter Mills
x.vmf(x, 3) gives $param mu1 mu2 kappa probs Cluster 1 0.4985047 -0.8668870 12.281773 0.3571429 Cluster 2 0.9490725 0.3150578 34.028465 0.2857143 Cluster 3 0.1017800 0.9948069 4.182367 0.3571429 Many thanks Peter -----Original Message- From: Bert

Re: [R] Why the slope and intercept of 95% CI varies at each calculation when using package mcr?

2017-02-26 Thread peter dalgaard
ttps://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 F

Re: [R] vars package - irf() does not work

2017-02-24 Thread peter dalgaard
re clumsy. > > > -- > > John > > __ > 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/postin

Re: [R] vars package - irf() does not work

2017-02-23 Thread peter dalgaard
SUBSCRIBE 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 Busi

<    1   2   3   4   5   6   7   8   9   10   >