Re: [R] Best settings for RStudio video recording?

2020-08-14 Thread peter dalgaard
de 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 Office: A 4.23 Email: pd@cbs.dk Pri

Re: [R] Best settings for RStudio video recording?

2020-08-14 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-guid

Re: [R] optim with upper and lower bounds

2020-08-11 Thread peter dalgaard
From those who have been given much, much will be expected" > "the arc of the moral universe is long, but it bends toward justice" -MLK Jr. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listi

Re: [R] A Question about MLE in R

2020-07-22 Thread peter dalgaard
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 provide commented

Re: [R] A WSL question with allocation

2020-07-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, reproducible code. --

Re: [R] How to use mle2 function?

2020-07-01 Thread peter dalgaard
t;>> pred = a/(1+a*h*n) >>>>> # calc NLL >>>>> -sum(dbinom(k, prob = pred, size = n, log = TRUE)) >>>>> } >>>>> ``` >>>>> then I get the same error: >>>>> ``` >>>>>> O = mle2

Re: [R] how to extract specific subscript of a matrix

2020-06-27 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

[R] R 4.0.2 is released

2020-06-22 Thread Peter Dalgaard via R-help
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) = b9c44f9f78cab3184ad9898bebc854b4 MD

Re: [R] Error in "plot(aov.object)" after upgradation to R-4.0.0 and R-4.0.1 for given R-Script-Example

2020-06-21 Thread peter dalgaard
ial Science (L) > Indira Gandhi Krishi Vishwavidyalaya, Raipur-492 012, > Chhattisgarh, India > Mobile: +918770625795 > Email: akhileshsingh.i...@gmail.com > > [[alternative HTML version deleted]] > > _

[R] [Rd] R 4.0.2 scheduled for June 22

2020-06-09 Thread Peter Dalgaard via R-help
is available on developer.r-project.org. -- 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] R 4.0.1 crashes with R commander

2020-06-08 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, Copenh

[R] R 4.0.1 is released

2020-06-06 Thread Peter Dalgaard via R-help
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) = b9c44f9f78cab3184ad9898bebc854b4 MD

Re: [R] How to create a warning inside the factorial function for decimal numbers

2020-06-01 Thread peter dalgaard
d 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, Copenha

[R] [Rd] R 4.0.1 scheduled for June 6

2020-05-24 Thread Peter Dalgaard via R-help
Full schedule is available on developer.r-project.org. -- 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] [External Email] Re: [External] Re: access for free more than 500 essential Springer Nature textbooks

2020-05-23 Thread peter dalgaard
LEASE do read the posting guide >>> http://www.R-project.org/posting-guide.html >>> and provide commented, minimal, self-contained, reproducible code. >>> >> >> [[alternative HTML version deleted]] >> >> _

Re: [R] Fitting Richards' curve

2020-05-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 Dalgaard, Pr

Re: [R] My dream ...

2020-05-13 Thread peter dalgaard
rovide 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

Re: [R] Possible bug in optimize (related to naming the arguments)

2020-05-07 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] Problem with MASS::fitdistr().

2020-04-26 Thread peter dalgaard
to fitdistr(); doesn't seem to help. >>> >>> R.T. >>> >>> -- >>> Honorary Research Fellow >>> Department of Statistics >>> University of Auckland >>> Phone: +64-9-373-7599 ext. 88276 >>> __

[R] R 4.0.0 is released

2020-04-24 Thread Peter Dalgaard via R-help
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) = b9c44f9f78cab3184ad9898bebc854b4 MD

Re: [R] custom function gives unexpected result - for me

2020-04-17 Thread Peter Langfelder
You need 1:(m-1) in your function. The operator : has precedence over -: > 1:3-1 [1] 0 1 2 > 1:(3-1) [1] 1 2 Happened to me a few times as well before I remembered. HTH, Peter On Fri, Apr 17, 2020 at 3:50 PM Monica Palaseanu-Lovejoy wrote: > > Hi, > > I wrote a relative

[R] parsing DOB data

2020-04-16 Thread Peter Nelson via R-help
se_date_time(x, cutoff_2000 = 1) : unused argument (cutoff_2000 = 1) Thanks for your help! Peter Nelson, PhD Institute of Marine Sciences University of California, Santa Cruz Center for Ocean Health, Long Marine Lab 115 McAllistair Way Santa Cruz, CA, 95076, USA 707-267-

Re: [R] A stopifnot() nastiness, even if not a bug

