Re: [R] duplicated() on zero-column data frames returns empty

2024-05-13 Thread Mark Webster via R-help
s crossed! Best Regards,Mark Webster [[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-proj

[ESS] brace_linter

2024-04-29 Thread Mark Leeds via ESS-help
So thanks for your patience and help. I'm hoping that I can put something in my .emacs file to override this behavior ? Mark [[alternative HTML version deleted]] __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help

Re: [R] duplicated() on zero-column data frames returns empty

2024-04-07 Thread Mark Webster via R-help
xample: str(duplicated(matrix(0, 5, 0), MARGIN = 0))# logi[1:5, 0 ] Best Regards, Mark Webster [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLE

Re: [R] duplicated() on zero-column data frames returns empty vector

2024-04-05 Thread Mark Webster via R-help
nd anyDuplicated() are generic functions, and > you can subclass your data frames to change their behaviour: > > ... Indeed, I'm already doing something along these lines! Best Regards,Mark [[alternative HTML version deleted]] _

[R] duplicated() on zero-column data frames returns empty vector

2024-04-05 Thread Mark Webster via R-help
f3[, keycols, drop = FALSE]) # TRUE because equivalent to !any(logical(0)) by above, should be FALSE --- Best Regards,Mark [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/ma

Re: [ESS] Have M-x R point at the most recent version of R

2023-09-27 Thread Mark Seeto via ESS-help
ion you're using. Hope that helps. Mark > Date: Wed, 27 Sep 2023 06:30:24 + > From: =?utf-8?B?SMO8c2luZywgSm9oYW5uZXM=?= > > To: Toby Hocking > Cc: "ess-help@r-project.org" > Subject: Re: [ESS] Have M-x R point at the most recent version of R > M

Re: [R] on lexical scoping....

2023-04-05 Thread Mark Leeds
Hi Duncan. I read it a long time ago so it's probably best if I read it again ALONG with your corrections. Every detail matters with these concepts so thanks a lot. Mark On Wed, Apr 5, 2023 at 5:12 AM Duncan Murdoch wrote: > It seems mostly correct. Here are a few quibbles: > >

Re: [R] on lexical scoping....

2023-04-04 Thread Mark Leeds
obviously, everyone has different opinions on what's useful but I always found this document quite helpful. I think, in the past, someone said that there are some incorrect statements in but I'm not sure what they are.

[R] Issue with Rmath standalone (dwilcox, pwilcox, qwilcox, rwilcox) with unif_rand()

2023-02-14 Thread Mark Clements via R-help
qwilcox and rwilcox. Can anyone explain this behaviour, please? Sincerely, Mark. När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI kommer att behandla dina personuppgifter. Här finns information om hur KI behandlar personuppgifter<https://ki.se/medarbetare/integritetss

Re: [R] Sweave

2022-06-26 Thread R. Mark Sharp via R-help
<https://support.rstudio.com/hc/en-us/articles/200552336-Getting-Help-with-R> provided the following guidance with regard to get help with RStudio. The RStudio Community <http://community.rstudio.com/> is our discussion board for asking questions about R, Shiny, and package developme

Re: [R] Funky calculations

2022-02-01 Thread Mark Fowler
Sorry, last post I meant not > 1 Sent from Mail for Windows From: Nathan Boeger Sent: Tuesday, February 1, 2022 12:28 PM To: r-help@r-project.org Subject: [R] Funky calculations Hello, I

Re: [R] Tephra horizons and confidence

2022-01-21 Thread Mark Hall
Without seeing your code and the various potential parameters you can set, it is really hard to say. BACON is a nifty age-depth modelling program, but the devil can be in the details. It would also help knowing the data also. Best, Mark E Hall On Thursday, January 20, 2022, 08:36:36 AM

[R] R For Windows - Apache Log4J Vulnerability Inquiry

2021-12-14 Thread Franklin, Mark via R-help
r Info MH01W-R for Windows v3.1.1 The R Project https://www.r-project.org/ If this is not the correct email contact, would you be able to provide the appropriate contact? Thanks, Mark Franklin | Business Support Analyst | RBC Global Asset Mana

Re: [R] Help with strange RGui behavior? Will not consistently run source.

2021-11-17 Thread Mark Fowler
Hi, This issue bears some similarity to a problem I�ve been experiencing over the last few days. R 4.0.3, Windows 10, RGui. My ability to adjust window dimensions took a serious slide (cursor on edge or corner, click and tug). Usually only works now if I pause for awhile after the click before

[R] Which version of R install for mac

2021-11-05 Thread Mark Don Young
I am having trouble finding a version of R install compatible with my mac. I have an older Macbook pro 2016 with the latest version of Big Slur 11.6. Intel core i5 2.9 Ghz-Dual-Core. Is there a version of R compatible with my computer? Thanks Mark [[alternative HTML version deleted

[ESS] emacs-ess and the dreaded dotemacs file

2021-10-19 Thread Mark Leeds via ESS-help
Hi All: Would anyone mind doing me a big favor and fixing any ( even one is great ) problems in my current dotemacs file. I was able to get some of it to run but when it hits the auto-complete section, I start having all kinds of problems. For most of it, ( from the auto-complete section and on

Re: [R] Generate oauth token using HTTR package in R

2021-08-03 Thread Mark Fowler
Hi Lac, The status code means that you were not authorized to access the site, perhaps reflecting some problem with your syntax or your permissions. I note that attempting to simply go to the link to check on it gives status code 405, meaning the typical click on the hypertext is not an

Re: [R] wanting to count instances of values in each cell of a series of simulated symmetric matrices of the same size

2021-06-01 Thread R. Mark Sharp via R-help
attention. I will provide more definitive feedback later. Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow Green St. San Antonio, TX 78251 mobile: 210-218-2868 rmsh...@me.com > On Jun 1, 2021, at 10:44 PM, Bert Gunter wrote: > > C

[R] wanting to count instances of values in each cell of a series of simulated symmetric matrices of the same size

2021-06-01 Thread R. Mark Sharp via R-help
shipValues, kValue) kinshipCounts[length(kinshipCounts) + 1] <- 1 } else { kinshipCounts[kinshipValue] <- kinshipCounts[kinshipValue] + 1 } list(kinshipValues = kinshipValues, kinshipCounts = kinshipCounts) } Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consult

Re: [R] Testing optimization solvers with equality constraints

2021-05-21 Thread Mark Leeds
to supply gradients so I'm not sure what those functions are doing that don't allow it as an argument. I guess some numerical approximation. Hopefully John or Ravi will chime in with their expertise when they see this posting. Mark P.S: You may want to try Rvminb. John wrote that one

Re: [R] Testing optimization solvers with equality constraints

2021-05-21 Thread Mark Leeds
Hi Hans: I think that you are missing minus signs in the 2nd and 3rd elements of your gradient. Also, I don't know how all of the optimixation functions work as far as their arguments but it's best to supply the gradient when possible. I hope it helps. On Fri, May 21, 2021 at 11:01 AM Hans

Re: [R] Error using nls function

2021-03-27 Thread Mark Leeds
David: Note that your problem is linear so it looks like you can use the lm function to estimate a, b and c. ( or as a check against what john did ) Unless I'm missing something which could be the case ! Also, see Bloomfield's text for a closed form solution. I think it's called "Intro To

Re: [R] library(hms)

2021-03-17 Thread Mark Leeds
Hi: install.packages("hms") should work if you have R installed along with an internet connection. When you do above, if you get a message about other packages needing to be installed, then use install.packages("hms", dependencies = TRUE). On Wed, Mar 17, 2021 at 1:08 PM Gregory Coats via

Re: [ESS] Difficulty installing ESS from MELPA

2021-02-23 Thread Mark Seeto via ESS-help
taining "", and to avoid needing a workaround to stop eldoc information appearing in the R console buffer. Mark -- __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help

Re: [ESS] spurious (list ....)

2021-02-18 Thread Mark Seeto via ESS-help
> From: "Richard M. Heiberger" > > ess sends spurious commands to the *R* buffer, for example > > > (list "base" '(("..." . "") ("deparse.level" . "1")) '("..." > > "deparse.level" "recursive" "make.row.names" "stringsAsFactors" > > "factor.exclude" "use.names" "fill" "idcol" "size" "z"

[ESS] Difficulty installing ESS from MELPA

2021-02-12 Thread Mark Seeto via ESS-help
ng the error messages "Symbol’s function definition is void: ess-local-process-name" and "Error running timer ‘ess--idle-timer-function’: (void-function ess-local-process-name)"? Thanks, Mark Seeto - __ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help

[R] C++11 requirements for package dependencies

2020-11-30 Thread Mark Clements
r versions of R? Moreover, as a principle, should a package need to change the Makevars and DESCRIPTION files to suit the most recent updates of their dependencies? I would have thought that such a need would break many packages. Sincerely, Mark. När du skickar e-post till Karolinska Institutet (KI) inneb

Re: [R] Inappropriate color name

2020-11-19 Thread Mark Hall
brouha of 2008 on the UC Berkeley campus when the Metis chancellor of UCB at the time told several groups the term Indian was derogatory and shouldn't be used--a variety of California Native Americans gave him a piece of their mind in no uncertain terms... Best, Mark E Hall On Tuesday, November

Re: [R] R for-loop to add layer to lattice plot

2020-10-27 Thread Mark Leeds
Hi: I think you're writing over the plots so only the last one exists. Maybe try P = P + whatever but I'm not sure if that's allowed with plots. On Tue, Oct 27, 2020 at 8:34 AM Luigi Marongiu wrote: > Hello, > I am using e1071 to run support vector machine. I would like to plot > the data

[R] [R-pkgs] ascii package returns to CRAN

2020-09-21 Thread Mark Clements
The ascii package provides formatted tables and lists in a number of markup formats (Asciidoc, Org mode, Pandoc markdown, ReStructured text, Txt2tags and Textile). Documents in Rmarkdown and Org mode can include R code blocks that produce markup output. Sweave drivers are also available for all

Re: [R] Calling a procedure

2020-09-20 Thread Mark Leeds
Hi Steven: Rui's detailed explanation was great. The way I think of it is, if you don't want to send the variables in with the same order as the formal arguments, then you better name them as you send them in. On Sun, Sep 20, 2020 at 7:23 AM Steven Yen wrote: > Thanks. So, to be safe,

[ESS] Latest Emacs distributions out!

2020-09-18 Thread Mark Seeto via ESS-help
t; Hi all, > > With some delay, I'm glad to announce that my "modified" Emacs distributions > for Windows and macOS based off GNU Emacs 27.1 are out: > Thank you Vincent. I've used your modified Emacs for Windows for many years, and I find it very useful. Mark --

Re: [R] How to obtain individual log-likelihood value from glm?

2020-08-28 Thread Mark Leeds
Hii: It's been a long time but John Fox's "Companion to Appied Regression" book has the expressions for the likelihood of the binomial glm. ( and probably the others also ). Just running logLik is not so useful because it could be leaving out multiplicative factors. If you can get your hands on

Re: [R] confusion about write.csv

2020-06-04 Thread Mark Leeds
Hi Erin: The default for write.csv is col.names = TRUE . So, in the second one, if you put, col.names = FALSE, that should work. It's confused right now because you want to append but also write the column names again. Mark On Thu, Jun 4, 2020 at 9:34 PM Erin Hodgess wrote: > He

Re: [R] [External Email] Re: [External] Re: access for free more than 500 essential Springer Nature textbooks

2020-05-22 Thread Mark Leeds
tly, that it is for libraries to > obtain access to the e-books for free? It does not seem to me that an > invididual can download one--am I missing that part? > > Thanks > > --Chris Ryan > > Mark Leeds wrote: > > Abby: here's an easier link for seeing what you might like. > > >

Re: [R] [External] Re: access for free more than 500 essential Springer Nature textbooks

2020-05-22 Thread Mark Leeds
Abby: here's an easier link for seeing what you might like. https://link.springer.com/search?facet-content-type=%22Book%22=mat-covid19_textbooks&%23038;facet-language=%22En%22&%23038;sortOrder=newestFirst&%23038;showAll=true On Fri, May 22, 2020 at 9:18 PM Richard O'Keefe wrote: > the real

Re: [R] Help with map()

2020-05-14 Thread Mark Fowler
Any chance you forgot to load a library (e.g. maps) for the second round, or maybe changed a loading sequence and overwrote the intended map function? Looks like #2 might be trying to use a purrr-style map function. Sent from Mail for Windows 10

Re: [R] 'closure' (was "stats:: spline's method could not be monoH.FC")

2020-05-06 Thread Mark Leeds
example of "messing around with environments." > > On Thu, 7 May 2020 at 15:36, Mark Leeds wrote: > > > > Hi Abby: I agree with you because below is a perfect example of where > not understanding environments causes a somewhat > > mysterious problem. Chuck Berry e

Re: [R] 'closure' (was "stats:: spline's method could not be monoH.FC")

2020-05-06 Thread Mark Leeds
Richard: I may have implied that one should "mess with environments" by saying that I agree with Abby. If so, my apologies because that's not what I meant. I only meant understanding. On Thu, May 7, 2020 at 12:47 AM Mark Leeds wrote: > Hi Richard: I didn't say it was and didn't

Re: [R] 'closure' (was "stats:: spline's method could not be monoH.FC")

2020-05-06 Thread Mark Leeds
Hi Abby: I agree with you because below is a perfect example of where not understanding environments causes a somewhat mysterious problem. Chuck Berry explains it in a follow up email. https://r.789695.n4.nabble.com/issues-with-environment-handling-in-model-frame-td4762855.html On Wed, May 6,

[R] Fwd: stats:: spline's method could not be monoH.FC

2020-05-03 Thread Mark Leeds
to take me some time but I highly recommend checking it out if you haven't already. Maybe it's like a fine wine and just gets better with age !!! Good luck. Mark -- Forwarded message - From: Abby Spurdle Date: Sun, May 3, 2020 at 6:19 AM Subject: Re: [R] stats:: spline's

Re: [R] stats:: spline's method could not be monoH.FC

2020-05-03 Thread Mark Leeds
n, May 3, 2020 at 6:19 AM Abby Spurdle wrote: > Hi Mark, > > The article is good. > However, there's still some grey areas. > > The documentation for base::typeof equates a closure with a function. > However, the article defines a closure as a function together with an &

Re: [R] Problem with MASS::fitdistr().

2020-04-26 Thread Mark Leeds
it's been a long time but I vaguely remember Rvmminb computing gradients ( and possibly hessians ) subject to constraints. John can say more about this but, if one is going to go through the anguish of creating a fitdstr2, then you may want to have it call Rvmminb instead of whatever is

Re: [R] Changes to stats::glm function between R versions 3.4.0 and 3.5.1

2020-04-22 Thread Purver, Mark
cause. I hope to understand whether such differences indicate any change to the 'glm' function between version 3.4.0 of the 'stats' package and later versions. These differences are only apparent when the model does not converge. Thanks, Mark dat <- data.frame( a = c(1, 3, 8, 9, 2, 3, 4

[R] Changes to stats::glm function between R versions 3.4.0 and 3.5.1

2020-04-16 Thread Purver, Mark
of R that I use, so I'm hoping I can produce results with 3.5.1 that are as similar as possible to those of 3.4.0. Many thanks, Mark Purver Statistician, UK Ministry of Justice This e-mail and any attachments is intended only for the attention of the addressee(s

Re: [R] Relatively Simple Maximization Using Optim Doesnt Optimize

2020-03-12 Thread Mark Leeds
than a bug in the R code. Mark On Thu, Mar 12, 2020 at 5:55 PM Abby Spurdle wrote: > > (1) An exact solution can be derived quickly > > Please disregard note (1) above. > I'm not sure if it was right. > > And one more comment: > > The conjugate gradient method is an

Re: [R] Statistical Analysis of an Exchange Rate

2020-03-05 Thread Mark Leeds
or possibly even more appropriate is quant.stackexchange.com. On Thu, Mar 5, 2020 at 4:38 AM Eric Berger wrote: > Alternatively you might try posting to > r-sig-fina...@r-project.org > > > > On Wed, Mar 4, 2020 at 9:38 PM Bert Gunter wrote: > > > Your question is way off topic here -- this

Re: [R] File names for mac newby

2020-01-21 Thread R. Mark Sharp via R-help
. Though this absolute path will work, relative paths are often preferred. Mark R. Mark Sharp, Ph.D. rmsh...@me.com > On Jan 21, 2020, at 2:02 PM, Kevin Thorpe wrote: > > You would also need to drop the c: as that is a DOS/Windows thing. > > -- > Kevin E. Thorpe >

Re: [R] Extracting a particular column from list

2020-01-17 Thread Mark Leeds
I nominate the last sentence of Rolf's comment as a fortune. On Thu, Jan 16, 2020 at 3:48 PM Rolf Turner wrote: > > On 17/01/20 1:55 am, Rui Barradas wrote: > > > Hello, > > > > What column and what list? > > Please post a reproducible example, see the link at the bottom of this > > mail and

[R] [R-pkgs] New package 'semEff'

2019-11-11 Thread Mark Murphy
things for linear and generalised linear (mixed) models, like standardised coefficients, R-squared, etc. Feedback/bug reports welcome. This is my first CRAN release. Cheers, Mark -- *Mark V. Murphy* *Community Ecologist* murph...@gmail.com * <https://orcid.org/-0001-9178-0871>* ORCID <ht

Re: [R] stats::lm has inconsistent output when adding constant to dependent variable

2019-09-28 Thread Mark Leeds
Hi Berwin: Yes, that's it. Donsker is famous for a functional CLT so I was mixing up statistics and stochastic processes I better stick to statistics. It's safer. ! Thanks for correction. I'm ccing R-help since it may be useful to someone there. See below for Berwin's comment. Mark On Sat

Re: [R] stats::lm has inconsistent output when adding constant to dependent variable

2019-09-27 Thread Mark Leeds
correction to my previous answer. I looked around and I don't think it's called the donsker effect. It seems to jbe referred to as just a case of "perfect separability.". if you google for" perfect separation in glms", you'll get a lot of information. On Fri, Sep 27,

Re: [R] stats::lm has inconsistent output when adding constant to dependent variable

2019-09-27 Thread Mark Leeds
Hi: In your example, you made the response zero in every case which is going to cause problems. In glm's, I think they call it the donsker effect. I'm not sure what it's called in OLS. probably a lack of identifiability. Note that you probably shouldn't be using zeros and 1's as the response in a

[R] install_github broken for dependencies on packages previously installed from private github repo.

2019-07-25 Thread Mark Mendel
R 3.6.0 -- Mark Mendel Director of Software Development MEI Research, Ltd 6016 Schaefer Rd Edina, MN 55436 mmen...@meinergy.com (651) 485-9 <%28952%29%20373-1636>369 http://meinergy.com/ [[alternative HTML version deleted]] __ R-

[R] question about redfit from dplR

2019-07-07 Thread Mark Hall
anyone know of another redfit spectral analysis program other than what is in astrochron? best, Mark Hall [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/l

Re: [R] Increasing number of observations worsen the regression model

2019-05-26 Thread R. Mark Sharp via R-help
8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_3.6.0 R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow G

[R] Vectorised uniroot function

2019-04-23 Thread Mark Clements
gth=n))$root } rweibullMixturePH <- rfun(pweibullMixturePH) set.seed(12345) y <- rweibullMixturePH(n=1e4,p1=0.5,RR=2,shape1=1.5,shape2=0.5) Has anyone previously developed a similar vectorised uniroot function? Finally, would this be a useful addition to core R? -- Mark När du skickar e-po

[R] Run time error with afex package

2019-04-14 Thread Ricard, Mark D
have tried version 3.3, 3.4 and 3.53 Mark D. Ricard Biomechanics Laboratory<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwweb.uta.edu%2Ffaculty%2Fricard%2FBiomechLab.html=02%7C01%7C%7Ceed3acbb15514be30bf108d6222b0941%7C5cdc5b43d7be4caa8173729e3b0a62d9%7C0%7C0%7C636733965559996

Re: [R] R Data

2019-02-14 Thread Fowler, Mark
I am not sure I would use the word ‘accounted’, more like discounted (tossed out). From: Spencer Brackett Sent: February 14, 2019 9:21 AM To: Fowler, Mark Cc: R-help ; Sarah Goslee ; Caitlin Gibbons ; Jeff Newmiller Subject: Re: R Data Mr. Fowler, Thank you! This information is most

Re: [R] R Data

2019-02-14 Thread Fowler, Mark
Hi Spencer, The an1 syntax is adding regression coefficients (or NAs where a regression could not be done) to the downloaded and processed data, which ends up a matrix. The cbind function adds the regression coefficients to the last column of the matrix (i.e. bind the columns of the inputs in

Re: [R] MGCV:: boundary conditions in gam

2018-11-13 Thread Mark R Payne
Perfect! This might be a good example to add to the documentation of mgcv somewhere Thanks. Mark On Thu, 8 Nov 2018 at 22:08, Simon Wood wrote: > This first derivative penalty spline will do it, but the price paid is > that the curves are often quite wiggly. > > > library(

[R] MGCV:: boundary conditions in gam

2018-11-08 Thread Mark R Payne
to be zero at boundaries, so that I simply get a constant value outside the domain? Best wishes, Mark [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r

[R] Writing .nc files

2018-08-28 Thread R. Mark Sharp via R-help
Marco, Always post to the r-help list to have a better chance of finding someone that can help. There is a very nice tutorial that you should have found. See http://geog.uoregon.edu/bartlein/courses/geog490/week04-netCDF.html#create-and-write-a-netcdf-file Mark R. Mark Sharp, Ph.D. Data

Re: [R] help

2018-08-10 Thread R. Mark Sharp via R-help
Marco, The error message indicates that nlon*nlat is 420 and that 1378620/420 has a remainder. For the matrix to form, all rows have to be complete. I am guessing you have at least one value incorrect among nlon, nlat, t or the length of fulldatav. Mark R. Mark Sharp, Ph.D. Data Scientist

Re: [R] F-test where the coefficients in the H_0 is nonzero

2018-08-09 Thread Mark Leeds
Hi: the F-test is a joint hypothesis ( I never used that function from the car package but it sounds like it is ) and the t-statistics that come out of a regression are "conditional" in the sense that they test the significance of one coefficient given the other so you wouldn't expect the two

Re: [R] Making objects global in a package

2018-07-13 Thread R. Mark Sharp via R-help
I would usually use a function for this. It may not be more R like, but it is more readable to me. If you want, to keep the columns in a file, you could have the function initialize itself on the first call. Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526

[R] Problem with adding a raster and a brick

2018-05-24 Thread Mark R Payne
er, or if they are both bricks. Any suggestions what could be going wrong? Installation details below Best wishes, Mark > R.version _ platform x86_64-pc-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 3 minor

Re: [R] Hacked

2018-04-18 Thread Fowler, Mark
Seems it must be the R-list. A horde of ‘solicitation’ emails began arriving about 27 minutes after I posted about not seeing any! Had left work by that time, so did not encounter them until now. From: Mark Leeds [mailto:marklee...@gmail.com] Sent: April 18, 2018 12:33 AM To: Rui Barradas Cc

Re: [R] Hacked

2018-04-17 Thread Mark Leeds
; > On 4/17/2018 8:34 PM, Ding, Yuan Chun wrote: > >> No, I do not use gmail, still got dirty spam email twice. >> >> -Original Message- >> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Fowler, >> Mark >> Sent: Tuesday, April 17, 201

Re: [R] Hacked

2018-04-17 Thread Fowler, Mark
Just an observation. I have not seen the spam you are discussing. Possibly it is specific to gmail addresses? -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Luis Puerto Sent: April 17, 2018 4:11 PM To: Peter Langfelder Cc: R-Help ML R-Project;

Re: [R] Learning advanced R

2018-03-13 Thread Mark Leeds
See Hadley's advanced R along Thomas Mailund's books. I haven't gone through them carefully but they both seem (from what I've looked at ) to be the best ones for that. Mentions of others are appreciated. On Tue, Mar 13, 2018 at 5:26 PM, Nik Tuzov wrote: > > Hello:

[R] Quantile regression with some parameters fixed across tau..

2018-02-23 Thread Mark R Payne
due to beta. If I just fit the model using the quantreg package like so: mdl <- rq( y ~ alpha +beta, data, tau=c(0.25,0.5,0.75)) ..the values of alpha that I get vary according to the tau. Is there anyway to force alpha to be the same across all taus? Best wishes, Mark [[alternat

Re: [R] how to search r-help?

2018-01-19 Thread Mark Dwyer via R-help
Thank you all for these suggestions. The nabble and markmail links are focus(able) on r-help and easy (for me) to use. - Mark On 19/01/18 14:04, John wrote: On Fri, 19 Jan 2018 10:47:56 -0800 Mark Dwyer via R-help <r-help@r-project.org> wrote: I am new to this listand am unable

[R] how to search r-help?

2018-01-19 Thread Mark Dwyer via R-help
. - Mark Dwyer [[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] how to search r-help?

2018-01-19 Thread Mark Dwyer via R-help
Also https://www.r-project.org/posting-guide.html indicates that RSiteSearch() within R searches R-help but in my install (3.4.3) RSiteSearch() only searches  "help pages, vignettes or taskviews" On 19/01/18 10:47, Mark Dwyer wrote: I am new to this listand am unable to get the se

Re: [R] require help

2017-12-27 Thread R. Mark Sharp
Yadav, We need some information that is missing in order to help you. PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Mark R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant

Re: [R] Timezone problem with 3.4.2

2017-11-30 Thread R. Mark Sharp
rom the system setting when R is configured with --with-internal-tzcode (the default on macOS). R. Mark Sharp, Ph.D. Data Scientist and Biomedical Statistical Consultant 7526 Meadow Green St. San Antonio, TX 78251 mobile: 210-218-2868 rmsh...@me.com > On Nov 30, 2017, at 8

Re: [R] Timezone problem with 3.4.2

2017-11-30 Thread R. Mark Sharp
Dennis, Brian Ripley pointed out shortly after 3.4.2 was released that the timezone was not being set correctly because of last minute changes to MacOS. You will have to install 3.4.3. I am waiting for the native installer, which will likely be out within a few days. Mark R. Mark Sharp, Ph.D

Re: [R] Interesting behavior of lm() with small, problematic data sets

2017-09-05 Thread mark . hogue
Tim, I think what you're seeing is https://en.wikipedia.org/wiki/Loss_of_significance. Cheers, Mark From: "Glover, Tim" <tim.glo...@amecfw.com> To: "r-help@r-project.org" <r-help@r-project.org> Date: 09/05/2017 11:37 AM Subject:[R] Interes

Re: [R] Comparing 2 dale columns

2017-08-23 Thread Mark Sharp
ctor to POSIXct so you do not necessarily ## need the as.Date. However, they are not the same and you may need the Date ## class. data$COL2 <- as.Date(strptime(data$COL2, format = "%m/%d/%y")) data$COL1 <- as.Date(strptime(data$COL1, format = "%m/%d/%y")) data data$Date_F

Re: [R] Package nleqslv ERROR

2017-08-09 Thread Mark Sharp
descriptive). Thus, when "x" inside your function gets the value of "startx" it becomes a numeric vector of length 2, which is then used to set the length of the numeric vector "f". As soon as the function tries to assign a value to f[3], R correctly throws an informativ

Re: [R] Error in setwd("dir") :

2017-08-05 Thread mark . hogue
Did you put the directory in quotes with forward slashes? Please show command used. Sent from my iPhone > On Aug 5, 2017, at 1:10 PM, ? ? wrote: > > Hello, I got some of the R source code and not being able to Run it in > RStudio. > I get the error: > > Error in

Re: [R] by() subset by factor gives unexpected results

2017-08-05 Thread Mark Leeds
= j$B) On Sat, Aug 5, 2017 at 5:59 AM, Myles English <mylesengl...@gmail.com> wrote: > > The answer was (thanks to Mark Leeds) to do with the use of a factor > instead of a vector. > > on [2017-08-05] at 08:57 Myles English writes: > > > I am having trouble under

Re: [R] How to concatenate in R

2017-08-02 Thread Mark Sharp
://www.statmethods.net/management/merging.html Look at the readxl package. You may want to start with http://readxl.tidyverse.org. Mark R. Mark Sharp, Ph.D. msh...@txbiomed.org > On Aug 2, 2017, at 6:06 AM, Swain, Subrat <subrat.sw...@aig.com> wrote: > > > Hi, > > I ha

Re: [R] Loading Rcmdr

2017-07-24 Thread Mark Sharp
stringi_1.1.5 grid_3.4.1 [45] tools_3.4.1 magrittr_1.5lazyeval_0.2.0 tibble_1.3.3 [49] Formula_1.2-2 cluster_2.0.6 MASS_7.3-47 Matrix_1.2-10 [53] data.table_1.10.4 minqa_1.2.4 rpart_4.1-11nnet_7.3-12 [57] nlme_3.1-131compiler_3.4.1 &g

[R] metRology package

2017-07-12 Thread mark . hogue
der problems. Thanks in advance for any suggestions. - Mark [[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 htt

Re: [R] Please help(urgent) - How to simulate transactional data for reliability/survival analysis

2017-07-05 Thread Mark Sharp
I am trying to figure out the algorithm you are using to calculate event_episodes, event_status, and start_minutes. Where does the 129600 come from? Why is the start(minutes) 0 for the last row instead of 40? Mark R. Mark Sharp, Ph.D. msh...@txbiomed.org > On Jul 5, 2017, at 1:03

Re: [R] Please help(urgent) - How to simulate transactional data for reliability/survival analysis

2017-07-04 Thread Mark Sharp
to have with any guidance regarding how to use the other columns in you data set (e.g., the event(0/1)). Mark R. Mark Sharp, Ph.D. msh...@txbiomed.org > On Jul 4, 2017, at 7:02 AM, Sunny Singha <sunnysingha.analyt...@gmail.com> > wrote: > > Thanks Boris and Bret,

Re: [R] package to fit mixtures of student-t distributions

2017-06-29 Thread Mark Leeds
Hi: The R package below may be of use to you. https://journal.r-project.org/archive/2009-1/RJournal_2009-1_Ardia+et+al.pdf On Thu, Jun 29, 2017 at 12:15 PM, Ranjan Maitra wrote: > Would package "teigen" help? > > Ranjan > > On Thu, 29 Jun 2017 14:41:34 +0200 vare vare via

[R] Aggregate counts of observations with times surrounding a time?

2017-05-15 Thread Mark Noworolski
I have a data frame that has a set of observed dwell times at a set of locations. The metadata for the locations includes things that have varying degrees of specificity. I'm interested in tracking the number of people present at a given time in a given store, type of store, or zip code. Here's

Re: [R] Looping Through DataFrames with Differing Lenghts

2017-03-27 Thread Mark Sharp
Make some small dataframes of just a few rows that illustrate the problem structure. Make a third that has the result you want. You will get an answer very quickly. Without a self-contained reproducible problem, results vary. Mark R. Mark Sharp, Ph.D. msh...@txbiomed.org > On Mar 27, 2

Re: [R] Reversing table()

2017-03-17 Thread Mark Sharp
not return the vectors, those values that went into the function do not survive the trip. Mark R. Mark Sharp, Ph.D. msh...@txbiomed.org > On Mar 17, 2017, at 7:23 AM, Kevin E. Thorpe <kevin.tho...@utoronto.ca> wrote: > > I am wondering if there is a way to undo the results of table().

Re: [R] Correlations Table of Items when compute Cronbach's Alpha

2017-02-21 Thread Mark Sharp
Have you looked at the help page? ?alpha::alpha See the section labeled Value. Look at output <- alpha(data, keys = c(1, 1, 1, -1)) output$r output$r.cor output$r.drop R. Mark Sharp, Ph.D. msh...@txbiomed.org > On Feb 21, 2017, at 9:43 AM, Steven Stoline <sstol...@gmail.c

Re: [R] Failure to understand namespaces in XML::getNodeSet

2017-01-31 Thread Mark Sharp
harlesRiver) > ## I was surprised to find the incorrect namespace value did not matter > xml_find_all(no_ns, "//WorkSet//Description", ns = xml_ns(with_ns)) {xml_nodeset (1)} [1] MFIA 9-Plex (CharlesRiver) > ## This also seems to ignore the namespace argument value > xml_find_all(xml_ns_st

Re: [R] Failure to understand namespaces in XML::getNodeSet

2017-01-31 Thread Mark Sharp
all") : no applicable method for 'xml_find_all' applied to an object of class "character" R. Mark Sharp, Ph.D. msh...@txbiomed.org > On Jan 31, 2017, at 4:27 PM, Hadley Wickham <h.wick...@gmail.com> wrote: > > See the last example in ?xml2::xml_find_a

[R] Failure to understand namespaces in XML::getNodeSet

2017-01-31 Thread Mark Sharp
the XML string without the namespace and fail when using the XML string with the namespace. Mark PS I am having the same problem with the xml2 package and am hoping understanding one with help with the other. ## library(XML) ## The first XML text (no_ns_xml) does not have a namespace defined

Re: [R] Save a generated .txt (or .csv) file on the desktop

2017-01-30 Thread Mark Sharp
You can define the "file" argument in your call to write.csv() ## This will write out a file named "test_file.csv" to your working directory write.csv(tableau,file = "test_file.csv", row.names=FALSE) R. Mark Sharp, Ph.D. msh...@txbiomed.org > On Jan

Re: [R] Coverting HTML data into CSV

2017-01-20 Thread Mark Sharp
() with its argument being the object containing the HTML data. Mark R. Mark Sharp, Ph.D. msh...@txbiomed.org > On Jan 19, 2017, at 4:11 PM, El Polidan <polida...@hotmail.com> wrote: > > Good evening, > > > I need to convert and HTML data file into a CSV file. > > >

Re: [R] Fitting Hastie's principal surfaces in R

2017-01-03 Thread Hall, Mark
Did you search for the princurve package? Sounds like it may be what you want. See https://cran.r-project.org/web/packages/princurve/index.html Best, MEH Mark E. Hall, PhD Assistant Field Manager Black Rock Field Office Winnemucca District Office 775-623-1529. On Sun, Jan 1, 2017 at 2:56 AM

Re: [R] Urgent help

2016-12-27 Thread Mark Sharp
Please note that your message should be plain text and any attachments must be text and have a .txt extension. Your attached code was apparently removed because it did not have an extension of .txt. It is best to include your code within the body of the message. Mark R. Mark Sharp, Ph.D

  1   2   3   4   5   6   7   8   9   10   >