Yea I can still retrieve it. Just curious if there was something to replace it
as it is quite old.
-Original Message-
From: David Winsemius
Sent: Friday, May 26, 2023 7:46 PM
To: Jeff Reichman
Cc: r-help@r-project.org
Subject: Re: [R] InformationValue package
If it was in CRAN you wil
If it was in CRAN you will find it in the Archives.
Sent from my iPhone
> On May 26, 2023, at 1:37 PM, Jeff Reichman wrote:
>
> R Help
>
>
>
>
>
> There use to be a package called "InformationValue" which was used to
> calculate the optimal probability cutoff for a ROC plot. That packag
R Help
There use to be a package called "InformationValue" which was used to
calculate the optimal probability cutoff for a ROC plot. That package was
archived some time ago and I was wondering if there is another function (in
another package) that would perform the calculation. I can alwa
Very nice, thank you!
Sarah
On Thu, May 25, 2023 at 8:20 PM Iris Simmons wrote:
>
> Hi,
>
>
> I think there are two easy ways to fix this. The first is to use a `switch`
> to call the intended function, this should not be a problem since there are a
> small number of print functions in **mixR
Please refer to Jeff Newmiller's response. I believe that your further
exploration of indexing a data frame containing an array column
demonstrates his point: don't do it!
As this discussion could now devolve into a morass of personal opinion
(such as the above), if you or others care to continue,
I agree with Iris: the switch() solution looks like the best option
here. The only change I'd make is to pass the dots down to the print
function (or possibly warn about using them if those functions don't
support any other parameters).
Duncan Murdoch
On 25/05/2023 8:20 p.m., Iris Simmons w
Evan,
Yes, once you know a bit about the details, all kinds of functions are
available to solve problems without going the hard way.
But the names() function is taught fairly widely and did you also pick up on
the fact that it can be used on both sides so it also sets the names?
> # Create a lis
Using the `assign` function is almost always a sign that you are
making things more complicated than is needed. It is better to work
directly with lists, which make it much easier to set and get names.
Your code and description can be done pretty simply using the `lapply
function (often easier th
Greetings --
I'm trying to write some code that basically does the following:
1\ user inputs a list of parameter names, and parameter values.
2\ code parses this list, extracting parameter names and values separately
3\ loops over the number of parameters, and for each parameter,
generates so
Many thanks to all. Wasn't even aware of the names function. That does
the trick for present purposes.
On 5/26/2023 12:02 AM, avi.e.gr...@gmail.com wrote:
All true Jeff, but why do things the easy way! LOL!
My point was that various data structures, besides the list we started with,
store the
Hi,
I think there are two easy ways to fix this. The first is to use a `switch`
to call the intended function, this should not be a problem since there are
a small number of print functions in **mixR**
```R
print.mixfitEM <- function (x, digits = getOption("digits"), ...)
{
switch(x$family,
You probably want `names(test)`.
On Thu, May 25, 2023 at 7:58 PM Evan Cooch wrote:
> Suppose I have the following list:
>
> test <- list(a=3,b=5,c=11)
>
> I'm trying to figure out how to extract the characters to the left of
> the equal sign (i.e., I want to extract a list of the variable names,
12 matches
Mail list logo