Re: [R] as.data.frame doesn't set col.names

2017-10-25 Thread Peter Dalgaard
> On 24 Oct 2017, at 22:45 , David L Carlson wrote: > > You left out all the most important bits of information. What is yo? Are you > trying to assign a data frame to a single column in another data frame? > Printing head(samples) tells us nothing about what data types you have, > especially

Re: [R] Problem Subsetting Rows that Have NA's

2017-10-25 Thread peter dalgaard
w.R-project.org/posting-guide.html >>> and provide commented, minimal, self-contained, reproducible code. > > I wanted to know if this was a bug so that I could report it if so. You say > it is not, so you answered my question. As far as me not reading the > docume

Re: [R] R encountered a fatal error. The session was terminated. + *** caught illegal operation ***

2017-10-26 Thread peter dalgaard
rnative 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 pr

Re: [R] R encountered a fatal error. The session was terminated. + *** caught illegal operation ***

2017-10-26 Thread peter dalgaard
otherwise. (Looks like I had a script window looking at a function in .GlobalEnv which was no longer there. Closing the script seems to have cured the problem.) -pd > On 26 Oct 2017, at 15:04 , peter dalgaard wrote: > > Also, check whether R runs standalone, either as Rgui or in Ter

Re: [R] Correct subsetting in R

2017-11-02 Thread peter dalgaard
e claimant lies > again. > > See http://www.catwhisker.org/~david/publickey.gpg for my public key. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PL

Re: [R] Problem with r project in ubuntu xenial

2017-11-03 Thread peter dalgaard
ing 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, Cope

Re: [R] Using MLE on a somewhat unusual likelihood function

2017-11-07 Thread peter dalgaard
ponding! > /Hugo > > [[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://ww

Re: [R] Using MLE on a somewhat unusual likelihood function

2017-11-07 Thread peter dalgaard
> On 7 Nov 2017, at 11:38 , peter dalgaard wrote: > > Presumably you wanted -sum(lnagevec[lnwagevec>-200 & ln2wagevec<200], > na.rm=TRUE) Well, after correcting the obvious spelling error. Sorry about that... -pd -- Peter Dalgaard, Professor, Center for Statistic

[R] R 3.4.3 scheduled for November 30

2017-11-09 Thread Peter Dalgaard
Full schedule available on developer.r-project.org (pending auto-update from SVN) -- 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] ks.test() with 2 samples vs. 1 sample an distr. function

2017-11-16 Thread peter dalgaard
ml > 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 read the posting guide http://www.R-p

Re: [R] Yield-to-Maturity problem

2017-11-16 Thread peter dalgaard
self-contained, reproducible code. >> > > [[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 rea

Re: [R] tcltk problems

2017-11-18 Thread peter dalgaard
.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-project.org mailing list -- To UNSUBS

Re: [R] [FORGED] Re: tcltk problems

2017-11-18 Thread peter dalgaard
lp > 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] tcltk problems

2017-11-19 Thread peter dalgaard
whim, I scanned through config.log some more and found many, many > errors logged and many, many "compilation terminated" notes. In particular > there seem to be problems with a file "confdef.h", which repeatedly seems to > give rise to "fatal errors". (Whe

Re: [R] tcltk problems

2017-11-19 Thread peter dalgaard
s it have an impact on > that? > > And how did LIBnn get to be set to 'lib64'? I certainly didn't do it, and > there's nothing about 'lib64' in the environment variables that I have set. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Busin

Re: [R] libPaths displays truncated path?

2017-11-23 Thread peter dalgaard
e >> >> __ >> 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 >&g

[R] R 3.4.3 is released

2017-11-30 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] ggtern and bquote...

2017-12-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, Center for St

Re: [R] ggtern and bquote...

2017-12-04 Thread peter dalgaard
>> invalid 'type' (expression) of argument >> >> >> Maybe i am writing the code wrong, i couldn't figure out. >> >> Thanks for your kind answers. >> >> >> >> >>

Re: [R] Dynamic reference, right-hand side of function

2017-12-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, reproducibl

Re: [R] Dynamic reference, right-hand side of function

2017-12-04 Thread peter dalgaard
thinking about loops is something I do since I worked with Stata a lot. The > syntax from Peter Dalgaard was really clever, and I learned a lot from it, > even though it didn't solve my problem (I guess it wasn't very well > explained). My problem was basically that I have a data matr

Re: [R] Auto Data in the ISLR Package

2017-12-17 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 provid

Re: [R] Fitting Beta Distribution

2017-12-22 Thread peter dalgaard
ta2 is the same quantity written explicitly, without the > normalization factor (which should not matter at all if we talk about > maximizing a quantity). > -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone:

Re: [R] Why aov() with Error() gives three strata?

2017-12-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 gui

Re: [R] Help with dates

2017-12-29 Thread peter dalgaard
, 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 read the posting guide http://www.R-project.org/posting-guid

Re: [R] termplot intervals - SE or CI?

2018-01-11 Thread peter dalgaard
ed person's use only. It=2...{{dropped:30}} > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the p

Re: [R] application of R

2018-01-12 Thread peter dalgaard
language I could > take up and learn to make a commercial statistical software ? Any advices as > well ? -- 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

Re: [R] reading lisp file in R

2018-01-18 Thread peter dalgaard
portant Notice: This mailbox is ignored: e-mails are set to be deleted >>> on receipt. Please respond to the mailing list if appropriate. For those >>> needing to send personal or professional e-mail, please use appropriate >>> addresses. >>> >>> ___

Re: [R] max and pmax of NA and NaN

2018-01-20 Thread peter dalgaard
s.na(*) is > typically sufficient and "best" -- it gives TRUE for both NA and NaN. > > > Martin Maechler > ETH Zurich > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.eth

Re: [R] Updating Rcpp package when it is claimed by dplyr

2018-02-02 Thread peter dalgaard
osevelt >> >> ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. >> >> __ >> 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 >

Re: [R] Unexpected behaviour from read.table

2018-02-05 Thread peter dalgaard
t) > Running under: macOS High Sierra 10.13.2 / Ubuntu 16.04.3 LTS > > > > > > > > [[alternative HTML version deleted]] > > ______ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >

Re: [R] [FORGED] Re: SE for all levels (including reference) of a factor atfer a GLM

2018-02-16 Thread Peter Dalgaard
= 0. ...and consequently, being a constant, has an s.e. of 0. -- 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] How to Save the residuals of an LM object greater or less than a certin value to an R object?

2018-02-23 Thread Peter Dalgaard
elf-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 read the posting guide http://www.R-project.org/posting-guide.html &

Re: [R] reshaping column items into rows per unique ID

2018-02-25 Thread peter dalgaard
j","c","c","f"), >stringsAsFactors=FALSE) > with(df1, tapply(DietType, CustId, list)) $`1` [1] "a" "c" "b" $`2` [1] "f" $`3` [1] "a" "j" $`4` [1] "c" "c" &qu

Re: [R] Sum of columns of a data frame equal to NA when all the elements are NA

2018-03-21 Thread peter dalgaard
scanned by Libra ESVA and is believed to be clean. >>>> >>>> >>>>[[alternative HTML version deleted]] >>>> >>>> __ >>>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

Re: [R] unable to move temporary installation of package

2018-03-27 Thread peter dalgaard
nd regular R 3.4.4, and I >>>>>> get the same error. >>>>>> >>>>>> >>>>>> >>>>>> Thanks for any help, >>>>>> >>>>>> Paul Lantos >&g

Re: [R] R and Java 10 ➜ rJava not able to build

2018-03-31 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 Bus

Re: [R] Reading xpt files into R

2018-04-14 Thread peter dalgaard
; distribution. It refers you to > https://support.sas.com/techsup/technote/ts140.pdf for details on the format. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cb

Re: [R] How to dynamically add variables to a dataframe

2018-04-23 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 > a

Re: [R] Package 'data.table' in version R-3.5.0 not successfully being installed

2018-04-27 Thread peter dalgaard
t;>> repos=NULL, type="win.binary") >>>>> > >>>>> > I expect that this problem will go away when the maintainer of >>>>> the data.table package fixes the error. >>>>> >>>>> You can see

