On Tue, 22 Nov 2022 08:15:57 +0800
"Steven T. Yen" wrote:
> Thanks to all, but no, signif() did not work:
It worked, just didn't do what you wanted it to do. I think you want
round(), not signif(). Some of your numbers (45.3185794) will be rounded
to 4 significant digits and others (0.096) w
Most clustering algorithms are just heuristic and exploratory, well known
to be subject to the sorts of issues that you are concerned with. There are
no universal fixes ... just tradeoffs. You need to choose that which is
most appropriate for your situation and data,.
Bert
On Mon, Nov 21, 2022, 1
Dear R-Users,
Hidden Problems with Clustering Algorithms
I stumbled recently upon a presentation about hierarchical clustering.
Unfortunately, it contains a hidden problem of clustering algorithms.
The problem is deeper and I think that it warrants a closer inspection
by the statistical commu
???
> vals <- signif(cbind(c(.123,.0123), c(1.23,.00123)), digits = 2)
> print(vals)
[,1] [,2]
[1,] 0.120 1.2000
[2,] 0.012 0.0012
2 *significant* digits, but enough digits to right of decimal point to
**allow** the two significant digits to appear and have all numbers in
a column line up
Andrew's example works for him and for me.
If you want help, provide the output of
dput(head(Mean))
dput(head(Std.dev))
On November 21, 2022 4:15:57 PM PST, "Steven T. Yen" wrote:
>Thanks to all, but no, signif() did not work:
>
>> print(signif(cbind(Mean,Std.dev),digits=2))
> Mean Std.
Thanks to all, but no, signif() did not work:
> print(signif(cbind(Mean,Std.dev),digits=2))
Mean Std.dev
[1,] 0.310 0.46
[2,] 0.190 0.39
[3,] 45.000 16.00
[4,] 0.510 0.50
[5,] 0.490 0.50
[6,] 0.700 0.46
On 11/22/2022 5:41 AM, Andrew Simmons wrote:
For print()
Hi All
How about data.frame or zapsmall.
Apologies for the small set but it seems to show the point
Mean = c(0.311,0.188,45.319)
sdd = c(0.36,0.39,16.31)
data.frame(Mean = Mean, St.dev = sdd)
Mean St.dev
1 0.311 0.36
2 0.188 0.39
3 45.319 16.31
print(data.frame(Mean = Mean, St.dev =
> В Mon, 21 Nov 2022 10:19:36 -0500
> Rob Kudyba пишет:
>
> > I edited the last line to be:
> > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/gcc-11.2/lib64 then
> > make install errored with:
> > /path/to/R-4.2.2/bin/exec/R: error while loading shared libraries:
> > libpcre2-8.so.0: cannot ope
On Sun, Nov 20, 2022 at 2:26 PM Ivan Krylov wrote:
> On Sun, 20 Nov 2022 14:03:34 -0500
> Rob Kudyba wrote:
>
> > /path/to/gcc-11.2/lib is definitely in LD_LIBRARY_PATH when loading
> > the GCC 11.2 module.
> >
> > If using the /path/to/R-4.2.2/etc/ldpaths where would I put the
> > correct path?
For print(), digits is the minimal number of significant digits. In
your case, rounding the first column to the 3rd decimal place gives at
least 2 sigfigs and rounding the second column to the 2nd decimal
place.
If you want to print all numbers to two significant digits, regardless
of what other n
For better reproducibility, use dput to share data. A matrix and a data frame
look similar, but they can act differently.
On November 21, 2022 1:09:55 PM PST, Jim Lemon wrote:
>Hi Steven,
>I thought that the problem might be in the two large numbers, but
>using a subset (I didn't want to edit ou
Hi Steven,
I thought that the problem might be in the two large numbers, but
using a subset (I didn't want to edit out all the line numbers), I get
what I expected:
sydf<-read.table(text="Mean Std.dev
[1,] 0.3107966 0.462820
[2,] 0.1880302 0.390736
[3,] 45.3185794 16.313635
[4,] 0.50663
Hi, I have two variables with 86 observations each. Below I print with
the print command with digit=2. But, I am getting three decimal places
for my first variable and two for the second. Please help. Thanks.
> cbind(Mean,Std.dev)
Mean Std.dev
[1,] 0.3107966 0.462820
[2,] 0.1
Hi Sacha,
My search turned up the Causal Discovery Toolbox which includes IGCI among
10 (or more) methods.
This site includes both Python and R resources and seems to be quite rich -
hopefully you will find something useful.
Here's the link:
https://fentechsolutions.github.io/CausalDiscoveryToolbox
Dear R experts,
Google is very often my friend but this time it does not !
Are you aware of an R package in which the directed causal discovery algorithm
called the Information Geometric Causal Inference (IGCI) of (Daniusis et al.,
2010) is implemented ?
Best,
Sacha
Envoyé de mon iPhone
_
Hi Dr. H:
I tried this a couple of months ago on my iPad. Everything would load, but
when I tried to run R, it would never open. However, my iPad is about 6
years old. Do you need a particular model for the iPad, please?
Thanks
Erin
On Mon, Nov 21, 2022 at 11:03 AM Richard M. Heiberger
wrot
I discovered that the "iSH shell" is available for the iPhone/iPad from the
Applications app.
this is Alpine linux
Once iSH is loaded from the App store, then open it to a shell and download
apk add emacs
apk add R
emacs works well for writing files and sending them to a bigger computer by
aird
В Mon, 21 Nov 2022 10:19:36 -0500
Rob Kudyba пишет:
> I edited the last line to be:
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/gcc-11.2/lib64 then
> make install errored with:
> /path/to/R-4.2.2/bin/exec/R: error while loading shared libraries:
> libpcre2-8.so.0: cannot open shared object
18 matches
Mail list logo