No, but fortunately you are off in the weeds. Density has an
internally-computed "z" coordinate... you should be looking at ?geom_contour.
On September 17, 2020 7:17:33 PM PDT, H wrote:
>I am trying to understand how to map 2D to 3D using ggplot() and
>eventually plot_gg(). I am, however, stuck
> But there's no reason for the user to do that when using the plotting
> function.
I should amend the above.
There's no reason for the user to do that (compute a third "variable"
representing density), if using a high level plotting function, that's
designed to compute the density for you.
It i
I'm not familiar with the gg graphics system.
However, I am familiar with density estimation, and density visualization.
There is *no* third variable, as such.
But rather, density estimates, which in this context, would usually be a matrix.
(And are computed inside the plotting or density estimati
I am trying to understand how to map 2D to 3D using ggplot() and eventually
plot_gg(). I am, however, stuck on understanding how to express the third
variable to be mapped. This example:
ggdiamonds = ggplot(diamonds, aes(x, depth)) +
stat_density_2d(aes(fill = stat(nlevel)),
geom = "polygon", n
Hi Peri,
In that case, try this:
ylim<-range(c(df$Nation,df$East,df$Center),na.rm=TRUE)
plot(df$year, df$Nation, type="o", col="blue", lty=1, ylab="change",ylim=ylim)
Jim
On Fri, Sep 18, 2020 at 11:10 AM peri He wrote:
>
> Hi Jim,
>
> Thank you for your reply.
>
> Sorry I am messaging you inste
HI Jim,
fantastic solution!
Thank you so much!!!
Ana
On Thu, Sep 17, 2020 at 6:01 PM Jim Lemon wrote:
>
> Hi Ana,
> Sorry it's not in ggplot, but it may help:
>
> d<-read.table(text="CHR counts name
> 1 193554 old
> 2 220816 old
> 3 174350 old
> 4 163112 old
> 5 168125 old
> 6
Hi Peri,
Without the data this is only a guess, but are the values of East and
center within the limits of the plot generated by Nation?
Jim
On Fri, Sep 18, 2020 at 10:12 AM peri He wrote:
>
> Dear Friends,
>
> I am trying to add two time series curves into one plot. I don't get any
> error but
Dear Friends,
I am trying to add two time series curves into one plot. I don't get any error
but the lines are not added to my plot.
I am trying the following code;
1) df <- as.data.frame (read_excel("C:/Users/NO2.xlsx", "trend))
2) plot(df$year, df$Nation, type="o", col="blue", lty=1, ylab="ch
On 2020-09-17 17:01 -0500, Ana Marija wrote:
> Hello,
>
> I am trying to overlay two histograms with this:
>
> p <- ggplot(d, aes(CHR, counts, fill = name)) + geom_bar(position = "dodge")
> p
>
> but I am getting this error:
> Error: stat_count() can only have an x or y aesthetic.
> Run `rlang::
Hi Ana,
Sorry it's not in ggplot, but it may help:
d<-read.table(text="CHR counts name
1 193554 old
2 220816 old
3 174350 old
4 163112 old
5 168125 old
6 182366 old
7 143023 old
8 147410 old
9 122112 old
10 138394 old
11 130069 old
12 124850 old
13 104119 old
14
Hello,
I am trying to overlay two histograms with this:
p <- ggplot(d, aes(CHR, counts, fill = name)) + geom_bar(position = "dodge")
p
but I am getting this error:
Error: stat_count() can only have an x or y aesthetic.
Run `rlang::last_error()` to see where the error occurred.
my data is this:
Dear Johan,
It's generally a good idea to keep the conversation on r-help to allow
list members to follow it, and so I'm cc'ing this response to the list.
I hope that it's clear that car::linearHypothesis() computes the test as
a Wald test of a linear hypothesis and not as a likelihood-ratio
I don't know definitively, but if I were in your shoes I would put my personal
package library on a local drive. UNC paths are not supported by all of the
Windows file-related system calls.
On September 17, 2020 6:59:33 AM PDT, "Weber Sylvain (HES)"
wrote:
>Dear all,
>
>I am using function "se
I don't know definitively, but if I were in your shoes I would put my personal
package library on a local drive. UNC paths are not supported by all of the
Windows file-related system calls.
On September 17, 2020 6:59:33 AM PDT, "Weber Sylvain (HES)"
wrote:
>Dear all,
>
>I am using function "se
The problem might to due to using an UNC path (//machine//blah/...) instead
of the traditional DOS path ("H:/blah/...").
E.g., if my working directory has a UNC path, cmd.exe will not work as
expected:
> getwd()
[1] "server/dept/devel/bill-sandbox"
> system("C:\\WINDOWS\\SYSTEM32\\cmd.exe /c e
Consider contacting the package maintainer, found by:
maintainer("seasonal") for such a package specific question.
Cheers,
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 s
Dear all,
I am using function "seas" from package "seasonal" for seasonal adjustment of
time series. I am using the latest version of R (4.0.2, 64-bit).
The following lines provide a small working example:
## EXAMPLE ##
library(seasonal)
m <- seas(AirPassengers)
m
On my private laptop, everythin
Hi Fred, I believe the preferred package is jsonlite:
https://cran.r-project.org/package=jsonlite
https://jeroen.cran.dev/jsonlite/index.html
HTH, Bill.
W. Michels, Ph.D.
On Tue, Sep 15, 2020 at 1:48 PM Fred Kwebiha wrote:
>
> Source=https://jsonformatter.org/e038ec
>
> The above is nested jso
Dear Johan,
On 2020-09-17 9:07 a.m., Johan Lassen wrote:
Dear R-users,
I am using the R-function "linearHypothesis" to test if the sum of all
parameters, but the intercept, in a multiple linear regression is different
from zero.
I wonder if it is statistically valid to use the linearHypothesis
Dear R-users,
I am using the R-function "linearHypothesis" to test if the sum of all
parameters, but the intercept, in a multiple linear regression is different
from zero.
I wonder if it is statistically valid to use the linearHypothesis-function
for this?
Below is a reproducible example in R. A
I'm not familiar with these subjects.
And hopefully, someone who is, will offer some better suggestions.
But to get things started, maybe...
(1) What packages are you using (re: tdm)?
(2) Where does the problem happen, in dist, hclust, the plot method
for hclust, or in the package(s) you are using
21 matches
Mail list logo