Re: [R] Merging dataframes

2018-05-01 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 S

Re: [R] add one variable to a data frame

2018-05-11 Thread peter dalgaard
[ match( dat1$B, unique(dat1$B) )] -- 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-proj

Re: [R] questions on subscores.

2018-05-15 Thread peter dalgaard
leted]] > > __ > 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] Nelson-Aalen Estimator in R: Error Message

2018-05-22 Thread peter dalgaard
re, 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 Sc

Re: [R] Time and date conversion

2018-06-04 Thread peter dalgaard
> Thanks for any pointer. > > [[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 h

Re: [R] malware reported by antivirus on R Windows .exe file

2018-06-05 Thread peter dalgaard
ject.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 Statis

Re: [R] mzR fails to install/compile (linuxes)

2018-06-16 Thread Peter Dalgaard
ar only "mzR" and "MSnbase" fail if I > compile with -j>1. > > Would anybody be able to confirm this problem exists? > Many thanks, L. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] specifying random effects covariance structure in nlme

2018-06-16 Thread Peter Dalgaard
t.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 Fred

Re: [R] Help, zero-truncated Binomial distribution

2018-06-18 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] interpret a p-value result as a significance of a linear regression in terms of sigmas

2018-06-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 Dalgaar

Re: [R] R maintains old values

2018-07-03 Thread peter dalgaard
l >>>> 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

Re: [R] R maintains old values

2018-07-03 Thread peter dalgaard
pts vs. developmental ones. > > Now, to add to the controversy, how do you set a computer on fire? Short the lithium battery? -pd > > JN > > On 2018-07-03 03:52 AM, peter dalgaard wrote: >> Also beware the traveling arsonist, Jenny Bryan: >> >> https://www.t

Re: [R] gamlss() vs glm() standard errors via summary() vs vcov()

2018-07-04 Thread Peter Dalgaard
))) > cbind(SEvcov1, SEvcov2) # Corresponds > > # Compare between summary() and vcov() extraction. Missmatch. > cbind(SESum1, SEvcov1) > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://sta

Re: [R] R is creating a new level which is emty after importing a SAS file

2018-07-04 Thread peter dalgaard
TML 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 pro

Re: [R] Where does ' Setting LC_CTYPE failed, using "C" ' come from? 2

2018-07-21 Thread peter dalgaard
e equivalent of the following (in a Terminal window): Peter-Dalgaards-MacBook-Air:~ pd$ defaults read org.R-project.R force.LANG en_US.UTF-8 If not, then the "defaults write" stuff has been entered incorrectly or didn't work for some reason. -åd -- Peter Dalgaard, Professor, C

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] 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] 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] 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
> 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] 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] 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] 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] 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] 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] 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] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-16 Thread peter dalgaard
s -- www.DMSTAT1.com > Machine-Learning Data Mining and Modeling -- www.GenIQ.net > > peter dalgaard wrote: >> Um, tried help(.Rprofile) lately? >> >> -pd >> >>> On 17 Apr 2017, at 00:08 , Rolf Turner wrote: >>> >>> >>> On 1

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-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] 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] 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

[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] 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

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

2017-04-23 Thread peter dalgaard
offset) == 0 to well, you get the point. -pd -- 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] 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] Error with installed.packages with R 3.4.0 on Windows

2017-04-28 Thread peter dalgaard
; > Duncan Murdoch > >> >> Best regards, >> >> Thierry >> >> >> Op 28 apr. 2017 10:36 a.m. schreef "peter dalgaard" : >> >> Yes, we noticed this in the last days of the code freeze before release and >> shied away fr

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] 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] 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] 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] 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] 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] 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] 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] Error: invalid type (closure) for the variable 'time' - object specific trend

2017-05-14 Thread peter dalgaard
oid the potentially >> incorrect construction of the desired linear trend. >> >> If you used the interaction operator "*" between 'town' and the numeric >> version of 'year' it will give you two sets of coefficients involving >> 'town&

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] 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] 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] [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] 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] 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,

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] 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-

[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] 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. > > __

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] "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] 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

[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

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

  1   2   3   4   5   6   7   8   9   10   >