2020-04-13 Thread peter dalgaard
R. > > Martin > > __ > 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.

Re: [R] Add Gauss normal curve ?

2020-04-11 Thread peter dalgaard
es),nc,pch=16,type="o",col="blue",ylim=c(1,1400), > xlim=c(min(as.Date(mydates)),max(as.Date(mydates > > x <- seq(min(mydates), max(mydates), 0.1) > > curve(dnorm(x, mean(nc), sd(nc)), add=TRUE, col="red", lwd=2) >

Re: [R] POSIX system oddities

2020-03-29 Thread Peter Langfelder
The time has changed from "standard" (EST) to "Daylight saving" (EDT) which shaves off 1 hour. Peter On Sun, Mar 29, 2020 at 5:03 PM Sebastien Bihorel via R-help < r-help@r-project.org> wrote: > Hi, > > Why is there less number of seconds on 03/10/

[R] GMM twoStep vs Stata's ivreg2 gmm2s or ivregress coefficients

2020-03-29 Thread Peter Lomas
matched the arguments I think I can (Bartlett, bandwidth, errors), and experimented with others, but can't close the gap. Suggestions appreciated if people have knowledge of Stata's methods in R- I'm not sure if this is something that should be expected from numerical solvers. Thanks again Peter

Re: [R] Add labels to dendogram

2020-03-26 Thread Peter Langfelder
(df) = Tag Then continue as in your code. Peter On Thu, Mar 26, 2020 at 8:10 AM Luigi Marongiu wrote: > Dear all, > I have built a hierarchical clustering on some data as follows: > ``` > Tag = c( > "YP_008603282", "NP_054035","BAA00606",

Re: [R] Changing mu in svyttest for one sample test

2020-03-26 Thread peter dalgaard
> Mavra > > > > [[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-

Re: [R] [FORGED] Grouping Question

2020-03-22 Thread peter dalgaard
w >> Department of Statistics >> University of Auckland >> Phone: +64-9-373-7599 ext. 88276 >> >> __ >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >> http

Re: [R] Code seems OK (no warnings, no error messages) but no results

2020-03-18 Thread peter dalgaard
<-boot(data=data, statistic=MSE_fastMM, R=100) > boot.ci(bootResults_MM, type = boot.ci.type) > } > ### > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/

Re: [R] fit for truncated normal distribution

2020-03-14 Thread peter dalgaard
/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. >> > > [[alternative HTML version deleted]] > > __

[R] [Rd] R 4.0.0 scheduled for April 24

2020-03-12 Thread Peter Dalgaard via R-help
and I can't get to the machine. -- 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-de...@r

Re: [R] Problem launching Rcmdr

2020-03-11 Thread Peter Dalgaard
gt; Hopefully I haven't left out any important information. Thank you >> for any >> > suggestions. >> > >> > [[alternative HTML version deleted]] >> > >> > __ >> &

Re: [R] I am struggling with contrasts

2020-03-10 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 Pl

Re: [R] how to archive old shiny applications

2020-03-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 Da

[R] R 3.6.3 is released

2020-02-29 Thread Peter Dalgaard via R-help
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) = b9c44f9f78cab3184ad9898bebc854b4 MD

Re: [R] offset in glm

2020-02-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 code. -- Peter Dalga

Re: [R] Error: cannot allocate vector of size 6.5 Gb

2020-02-24 Thread Peter Crowther
. Cheers, - Peter On Sat, 22 Feb 2020 at 22:43, greg holly wrote: > Dear R-Help members; > > I have the following error messages when I would like to create > training and testing data for Random Forest. > > Your help is highly appreciated. > > Regards, > Greg > &g

Re: [R] How to index the occasions in a vector repeatedly under condition 1? if not, it will give a new index.

2020-02-21 Thread peter dalgaard
be silly as an implementation of is_true, of course.) -pd > On 20 Feb 2020, at 04:20 , Lijun Zhao wrote: > > > Some packages have the equivalent of that is_true function, which maps FALSE > and NA to FALSE and TRUE to TRUE. I don't think core R contains such a > function. --

[R] [Rd] R 3.6.3 scheduled for February 29

2020-02-06 Thread Peter Dalgaard via R-help
Full schedule is available on developer.r-project.org. (The date is chosen to celebrate the 5th anniversary of R 1.0.0. Some irregularity may occur on the release day, since this happens to be a Saturday and the release manager is speaking at the CelebRation2020 event...) -- Peter Dalgaard

Re: [R] how to create a pivot table in r?

2020-02-06 Thread peter dalgaard
"factor"), ObsDate = > structure(c(4L, >8L, 2L, 1L, 5L, 3L, 7L, 6L), .Label = c("05/08/14", "05/17/14", >"05/30/14", "06/13/13", "06/13/14", "06/25/13", "06/28/13", >"07/03/14&q

Re: [R] read_xlsx(readxl) apparently mangling some data input

2020-02-04 Thread peter dalgaard
ns my main Email address. I have a work web site > at: > https://www.psyctc.org/psyctc/ > and a site I manage for CORE and CORE system trust at: > http://www.coresystemtrust.org.uk/ > I have "semigrated" to France, see: > https://www.psyctc.org/pelerinage2016/sem

Re: [R] Convert Long DOY time format to yyyymmdd hh format

2020-01-23 Thread peter dalgaard
Jim's (and Petr's) solution wins -pd > On 23 Jan 2020, at 10:56 , peter dalgaard wrote: > > Here's an idea: > >> as.POSIXct(paste0("1963","-1-1"))+as.difftime(335,units="days") + >> as.difftime(3, units="hours") > [1] &qu

Re: [R] Convert Long DOY time format to yyyymmdd hh format

2020-01-23 Thread peter dalgaard
one after the other. I guess you have a > better way of handling this. I have spent some time trying to get it > right but I am really stuck. I would be most glad if you could spare > your busy time to help me again. > > Thank you very much for your usual kind assistance. > > Best regards > Ogbos > > ___

Re: [R] Mixed format

2020-01-21 Thread peter dalgaard
p > 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] choose(n, k) as n approaches k

2020-01-14 Thread peter dalgaard
. This introduces FP errors even if it is known that the result should be integer. I.e., we cannot remove the final "R_IS_INT(n) ? R_forceint(r) : r" if we want choose(n, k) to return an integer if n and k are integers. -pd > On 14 Jan 2020, at 19:20 , peter dalgaard wrote: > > OK,

Re: [R] choose(n, k) as n approaches k

2020-01-14 Thread peter dalgaard
r, due to the return R_IS_INT(n) ? R_forceint(r) : r; part. -pd > On 14 Jan 2020, at 17:02 , Duncan Murdoch wrote: > > On 14/01/2020 10:50 a.m., peter dalgaard wrote: >>> On 14 Jan 2020, at 16:21 , Duncan Murdoch wrote: >>> >>> On 14/01/2020 10:07 a.m.,

Re: [R] choose(n, k) as n approaches k

2020-01-14 Thread peter dalgaard
> On 14 Jan 2020, at 16:21 , Duncan Murdoch wrote: > > On 14/01/2020 10:07 a.m., peter dalgaard wrote: >> Yep, that looks wrong (probably want to continue discussion over on R-devel) >> I think the culprit is here (in src/nmath/choose.c) >> if (k < k

Re: [R] choose(n, k) as n approaches k

2020-01-14 Thread peter dalgaard
> Platform: x86_64-apple-darwin15.6.0 (64-bit) > Running under: macOS High Sierra 10.13.6 > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PL

Re: [R] date

2019-12-17 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. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and m

[R] R 3.6.2 is released

2019-12-12 Thread Peter Dalgaard via R-help
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) = b9c44f9f78cab3184ad9898bebc854b4 MD

Re: [R] Why does `[<-.matrix` not exist in base R

2019-11-24 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] Problem comparing two strings

2019-11-18 Thread peter dalgaard
the results I > expected. > > What else can I try? > > Best regards > > Björn > > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/ma

Re: [R] Remove highly correlated variables from a data frame or matrix

2019-11-15 Thread Peter Langfelder
Try hclust(as.dist(1-calc.rho), method = "average"). Peter On Fri, Nov 15, 2019 at 10:02 AM Ana Marija wrote: > > HI Peter, > > Thank you for getting back to me and shedding light on this. I see > your point, doing Jim's method: > > > keeprows<-apply(calc.

Re: [R] Remove highly correlated variables from a data frame or matrix

2019-11-14 Thread Peter Langfelder
the code and it may contain bugs, but something along these lines should get you where you want to be. Oh, and depending on how strict you want to be with the remaining correlations, you could use complete linkage clustering (will retain more variables, some correlations will be above 0.8). Peter

[R] [Rd] R 3.6.2 scheduled for December 12

2019-11-13 Thread Peter Dalgaard via R-help
Full schedule is available on developer.r-project.org. -- 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] transforming dates

2019-11-03 Thread Peter Dalgaard
> On 3 Nov 2019, at 21:22 , David Winsemius wrote: > > > On 11/3/19 11:51 AM, Bert Gunter wrote: === Hey, that's my birthday! Err, no it isn't... ;-) -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, D

Re: [R] save() unable to find object

2019-10-31 Thread peter dalgaard
he right direction. >>> >>> Thanks, >>> >>> __ >>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >>> https://stat.ethz.ch/mailman/listinfo/r-help >>> PLEASE do read the po

[R] [R-pkgs] packageRank (v.0.3.0) update

2019-10-26 Thread Peter Li
packageRank: compute and visualize package download counts and rank percentiles * compute and visualize the counts and ranks (nominal and percentile) of downloads from RStudio's CRAN mirror and Bioconductor. * compute and visualize a package's position in the overall distribution of download

Re: [R] using a variable and a superscript in a legend

2019-10-20 Thread Peter Dalgaard
o it does not seem necessary to explicitly call list(). That is: > >plot(1:100,1:100,type="n") >legend(list(x=0,y=100), legend = as.expression(c("Sans renard", > bquote(.(densren) (ind./km)^2))),lty=c(1,2),col=c("black","red"),bty="n&

Re: [R] using a variable and a superscript in a legend

2019-10-20 Thread Peter Dalgaard
" ind."/"km"^2))) expression("Sans renard", 1.25 * " ind."/"km"^2) but I think I prefer the as.expression(list()) construction. An alternative tack is this: > e <- expression(0,0) > e[[1]] <- "sans renard" > e[[2

Re: [R] R unable to locate base unix commands (tar, sh etc)

2019-10-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 provide commented, minimal, self-contained, re

Re: [R] stats::power.t.test error

2019-10-15 Thread peter dalgaard
You don't really want the diddling, since it gives meaningless values anyway... For a pragmatic strategy, how about this?: (a) calculate the power at n=2, if bigger than target power, done, else (b) calculate n to reach target power, now guaranteed to have n > 2. Round upwards. Pete

Re: [R] my question is how to read pvcm file

2019-10-04 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 > and provide commented, minimal, sel

Re: [R] stats::power.t.test error

2019-10-04 Thread peter dalgaard
rg 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] Real Basic Question

2019-09-27 Thread peter dalgaard
da, try e <- new.env(); load("my.rda", e); ls(e) -pd > > Thanks. > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://s

Re: [R] Not the same length

2019-09-18 Thread peter dalgaard
n*0.97, ...) gets you a length 2000 vector (check ?rnorm), and c() of 2 of those is a vector of length 4000. [...etc...] > -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email:

Re: [R] Not the same length

2019-09-18 Thread peter dalgaard
d, 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-

Re: [R] Not the same length

2019-09-17 Thread peter dalgaard
n/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 Phon

Re: [R] Bug (?): file.copy() erases 'from' file if the "to" file already exists and is a symlinked file

2019-09-13 Thread peter dalgaard
ta > cp: B.Rdata and A.Rdata are identical (not copied). > > __ > 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/po

Re: [R] missing NEWS.pdf

2019-09-10 Thread peter dalgaard
maasuk at gmail.com > > [[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] [R-devel] Source Code for function

2019-09-06 Thread peter dalgaard
; and provide commented, minimal, self-contained, reproducible code. >> > >> >> > >> [[alternative HTML version deleted]] >> > >> >> > >> __ >> > >> R-help@r-p

Re: [R] Help with fmodel in statisticalModeling package

2019-09-06 Thread peter dalgaard
> Cert No.: 506572 > > > > [[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

Re: [R] Code modification for post-hoc power

2019-08-26 Thread peter dalgaard
SCRIBE 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. >> --- >> This email has been checked for viruses b

Re: [R] results of a survival analysis change when converting the data to counting process format

2019-08-23 Thread peter dalgaard
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 UNSUBSCRIBE and more, see >> https://

Re: [R] reading in csv files, some of which have column names and some of which don't

2019-08-13 Thread peter dalgaard
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://w

Re: [R] reading in csv files, some of which have column names and some of which don't

2019-08-13 Thread Peter Langfelder
) beforehand, read with header = FALSE and check the first row for being equal to the known column names; if it contains the column names, re-read with header = TRUE. With a total of 1600 records, reading each file (at most) twice should not be a problem. Peter On Tue, Aug 13, 2019 at 11:00 AM Christopher

Re: [R] read

2019-08-08 Thread Peter Langfelder
uot;) df = read.table(text = concat, ...) # Change arguments as needed HTH, Peter On Thu, Aug 8, 2019 at 5:41 PM Val wrote: > > Thank you all, I can read the text file but the problem was there is > a single quote embedded in the first row of second column. This > quote causes

Re: [R] Error exporting dataframe from Julia to R with Feather

2019-08-08 Thread peter dalgaard
>> and provide commented, minimal, 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/

Re: [R] Accessing C source files

2019-08-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, mi

Re: [R] Question about NRC lexicon usage

2019-07-31 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 Office: A 4.

Re: [R] Creating a conditional lag variable in R

2019-07-27 Thread peter dalgaard
0L, 0L, 0L, 0L), >>X1_pre5_count = c(1L, 2L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, >>0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 1L, 2L, 3L, >>4L, 5L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, >>0L, 0L, 0L, 0L, 0L, 0L, 0L, 1L, 2L, 3L, 4L, 5L,

Re: [R] bizarre color space conversion problem

2019-07-18 Thread Peter Langfelder
Sarah, if you haven't done so already, please do us (OpenBLAS users) a big favor and report the bug, either to Fedora or directly to OpenBLAS maintainers. Peter On Thu, Jul 18, 2019 at 11:46 AM Sarah Goslee wrote: > > Wow. You are entirely correct. I would not have been able to pi

Re: [R] need help in if else condition

2019-07-14 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, Cent

Re: [R] need help in if else condition

2019-07-14 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 >

Re: [R] hist{graphics}

2019-07-13 Thread peter dalgaard
.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 read the p

Re: [R] Wolfram Engine for Developers

2019-07-05 Thread peter dalgaard
tat.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 Frederiksb

[R] R 3.6.1 is released

2019-07-05 Thread Peter Dalgaard via R-help
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) = b9c44f9f78cab3184ad9898bebc854b4 MD

Re: [R] Help with maximum likelihood estimation

2019-06-26 Thread peter dalgaard
ect.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 f

Re: [R] Add transitivity to a matrix?

2019-06-18 Thread peter dalgaard
http://www.R-project.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/mailma

[R] R 3.6.1 scheduled for July 5

2019-06-14 Thread Peter Dalgaard via R-help
Full schedule is available on developer.r-project.org. -- 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] Including a large number of variables in a formula.

2019-06-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 cod

Re: [R] Problem in using 'plm' package after updating R

2019-06-04 Thread peter dalgaard
thing happens, you should open > ‘http://127.0.0.1:19429/doc/html/index.html’ yourself > > The error messages are highlighted in blue. Please assist. > > Thanks and regards, > David Wong > > __ > R-help@r-project.org mailing list --

Re: [R] cspade {arulesSequences} error

2019-05-28 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 provide commented, minimal, self-c

Re: [R] cygwin clipboard

2019-05-22 Thread peter dalgaard
rdoch > > __ > 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, minim

Re: [R] Help understanding the relationship between R-3.6.0 and RStudio

2019-05-18 Thread peter dalgaard
you do not want to have multiple R versions on your computer, you can use > the normal Windows application uninstall process to remove the older > version(s). > > Regards, > > Marc Schwartz > > Confidentiality Notice This message is sent from Zelis. ...{{dropped:13}} > >

Re: [R] convert microns to nm in a messy dataset

2019-05-10 Thread peter dalgaard
Sq", "µm", "0.3634383236", "0.4360454777", > "0.3767733568", "45", "Sq", "nm", "102.013048", "45", "Sq", "µm", > "0.1413840498", "45", "Sq", "nm"

Re: [R] Survuval Anaysis

2019-05-02 Thread peter dalgaard
hout more details it is hard to answer but it is suspicious that it is > dropping one of your predictors and the standard errors of the other are very > large. This suggests you should investigate the joint distribution of your > predictors and the events. > > Michael > --

Re: [R] Passing formula as parameter to `lm` within `sapply` causes error [BUG?]

2019-05-01 Thread peter dalgaard
rev76424 >>> language R >>> version.string R version 3.6.0 (2019-04-26) >>> nickname Planting of a Tree >>> >>> # >>>

[R] R 3.6.0 is released

2019-04-26 Thread Peter Dalgaard via R-help
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) = b9c44f9f78cab3184ad9898bebc854b4 MD

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