search for: bbolker

Displaying 20 results from an estimated 216 matches for "bbolker".

Did you mean: bolker
2018 Jan 04
3
silent recycling in logical indexing
...c(FALSE,TRUE,FALSE)],x[seq_along(x) %% 3 == 2]) On the other hand, it takes 0.025 vs 0.003 seconds per iteration ... fortunes::fortune("7ms") On Thu, Jan 4, 2018 at 4:09 PM, Berry, Charles <ccberry at ucsd.edu> wrote: > > >> On Jan 4, 2018, at 11:56 AM, Ben Bolker <bbolker at gmail.com> wrote: >> >> >> Sorry if this has been covered here somewhere in the past, but ... >> >> Does anyone know why logical vectors are *silently* recycled, even >> when they are incommensurate lengths, when doing logical indexing? > > It is co...
2016 Apr 30
1
r-bugzilla maintainer?
...and can't find anything (can't see anything being diverted to a spam box/filter) * if I click on password reminder again I get "You have requested a password token too recently to request another. Please wait 10 minutes then try again." * if I try to create a new account with bbolker at gmail.com it says one already exists ... * I can't find any contact/maintainer info on the r-bugs page. cheers Ben Bolker
2023 Nov 29
1
Code editor for writing R code
Presumably there's nothing stopping you *writing* LaTeX in comments -- do you want a code editor that will render and display the LaTeX as you write? (Or am I misunderstanding something?) Does anyone do classic literate programming *sensu* Knuth any more? https://rpubs.com/bbolker/3153 https://cran.r-project.org/web/packages/noweb/vignettes/noweb.pdf On 2023-11-29 10:57 a.m., Christofer Bogaso wrote: > Hi, > > Currently I use VS-Code to write codes in R. While it is very good, it > does not allow me to write Latex expressions in comments, which I am > will...
2010 Oct 29
7
date calculation
Hi list, Could someone explain to me why the following result is not a integer? > difftime(strptime("24NOV2004", format="%d%b%Y"), strptime("13MAY2004", >format="%d%b%Y"), units="days") Time difference of 195.0417 days I'm using R2.12.0 on WinXP. Thanks! ...Tao
2018 Apr 08
2
suggested patch for messages
Does anyone have comments on the new wording here? Suggested: The Title field should be in title case. Current version is: (xxx) In title case this would be: (Xxx) Hoping R core will see this here and magically adopt it, otherwise I'll try posting it to the r bugs site ... =================================================================== --- src/library/tools/R/QC.R (revision
2018 Jan 04
3
silent recycling in logical indexing
Sorry if this has been covered here somewhere in the past, but ... Does anyone know why logical vectors are *silently* recycled, even when they are incommensurate lengths, when doing logical indexing? This is as documented: For ?[?-indexing only: ?i?, ?j?, ?...? can be logical vectors, indicating elements/slices to select. Such vectors are recycled if necessary to match
2023 Oct 31
1
weights vs. offset (negative binomial regression)
...er my first model is a completely wrong model > and the use of offset variable?is valid in the case that > response variable is? not proportional to offset variable such as my > dataset. > > Sincerely, > > > Joon-Taek > > 2023? 10? 29? (?) ?? 3:25, Ben Bolker <bbolker at gmail.com > <mailto:bbolker at gmail.com>>?? ??: > > ? ?Using an offset of log(Effort) as in your second model is the more > standard way to approach this problem; it corresponds to assuming that > catch is strictly proportional to effort. Adding log(Effort...
2019 Feb 22
2
model.matrix.default() silently ignores bad contrasts.arg
...>> ------------------------------------------------- >> John Fox, Professor Emeritus >> McMaster University >> Hamilton, Ontario, Canada >> Web: http::/socserv.mcmaster.ca/jfox >> >> > On Feb 20, 2019, at 7:14 PM, Ben Bolker <bbolker at gmail.com> wrote: >> > >> > An lme4 user pointed out <https://github.com/lme4/lme4/issues/491> that >> > passing contrasts as a string or symbol to [g]lmer (which would work if >> > we were using `contrasts<-` to set contrasts on a...
2019 Feb 23
1
model.matrix.default() silently ignores bad contrasts.arg
...and the reminder about filling the omission there! Prepared to go (into the sources) now. Martin >> -----Original Message----- From: Martin Maechler >> [mailto:maechler at stat.math.ethz.ch] Sent: Friday, >> February 22, 2019 11:50 AM To: Ben Bolker >> <bbolker at gmail.com> Cc: Fox, John <jfox at mcmaster.ca>; >> r-devel at r-project.org Subject: Re: [Rd] >> model.matrix.default() silently ignores bad contrasts.arg >> >> >>>>> Ben Bolker >>>>> on Thu, 21 Feb 2019 08:18:51 -05...
2011 Nov 28
1
plotting multiple lines on single graph ggplot2
Hello everyone I have some data of the following type. 100 200 300 400 500 1.1 1.2 1.3 1.4 1.5 600 700 800 900 1000 1.5 1.7 1.9 2.0 2.4 With plot() and points functions I can plot these 4 lines of data. But I dont know how to do it with qplot or ggplot functions. The scenario is something like this: the hundreds should appear on x-axis and the fractional values of y axis. Thanks alot. MEMON
2023 Dec 14
0
R-help Digest, Vol 250, Issue 13
...cible code. > [[alternative HTML version deleted]] ------------------------------ Message: 3 Date: Tue, 12 Dec 2023 21:19:12 +0000 (UTC) From: varin sacha <varinsacha at yahoo.fr> To: "r-help at r-project.org" <r-help at r-project.org>, Ben Bolker <bbolker at gmail.com> Subject: Re: [R] ggplot2: Get the regression line with 95% confidence bands Message-ID: <68588390.888662.1702415952477 at mail.yahoo.com> Content-Type: text/plain; charset="utf-8" Dear Ben, Dear Daniel, Dear Rui, Dear Bert, Here below my R code. I really a...
2012 Jan 16
0
Fwd: Trouble installing packages on R2.14.1
Begin forwarded message: > From: Ken Hutchison <vicvoncastle@gmail.com> > Date: January 15, 2012 8:54:49 PM EST > To: Ben Bolker <bbolker@gmail.com> > Subject: Re: [R] Trouble installing packages on R2.14.1 > > Check browser proxy settings and run R.exe with the proper flags to use them from cmd. > Hope that helps, > Ken > > > On Jan 15, 2012, at 8:44 PM, Ben Bolker <bbolker@gmail.com> wrote:...
2015 May 28
1
building with tcltk on Ubuntu 14.04
On 28/05/2015, at 11:57 AM, Martin Maechler wrote: >>>>>> Ben Bolker <bbolker at gmail.com> >>>>>> on Tue, 26 May 2015 11:13:41 -0400 writes: > > >> False alarm. Completely wiping out my build directory followed by > >> ../R-devel/configure --with-tcl-config=/usr/lib/tclConfig.sh >> - --with-tk-config=/usr/lib/tkConfig.s...
2009 Jul 01
2
locale changing on Windows
Dear r-helpers, This is a little bit more of a Windows problem than an R problem, but ... any idea how to query the *available* locales from within R (or otherwise) on a Windows system? Teaching in a Spanish-language setting and would like to do something like Sys.setlocale("LC_TIME","en_US") (for example so that we can convert dates like "1970-jan-01" with
2012 Mar 04
2
additional "X" characters in headers
An embedded and charset-unspecified text was scrubbed... Name: nie znany URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120304/77fc46a4/attachment.pl>
2019 Jan 03
2
history of objects() and ls()
I found out today (maybe I had known sometime before??) that objects() is a synonym for ls(). I'm curious about the history, which seems to go at least back to the beginning of R. It's been thus since SVN revision 2 (Sep 1997) ... svn cat https://svn.r-project.org/R/trunk/src/library/base/R/attach at 2 | grep objects I had a quick look at the Becker & Chambers brown book (1984)
2019 Jul 23
2
[External] Re: quiet namespace load is noisy
...FALSE, warning=FALSE} library("afex") library("ggplot2") library("cowplot") theme_set(theme_grey()) ``` Result: https://cran.r-project.org/web/packages/afex/vignettes/afex_plot_introduction.html Best, Henrik Am Di., 23. Juli 2019 um 14:52 Uhr schrieb Ben Bolker <bbolker at gmail.com>: > > Does setting message=FALSE in the chunk options of the vignette help? > > Or less preferably, using supressMessages() ? > > On 2019-07-23 9:36 a.m., Lenth, Russell V wrote: > > Lionel, > > > > Thanks for your response. I understand that...
2023 Jul 23
2
col2rgb() function
Thanks That works nicely Nick On Sun, 23 Jul 2023 at 19:26, Ben Bolker <bbolker at gmail.com> wrote: > Does adjustcolor() help? > > cb8<- c("#000000", "#E69F00", "#56B4E9", "#009E73","#F0E442", "#0072B2", > "#D55E00", "#CC79A7") > plot(0,0,xlim=c(1,8),ylim=c(0,1)) >...
2015 May 26
2
building with tcltk on Ubuntu 14.04
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 False alarm. Completely wiping out my build directory followed by ../R-devel/configure --with-tcl-config=/usr/lib/tclConfig.sh - --with-tk-config=/usr/lib/tkConfig.sh; make seems to work. (My fault for assuming repeated cycles of ./configure; make would actually do the right thing ...) There seems to be a corollary of Clarke's Law
2020 Aug 11
2
M[cbind()] <- assignment with Matrix object loses attributes
? Does this constitute a bug, or is there something I'm missing? assigning sub-elements of a sparse Matrix via M[X]<-..., where X is a 2-column matrix, appears to drop user-assigned attributes. I dug around in the R code for Matrix trying to find the relevant machinery but my brain started to hurt too badly ... ?? Will submit this as a bug if it seems warranted. library(Matrix) m1