Re: [R] Obtaining R-squared from All Possible Combinations of Linear Models Fitted

2023-07-18 Thread Jan van der Laan
The dredge function has a `extra` argument to get other statistics: optional additional statistics to be included in the result, provided as functions, function names or a list of such (preferably named or quoted). As with the rank argument, each function must accept as an argument a fitted mo

Re: [R] Off-topic: ChatGPT Code Interpreter

2023-07-18 Thread Joseph Lucke
The near year as Metropolis, 1927. On Tue, Jul 18, 2023, 1:27 AM Rui Barradas wrote: > Às 00:23 de 18/07/2023, Jim Lemon escreveu: > > I haven't really focused on the statistical capabilities of AI, that > > marriage of massive memory and associative learning. I am impressed by > > its ability

Re: [R] change language at console

2023-07-18 Thread Rich Shepard via R-help
On Wed, 1 Apr 2015, Prof Brian Ripley wrote: > I would start by trying LANGUAGE=en , e.g. More specifically, you can use en_US or en_GB. Rich [...] ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏

[R] Error: promise already under evaluation

2023-07-18 Thread Joseph Lucke
A repost. R gurus: I have a 10 or so functions that use R’s qnbinom() function. Until now, they have worked without any problems whatsoever. I created a new function, which involved the integration, using R’s integrate(), of a function that in turn uses the qnbinom() function. The function failed b

Re: [R] Error: promise already under evaluation

2023-07-18 Thread Ivan Krylov
В Tue, 18 Jul 2023 09:28:30 -0400 Joseph Lucke пишет: > Error in qnbinom(1 - tol, size = q, prob = r) : > pRsq.Rhosq <- function(x, n, p, Rhosq,tol=tol){ It looks like you're not passing the `tol` parameter, and its default value unfortunately refers to itself: (function(x = x) x)() # Error in

Re: [R] Off-topic: ChatGPT Code Interpreter

2023-07-18 Thread avi.e.gross
Just to bring it back to R, I want to point out that what many R programmers do is not that different. If you develop some skills at analyzing some kinds of data and have a sort of toolchest based on past work, then a new project along similar lines may move very quickly. After a while, you may

Re: [R] Error: promise already under evaluation

2023-07-18 Thread Joseph Lucke
Fixed! I was not passing a tol value from the outer function to the inner qnbinom() function. Because the scope of tol in qbinom() was confined to the outer function, qnbinom was not accessing the globally defined tol value. Furthermore, because the outer function itself was embedded in integrate()

Re: [R] Off-topic: ChatGPT Code Interpreter

2023-07-18 Thread avi.e.gross
Jim, I am not sure what your example means but text to image conversion can be done quite easily in many programming environments and does not need an AI unless you are using it to hunt for info. I mean you can open up many Paint or Photo programs and look at the menus and often one allows you to

Re: [R] Off-topic: ChatGPT Code Interpreter

2023-07-18 Thread Ebert,Timothy Aaron
I was thinking that text-to-image conversion was something like NightCafe (https://creator.nightcafe.studio/) which is very much AI and not something I know how to do with Paint or Photoshop. -Original Message- From: avi.e.gr...@gmail.com Sent: Tuesday, July 18, 2023 2:34 PM To: 'Jim Le

Re: [R] Off-topic: ChatGPT Code Interpreter

2023-07-18 Thread Hadley Wickham
> I am not sure what your example means but text to image conversion can be > done quite easily in many programming environments and does not need an AI > unless you are using it to hunt for info. I mean you can open up many Paint > or Photo programs and look at the menus and often one allows you

Re: [R] Off-topic: ChatGPT Code Interpreter

2023-07-18 Thread avi.e.gross
Hadley, Thanks and I know many such things exist. I simply found it interesting that what was mentioned seemed simpler as just being a converter of text to make a bitmap type image. Now if I want a simulated image of a cat riding a motorcycle while holding an Esperanto Flag, sure, I would not e