Skip to content

error.crosses

2 messages · Marlin Keith Cox, Bert Gunter

#
Hello all, I have used describeBy to generate the following summary
statistics.  I simply need x and y error bars on a plot that has CQN
(xaxis) and Price (yaxis).  There should be four total points on the graph
(one for each supplier).

Using "error.crosses(desc$CQN, desc$Price)" does not work.



group: a
          vars  n  mean    sd median trimmed   mad   min   max range skew
CQN          1 65 48.22 11.12  49.61   47.86 13.79 31.30 72.71 41.41  0.1
Price        2 65  6.65  0.06   6.69    6.66  0.01  6.48  6.70  0.22 -1.2
Supplier*    3 65   NaN    NA     NA     NaN    NA   Inf  -Inf  -Inf   NA
          kurtosis   se
CQN          -1.01 1.38
Price         0.70 0.01
Supplier*       NA   NA
------------------------------------------------------------
group: b
          vars n  mean sd median trimmed mad   min   max range skew
kurtosis se
CQN          1 1 91.93 NA  91.93   91.93   0 91.93 91.93     0   NA
NA NA
Price        2 1  6.95 NA   6.95    6.95   0  6.95  6.95     0   NA
NA NA
Supplier*    3 1   NaN NA     NA     NaN  NA   Inf  -Inf  -Inf   NA
NA NA
------------------------------------------------------------
group: c
          vars n  mean   sd median trimmed  mad   min   max range skew
kurtosis
CQN          1 6 63.11 2.58  62.04   63.11 1.53 60.66 67.19  6.53 0.55
 -1.68
Price        2 6  8.92 0.00   8.92    8.92 0.00  8.92  8.92  0.00  NaN
 NaN
Supplier*    3 6   NaN   NA     NA     NaN   NA   Inf  -Inf  -Inf   NA
  NA
            se
CQN       1.05
Price     0.00
Supplier*   NA
------------------------------------------------------------
group: d
          vars n  mean  sd median trimmed  mad   min   max range skew
kurtosis
CQN          1 6 47.20 5.7  46.31   47.20 7.17 39.52 54.45 14.93 0.08
 -1.79
Price        2 6  7.17 0.0   7.17    7.17 0.00  7.17  7.17  0.00  NaN
 NaN
Supplier*    3 6   NaN  NA     NA     NaN   NA   Inf  -Inf  -Inf   NA
NA
            se
CQN       2.33
Price     0.00
Supplier*   NA




M. Keith Cox, PhD
Assistant Professor of Biology
Natural Sciences
Coordinator
Alaska Native Science and Engineering Program (ANSEP)
11120 Glacier Hwy
Juneau, Alaska 99801
Office: Anderson Building
Phone: 907 957-4606
web: www.ansep.net
#
You posted this earlier, did you not, and no one answered, perhaps
because no one understood and/or perhaps because you failed to follow
the posting guide (no minimal reproducible example nor code; and HTML
to a plain text list).  Please be more patient and stop spamming the
list. And perhaps try following the posting guide.

Cheers,
Bert


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Apr 27, 2016 at 11:49 AM, Marlin Keith Cox <mkcox at uas.alaska.edu> wrote: