) * (0 - (-Inf)) / (1000 - (-Inf))
= 1 + 0 * Inf / Inf
= 1 + NA / Inf
= 1 + NA
= NA
Zero times infinity is undefined.
[1] <https://en.m.wikipedia.org/wiki/Linear_equation>
On July 4, 2025 3:50:26 AM PDT, "Timothy Earl (Cefas) via R-help"
wrote:
>Hi,
>
>I
))(0)
# [1] 1
approxfun(x=c(-Inf, 1000), y=c(1, 1))(0)
# [1] NaN
Sessioninfo:
R version 4.3.0 (2023-04-21 ucrt) -- "Already Tomorrow"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
Thanks,
Tim
_
gt;> [4,]4 10
>> [5,]5 11
>> [6,]6 12
>> > b<-matrix(5:12,nrow=4); b
>> [,1] [,2]
>> [1,]59
>> [2,]6 10
>> [3,]7 11
>> [4,] 8 12
>> > cbind.fill(a,b)
>> Error in cbind.fill(
Not an expert, but from my read of the explanation you linked, the .svg
IS the source. You could think of it as the source for .svg render engines,
On 6/27/2025 12:16 PM, Ranjan Maitra via R-help wrote:
Hi,
Is there code for drawing the R logo? https://www.r-project.org/logo/ has the
logo
Hi,
Is there code for drawing the R logo? https://www.r-project.org/logo/ has the
logo in svg and png formats, and also the terms of the license, but I can not
find code to draw this.
Many thanks and best wishes,
Ranjan
__
R-help@r-project.org
gt;Given that we've had SUA then WSL in the Windows world for years now,
>it's not that uncommon for a file to be edited in both a Windows
>editor and a Unix editor and end up with a mix of line. In the Apple
>world we had A/UX and MachTen, so mixed LF and CR files were not that
&
Hi all,
On Windows I'm seeing the following:
> tf <- tempfile()
> writeBin(charToRaw("\r\r\n"), tf)
> readLines(file(tf, "r"))
[1] ""
> readLines(file(tf, "rb"))
[1] "" "" ""
The former matches Guido
o accommodate all of these possibilities, throwing an error if any
>> entry does not conform to any of the possibilities that you envisage.
>>
>> cheers,
>>
>> Rolf Turner
>>
>> --
>> Honorary Research Fellow
>> Department of Statistics
>> U
n
>
> That would certainly be a possibility but it seems to me that this is
> sufficiently simple to add to base R. If it is in a package, users would need
> to install the package.
>
> Dennis
>
>
> Dennis Fisher MD
> P < (The "P Less Than" Company)
-Oorspronkelijk bericht-
Van: Enrico Schumann
Verzonden: woensdag 25 juni 2025 16:44
Aan: Heuvel, E.G. van den (Guido)
CC: 'r-help@R-project.org'
Onderwerp: Re: [R] Potential bug in readLines when reading empty lines
[Externe email]
Quoting "Heuvel, E.G. van de
, it appears to not be working
correctly.
-Oorspronkelijk bericht-
Van: Jeff Newmiller
Verzonden: woensdag 25 juni 2025 16:10
Aan: Heuvel, E.G. van den (Guido) ; Heuvel, E.G. van den
(Guido) via R-help ; 'r-help@R-project.org'
Onderwerp: Re: [R] Potential bug in readLines when re
pe of generic line end
>handling algorithm that you describe. However, it appears to not be working
>correctly.
>
>-Oorspronkelijk bericht-
>Van: Jeff Newmiller
>Verzonden: woensdag 25 juni 2025 16:10
>Aan: Heuvel, E.G. van den (Guido) ; Heuvel, E.G. van
>den (Guido
e this and submit a suggestion/patch to R and hope
someone agrees that such a change won't cause more havoc than it avoids for
other users. But that would be unlikely to happen in a timely fashion for your
current needs.
On June 24, 2025 11:59:58 PM PDT, "Heuvel, E.G. van den (Guido) via
Hi all,
I encountered some weird behaviour with readLines() recently, and I am
wondering if this might be a bug, or, if it is not, how to resolve it. The
issue is as follows:
If I have a text file where a line ends with just a carriage return (\r, CR)
while the next line is empty and ends in
ice1 = paste0(var, '1_price'),
price2 = paste0(var, '2_price'),
volume1 = paste0(var, '1_volume'),
volume2 = paste0(var, '2_volume')
)
]
--
Best regards,
Ivan
______
R-help@r-project.org mailing list -- To U
::log.
To investigate this further, I used a machine that dual-boots Windows 11 and
Linux.
In addition to calling the primitive functions `exp` and `log` in R, I also
compared the implementation used by OpenLibm
(https://github.com/JuliaMath/openlibm):
A subset of the timings are as follows
CG and Nelder-Mead. Brian Ripley
> asked me in 1995
> if he could p2c these for R.
>
> But generally, "old" codes can be difficult to run. I've found quite ancient
> Fortran can be
> run fairly easily on Linux as long as there's not too much input-outpu
Dear data analyst (or small investor?),
В Fri, 13 Jun 2025 11:49:37 + (UTC)
Small Investor via R-help пишет:
> 1. Version compatibility issues seem to be on the rise. Very
> often, you get the message that package x was built on R version y
> (and thus, won't work in your vers
Would you prefer that R be static?
If you don't like the dependency hell of certain packages, then perhaps those
packages are not appropriate for you. You always have the option to create your
own packages... and in nearly all cases the licenses of contributed packages
allow you
Dear R community,
I have been using R for over 15 years. I want to raise an issue which has been
haunting me for some time now: It feels as if R is falling apart. I try to
justify this feeling by providing three discussion points:
1. Version compatibility issues seem to be on the rise. Very
The build system rolled up R-4.5.1.tar.gz and .xz (codename “Great Square
Root") this morning.
This is a patch release with a handful of minor changes and mixups.
The list below details the changes in this release.
You can get the source code from
https://cran.r-project.org/src/base/
aes(x=x, y=y, colour=w, group=w)) +
> geom_line(linewidth=2) +
> ggtitle("A+B")
>ggplot(df[df$z=="A",], aes(x=x, y=y, colour=w, group=w)) +
> geom_line(linewidth=2) +
> ggtitle("A")
>ggplot(df[df$z=="B",], aes(x=x, y=y, colour=w, group=w
and formulas of basic statistics, but also know where the theory and
numbers come from.
One contribution to my knowledge of the material was the fact that I
tried to work all the problems and homework in the course in R, even
though the course itself never mentioned it or used it. It was still
help
M Brian Smith briansmith199...@gmail.com
>>> wrote:
>>>
>>> > Hi,
>>> >
>>> > Let say I have a range [0, 100]
>>> >
>>> > Now I need to simulate 1000 10 mid-points within the range with
>>> > accuracy upto
ge with
> > accuracy upto second decimal number.
> >
> > Let say, one simulated set is
> >
> > X1, X2, ..., X10
> >
> > Ofcourrse
> >
> > X1 < X2 < ... >
> > I have one more constraint that the differ
number.
>>
>> Let say, one simulated set is
>>
>> X1, X2, ..., X10
>>
>> Ofcourrse
>>
>> X1 < X2 < ... >
>> I have one more constraint that the difference between any 2
>> consecutive mid-points shall be at-least 5.00.
>&g
Could you please help why I am getting NA value?
>
>______
>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 https://www.R-project.org/posting-guide.html
>and provide
ould still have your x and y partition variables from when you
created the data frame, and you should be able to construct the matrix using
the matrix() constructor (not the as.matrix function) from your data frame z
column.
?matrix
On May 31, 2025 4:04:20 AM PDT, ravi via R-help wrote:
>H
phi = 20) :
At least one coordinate must be a matrix
How do I get z in the form of a matrix?
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 posting guide
I am sorry to hear that you are having difficulty with your computer. However,
this mailing list is about the R programming language.. not about text editors
or about file recovery. I suggest you hire a local computer consultant familiar
with file recovery on your operating system.
There may
gt; Paul Zachos, PhD
>> Director, Research and Evaluation
>> Association for the Cooperative Advancement of Science and Education
>> (ACASE)
>> 110 Spring Street Saratoga Springs, NY 12866 |
>> p...@acase.org | www.acase.org
>>
>>
>>
>&g
quot;, "", "", "",
"Jul-2023", "", "", "", "", "",
"Jan-2024", "", "", "", "", "",
On Tue May20'25 12:15:41AM, Ranjan Maitra via R-help wrote:
> From: Ranjan Maitra via R-help
> Date: Tue, 20 May 2025 00:15:41 -0500
> To: r-help@r-project.org
> Reply-To: Ranjan Maitra
> Subject: Re: [R] how to read a PSB file in R?
>
> On Tue May20'25 05:56:59A
On Tue May20'25 12:15:41AM, Ranjan Maitra via R-help wrote:
> From: Ranjan Maitra via R-help
> Date: Tue, 20 May 2025 00:15:41 -0500
> To: r-help@r-project.org
> Reply-To: Ranjan Maitra
> Subject: Re: [R] how to read a PSB file in R?
>
> On Tue May20'25 05:56:59A
t; 1-x
>
>> On 18.05.2025, at 19:40, paul zachos via R-help wrote:
>>
>> Dear R Community
>>
>> I am an R beginner
>>
>> I have a vector of ‘1’s and ‘0’s
>>
>> x
>> [1] 0 0 1 0 0 1 1 0 1 0 1 1 1 0 1 1 0 0 1 0 1 0 1 0 0 0 0
>> [28] 0
(In hindsight I should have used a `zero.print` value that looked less like a
typo, e.g. `zero.print = "--"` in my example. Sorry about the potential
confusion.)
-Original Message-----
From: R-help On Behalf Of Marttila Mikko via
R-help
Sent: Friday, 23 May 2025 13:21
To: How
Tim,
The purpose of the `replace.zero` argument is to allow longer replacements.
See for example the behaviour with a character vector input:
> prettyNum("0", zero.print = "- ", replace.zero = TRUE)
[1] "- "
I'm pretty sure this is a bug, and have now p
zero.print = " - ", replace = TRUE)
[1] " "
Warning message:
In .format.zeros(x, zero.print, replace = replace.zero) :
'zero.print' is truncated to fit into formatted zeros; consider 'replace=TRUE'
When zero.print is only one character, it doesn'
ribution, or reliance upon the contents of
this e-mail is strictly prohibited. If you have received this e-mail
transmission in error, please reply to the sender, so that they can arrange for
proper delivery, and then please delete the message from your computer systems.
Thank you.
Hi,
I suppose that I might be considered a grey-hair, both literally and
figuratively, at least for what little hair I have left…. ;-)
John might find this article by Thomas from R News in September of 2001 of
interest. R News was the predecessor to the R Journal:
https://journal.r
Surely doing
y <- 1 - x
would be the simplest way?
Best,
Tom
> -Original Message-
> From: R-help On Behalf Of Rui Barradas
> Sent: 19 May 2025 08:08
> To: paul zachos ; r-help@r-project.org
> Subject: Re: [R] Looking for a function or a set of steps
>
> Às 1
On Tue May20'25 05:56:59AM, Rui Barradas wrote:
> From: Rui Barradas
> Date: Tue, 20 May 2025 05:56:59 +0100
> To: Ranjan Maitra , r-help@r-project.org
> Subject: Re: [R] how to read a PSB file in R?
>
> Às 03:17 de 20/05/2025, Ranjan Maitra via R-help escreveu:
> >
I have come across this file (warning, massive, 4.3 GB)
https://esahubble.org/media/archives/images/original/heic1502a.psb and it
appears to be a filetype I was not aware of previously.
Is it possible to read the file in R using any tool? It is an image and I am
looking for the RGB of the
I realise that shiny and Rstudio is often seen as OT here but I have a
strong suspicion that the issue is R or R/OS related so I hope someone
here will have some thoughts that might help me.
The scenario is that as of yesterday running my shiny project locally
from within Rtudio, i.e. by
May 19 15:36 keyring
0 srwxrwxr-x 1 chris chris 0 May 19 15:36 kwallet5.socket
0 drwx-- 2 chris chris 40 May 19 15:36 gvfsd
0 drwx-- 2 chris chris 60 May 19 15:36 dconf
0 drwx------ 2 chris chris 60 May 19 15:36 at-spi
4 -rw-rw-r-- 1 chris chris 77 May 19 15:36 KSMse
Dear R Community
I am an R beginner
I have a vector of ‘1’s and ‘0’s
x
[1] 0 0 1 0 0 1 1 0 1 0 1 1 1 0 1 1 0 0 1 0 1 0 1 0 0 0 0
[28] 0 1 1 0 1 0 1 1 0 0 0 0 1 0 1 1 0 0 1 0 0 1 0 0 0 1 1
[55] 0 0 1 0 1 0 0 0 1 1 1 1 0 1 0 0 0 1 0 0 1 1 0 0 0 0 0
[82] 1 1 1 0 1 0 0 1 0 0 1 1 1 1 1
I would
I have now followed your advice and switched to the R-sig-debian help list.
Ravi
On Thursday, 15 May 2025 at 12:59:05 CEST, ravi wrote:
I did some googling and then ran:
> bspm::shadowed_packages()
Package LibPath Version Shadow.LibPath
Shadow.Version Shadow.Ne
I did some googling and then ran:
> bspm::shadowed_packages()
Package LibPath Version Shadow.LibPath
Shadow.Version Shadow.Newer
bspmbspm /usr/lib/R/site-library 0.5.7 /home/ravi/rvi/Rlib 0.5.7
FALSE
I have a copy of bspm in the /usr/lib/R/s
Hello,
I'm encountering what seems to me to be an anomaly with the as.Date() function.
If I fill in an origin or not, the function will not return the same type of
object (integer or double).
Here's a small example:
``` r
as.Date(0L) |> typeof()
#> [1] "integer"
as.
Thanks to Jeff and Ivan for your helpful comments.
Ravi
On Saturday, 10 May 2025 at 11:37:29 CEST, Ivan Krylov
wrote:
В Thu, 8 May 2025 19:39:40 + (UTC)
ravi via R-help пишет:
> In windows, I add the following line:
> .libPaths(c(“C:/Rownlib”,”C:/R/R-4.5.0/library”))
>
ative numbers into powers or log or sqrt... kind
of things. Read the documentation for your analysis packages carefully.
On May 9, 2025 2:31:29 AM PDT, Luigi Marongiu wrote:
>Dear R-Help,
>I am trying to determine the growth rate of bacteria under specific
>conditions using
>ipo
В Thu, 8 May 2025 19:39:40 + (UTC)
ravi via R-help пишет:
> In windows, I add the following line:
> .libPaths(c(“C:/Rownlib”,”C:/R/R-4.5.0/library”))
> in the file C:/R/R-4.5.0/etc/Rprofile.site
>
> I have my own list of packages in the Rownlib folder and the packages
&
gt; to the package author or is it a problem common enough so that
> developer's guidelines should address this?
Sorry for the noise. Backticks were not the problem. For those
interested: I run R using the command
konsole -e R
to have it in its own terminal window. As I sometimes work on differ
27;s
guidelines should address this?
______
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 https://www.R-project.org/posting-guide.html
and provide commented, mi
You might be better off just using the renv package.
To your question, you should probably be reading the R Installation and
Administration manual.
Note that packages can be installed by the system administrator in *nix
environments and the alternate libraries allow you to use some set of R
Hi,
In Windows, I follow a method with customized library locations that has worked
for me when upgrading to new R versions. I have not been able to follow the
same method in Ubuntu. I would like to have help. Let me explain.
In windows, I add the following line:
.libPaths(c(“C:/Rownlib”,”C:/R
dput function is another big help in constructing this.
The help list really works best when we share code snippets that don't work
right in our R sessions and comment on them. Make an effort to learn how your
email client can be configured to compose your email in plain text so the
formattin
ers.
People also often have to work with column names provided by an external
source. It can be harder to explain to people familiar with the original data
that you renamed all the columns they see because it was inconvenient not to.
If you have that luxury, fine... but R can absolutely avoid mung
Hi guys,
For my MSc. thesis i am using R studio. The goal is for me to merge a couple
(6) of relatively large datasets (min of 200.000 and max of 2mil rows). I have
now been able to do so, however I think something might be going wrong in my
codes.
For reference, i have a dataset 1 (200.000
> > they’re more common in teaching. Meanwhile, classic Normal and t
> > methods aren’t going away – they’re fundamental and still useful.
> > Future students will continue to learn both, getting the best of both
> > worlds.
> >
> > Good luck in your studies!
>
didn't write to complain. I promise to limit
off-topic questions in the future.
-Kevin
On Mon, 2025-05-05 at 15:17 +, Kevin Zembower wrote:
> I marked this posting as Off Topic because it doesn’t specifically
> apply to R and Statistics, but is rather a general question about
>
what
> assumption or which test is problematic and why?
>
> Tim
__
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 https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
till useful.
> Future students will continue to learn both, getting the best of both
> worlds.
>
> Good luck in your studies!
> gregg
______
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 https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
the easiest and quickest part.
Thank you again, Bert, for replying. I always enjoy your contributions
to this group.
-Kevin
__
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 https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
ago where this was discussed:
>
> https://www.stat.math.ethz.ch/pipermail/r-help/2023-August/477904.html
>
> I generally use:
>
> export OPENBLAS_NUM_THREADS=1
> export MKL_NUM_THREADS=1
>
> since in my experience the biggest performance gains come from switching to
going
away – they’re fundamental and still useful. Future students will continue to
learn both, getting the best of both worlds.
Good luck in your studies!
gregg
On Monday, May 5th, 2025 at 8:17 AM, Kevin Zembower via R-help
wrote:
>
>
> I marked this posting as Off Topic because i
I marked this posting as Off Topic because it doesn’t specifically
apply to R and Statistics, but is rather a general question about
statistics and the teaching of statistics. If this is annoying to you,
I apologize.
As I wrap up my work in my beginning statistics course, I’d like to ask
a
Peter,
The eigenvalues are not identical(), but are all.equal(). When n is 20, the
crossproduct is (numerically) a diagonal matrix with +-1 on the diagonal. When
n is 50, this is not the case, but that could be an issue of nearly identical
eigenvalues.
Is there no way within R to require that
ma::augLag(), which allows both equality and bound
constraints and uses augmented Lagrangian methods — possibly offering improved
precision with gradient-based control.
Happy to assist with any of those, as time permits - perhaps next week.
r/
Gregg
On Thursday, May 1st, 2025 at 1:01
I am using MKL with R 4.5.0 on Linux, and eigen() is producing different
results with identical calls. Specifically, when I run the code below, I get
"FALSE" from identical(). Just in case it had something to do with a random
number generator, I put identical set.seed() calls immediat
constraints:
• ∑β(1)=1.60 \ sum β^{(1)} = 1.60∑β(1)=1.60
• ∑β(2)=1.60 \ sum β^{(2)} = 1.60∑β(2)=1.60
3. Element-wise bounds applied to each β set:
• lower = c(1, -1, 0)
• upper = c(2, 1, 1)
Planning to wrap this into an updated nloptr optimization routine. I’ll work on
a .R script as time
ut. (The sharing would only be on the local
>network, not the entire internet, making them feel more comfortable with
>it.)
>
>Ideally, we would then have a frontend R (controller) that could run
>`mclapply` statements on this Franken-computer, and be smart enough about
>how to distrib
to the worker nodes or
even rely on the nodes being able to accept incoming connections.
It's possible to run a BOINC server yourself [1], although the server
side will take some work to set up, and the jobs need to be specially
packaged. In theory, one could package R as a BOINC app and arra
The R antibugging practice here is to not use the return function. The
expression on the last line of the function is automatically the return value
of the function. Some people use return within conditionals in the function,
but when I have conditional execution flow I prefer to simply assign
On Wed, 30 Apr 2025 11:15:02 +0200
Ralf Goertz via R-help wrote:
> If this is not an error what is its purpose?
>From the point of view of the R syntax, everything is an expression.
One of the uses of return() being an expression is base::callCC(). The
ability to use it inside an expr
ariant (which returns the value of
the numerator only) not a syntax error? I would have expected R to
report something like
> Error: unexpected '/' in "return(OR^2+6*OR+1)/"
If this is not an error what is its purpose?
______
R-help@r-p
want to apply separate lower/upper bounds to each of the six β
coefficients (and if so, what are they for each)?
Once I understand this last part better, I’ll see about working on a version
that fits this updated structure and constraint logic.
As always – no promises.
r/
Gregg Powell
Sierra Vist
ader=F))
>
> # [1] 1798
>
>
> # local
>
> download.file(addr, destfile=basename(addr))
>
> nrow(read.csv(gzcon(file(basename(addr), "r"), text=T), header=F))
>
> # [1] 429498
I can reproduce the problem (with slightly different numbers):
length(readLines(
Don't copy installed packages. There are also periodically changes in the
compiler toolchain, and many packages have compiled code in them that can
misbehave if you mix old compiled code and new compiled code. The kinds of
errors you get can range from minor random answers to crashing R.
.5.0. One of them has tools
in the 4.4 library and the other does not. I have no clue what the difference
might be
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd@c
nt"), lin)) :
> > > NA/NaN/Inf in foreign function call (arg 5)
> > > ```
> > > How can I properly set this regression model?
> > > Thank you
> >
> > > On Wed, Apr 16, 2025 at 7:08 AM Luigi Marongiu marongiu.lu...@gmail.com
> &g
- Constraint functions: sum(β) = 1.60 and increasing cutpoints
- Optimization via nloptr()
Hopefully, you’ll be able to run it locally with only the VGAM, foreign, and
nloptr packages.
I’ll send the .R file along with the next email. A best attempt, anyway.
r/
Gregg
“Oh, what fun it is
& Statistics
> > > University of Melbourne, VIC 3010 Australia
> > > Tel: (+61) 0403 138 955
> > > Email: a...@unimelb.edu.au
> > > Website: https://researchers.ms.unimelb.edu.au/~apro@unimelb/
> > >
> > > I acknowledge the Traditional Ow
lel with theory, if you'd like a working R example coded from scratch —
with:
• a custom likelihood for an ordinal (cumulative logit) model,
• fixed thresholds / no intercept,
• coefficient bounds,
• and a sum constraint on β
I’d be happy to attempt that using nloptr() or constrOptim(). You
, Christofer Bogaso
wrote:
>Hi Gregg,
>
>I am sincerely thankful for this workout.
>
>Could you please suggest any text book on how to create log-likelihood
>for an ordinal model like this? Most of my online search point me
>directly to some R function etc, but a theoretical discus
Christofer,
Given the constraints you mentioned—bounded parameters, no intercept, and a sum
constraint—you're outside the capabilities of most off-the-shelf ordinal
logistic regression functions in R like vglm or polr.
The most flexible recommendation at this point is to implement c
the following error , at the following point in the code ..." )
On 2025-04-16 12:11 p.m., varin sacha via R-help wrote:
> R-experts,
>
> The R script here below.
>
> How to solve my problem ?
>
> Best,
>
>
> ##
> # Load packa
R-experts,
The R script here below.
How to solve my problem ?
Best,
##
# Load packages
install.packages("remotes")
remotes::install_github("bd2kccd/r-causal")
# Install 'gssr' from 'ropensci' universe
install.packag
y of Melbourne, VIC 3010 Australia
Tel: (+61) 0403 138 955
Email: a...@unimelb.edu.au
Website: https://researchers.ms.unimelb.edu.au/~apro@unimelb/
I acknowledge the Traditional Owners of the land I inhabit, and pay my respects
to their Elders.
On 16 Apr 2025 at 1:01 AM +1000, Gregg Powell via R-
tted a glm model to some data; how can I find the inverse
> function of this model? Since I don't know the y=f(x) implemented by
> glm (this works under the hood), I can't define a f⁻¹(y).
> Is there an R function that can find the inverse of a glm model?
> Thank you.
>
> The
ng execution
>time? Are you planning on looking at all t and T within a range?
>
>Tim
>
>-Original Message-
>From: R-help On Behalf Of Bert Gunter
>Sent: Monday, April 14, 2025 4:16 PM
>To: Duncan Murdoch
>Cc: r-help@r-project.org
>Subject: Re: [R] Drawing a sa
remains handled as arguments and return values rather than as data in the
object itself.
The lm class in base R uses a "constructor computes and methods retrieve
results" approach... which isn't quite as flexible as a transformer approach
but still hides the gory details.
My re
Hi R team!
Since last Friday 04/04, my team and I have faced an error with running
the 'get_acs()' command from the tidycensus package. The code we ran and the
error message we received are shown below. Our troubleshooting efforts showed
that:
1. When we run the code with
there are ways to implement constraints on parameter estimates in ordinal
logistic regression in R. Here are a few approaches:
The rms package (Regression Modeling Strategies) by Frank Harrell offers the
lrm function which can handle constraints through its penalty parameter, though
it
ote:
>
> Hello,
>
> I would like to request the removal of my email address from the R forum
> reply/update list. I no longer wish to receive notifications or messages
> related to forum discussions.
>
> Thank you for your attention and understanding.
>
> Best re
all been simulations, bootstraps, randomized distributions, etc.
Thank you, again, Rui and Michael, for your help for me.
-Kevin
On Sat, 2025-03-29 at 16:42 +, Rui Barradas wrote:
> Às 16:09 de 29/03/2025, Kevin Zembower via R-help escreveu:
> > Hello, all,
> >
> > We'r
in my statistics class
and how I was doing it in R. Thanks, all who contributed to this
thread.
Thanks, again, Neal, for your help.
-Kevin
On Sat, 2025-03-29 at 13:46 -0700, Neal Fultz wrote:
> >
> > I've been setting up problems like this with code similar to:
> > ==
> On Mar 29, 2025, at 9:59 AM, Kevin Zembower via R-help
> wrote:
>
> Hi, Rui and Michael, thank you both for replying.
>
> Yeah, I'm not supposed to know about Chi-squared yet. So far, all of
> our work with hypothesis tests has involved creating the sample dat
Hello, all,
We're now starting to cover hypothesis tests in my Stats 101 course. As
usual in courses using the Lock5 textbook, 3rd ed., the homework
answers are calculated using their StatKey application. In addition
(and for no extra credit), I'm trying to solve the problems using R. I
Dear R-experts,
Here below a toy example not working. After some researches on the Net, still
don't get it !
Many thanks for your precious help.
#
library(knitr)
library(ggplot2)
library(pollster)
library(dplyr)
statut=c("married","not ma
1 - 100 of 3772 matches
Mail list logo