Hello list,
The following program illustrates my problem:
# The program illustrates an apparent error generating SVG files.
# Note how the figure renders properly in the R graphics window, but
# fails if you open it in in an SVG-capable viewer, such as Chrome,
# Firefox, or Edge.
# It appears
Thank you, Dr. Burradas!
That resolved my query
Have a great rest of your day
On Thursday, 19 August, 2021, 04:47:42 pm GMT-4, Rui Barradas
wrote:
Hello,
Glad it helped.
As for making everything red, that only happens with the 2nd geom_text I
posted. And this is because color =
Hello,
Glad it helped.
As for making everything red, that only happens with the 2nd geom_text I
posted. And this is because color = "red" is not in aes().
In the 1st geom_text, I have aes( etc , color = gender)
and this makes the color depend on gender.
To make the text and bars colors the
Hi,
I need to select 15 elements, always considering the highest values
(descending order) but obeying the following configuration:
3A - 4B - 0C - 3D or
2A - 5B - 0C - 3D or
3A - 3B - 2C - 2D
If I have, for example, 5 A elements as the highest values, I can only
choose 3 (first and third
Thank you very much for the elaborate response, Dr. Barradas! It was extremely
helpful!
This resolves all my queries except one; I am unable to assign aesthetic colors
in a way that the bar and text colors remain the same. I am not sure how to
exactly assign color outside of aes. I used the
Hello,
First, sample data.
set.seed(2021)
year <- rep(2016:2019, 2)
percentage <- runif(length(year), 0.25, 0.70)
gender <- rep(c("M", "F"), each = 4)
graph_text <- data.frame(year, percentage, gender)
1) You have expand = c(0,0). Like this there is no space above the
greatest bar. In order
Hello
I have tried to create the following graph using ggplot2 using the following
code -
ggplot(aes(x=year, y=percentage, group=gender, fill=gender), data =
graph_text)+ geom_bar(position = 'dodge', stat='identity')+
scale_y_continuous(expand = c(0,0))+ theme_classic()+
Thanks Ivan, I was a fool.
That�s the one I am looking for.
Best,
George
From: Ivan Krylov
Sent: Thursday, August 19, 2021 5:32:43 PM
To: George Bellas
Cc: r-help@r-project.org
Subject: Re: [R] Cars2
On Thu, 19 Aug 2021 00:12:51 +
George Bellas wrote:
Thank you for the reply and suggestions, I will look into them
The function is in the package funtimes.
Sent from Yahoo Mail on Android
On Thu, 19 Aug 2021 at 4:36 AM, Erich
Subscriptions wrote: You did not give any
information which package contains the function notrend_test.
> On
Hi I'm trying to get to grips with the airGR hydrological package - I've
done various searches with various questions and there seems to be a
limited amount of accessible info out there, with every site quoting the
same example run using the GR4J model. Has anyone out there used this
package and
You need to use %dorng% from the doRNG package instead of %dopar% when
parallelizing with foreach::foreach() to get reproducible random
numbers. See also
https://www.jottr.org/2020/09/22/push-for-statical-sound-rng/.
/Henrik
On Thu, Aug 19, 2021 at 1:38 PM Eric Berger wrote:
>
> In that case,
Thanks,
I'll delve into this deepr, eventually :-)-O
el
On 17/08/2021 15:09, PIKAL Petr wrote:
Hi
You're wellcome. You probably know
https://www.repidemicsconsortium.org/projects/
as a collection of tools for epidemy evaluation.
Cheers
Petr
[...]
--
To email me replace 'nospam' with 'el'
In that case, another interesting test would be to check whether the
problem exists when you don't use doParallel().
On Thu, Aug 19, 2021 at 2:28 PM Shah Alam wrote:
>
> Dear All,
>
> Thanks a lot for your valuable suggestions. I am going to implement one by
> one.
>
> Jan:
>
> Yes, I am using
Dear All,
Thanks a lot for your valuable suggestions. I am going to implement one by
one.
Jan:
Yes, I am using the "doParallel" package for parallelization. I will let
you know the results after implementing all the given suggestions.
Best regards,
Shah
On Thu, 19 Aug 2021 at 11:57, Jan van
What you could also try is check if the self coded functions use the
random generator when defining them:
starting_seed <- .Random.seed
Step 1. Self-coded functions (these functions generate random numbers as
well)
# check if functions have modified the seed:
all.equal(starting_seed,
Hi
Did you try different order?
Step 2: set.seed (123)
Step 1. Self-coded functions (these functions generate random numbers as well)
Step 3: Call those functions.
Step 4: model results.
Cheers
Petr.
And BTW, do not use HTML formating, it could cause problems in text only list.
From: Shah
You did not give any information which package contains the function
notrend_test.
> On 19.08.2021, at 05:57, bharat rawlley via R-help
> wrote:
>
> Hello, I have the following vector in R,
> print(column_Data)[1] 42 33 34 28
> But I get the following error on using notrend_test on this
When you provide an actual minimal reproducible example we will be able to help
you. 2000 lines is excessive to demonstrate the problem.
Based on your description, I think you are doing some computations before you
set seed, and your results depend partly on the values computed prior to the
Dear Petr,
It is more than 2000 lines of code with a lot of functions and data inputs.
I am not sure whether it would be useful to upload it. However, you are
absolutely right. I used
Step 1. Self-coded functions (these functions generate random numbers as
well)
Step 2: set.seed (123)
Step 3:
Hi
Please provide at least your code preferably with some data to reproduce
this behaviour. I wonder if anybody could help you without such information.
My wild guess is that you used
set.seed(1234)
some code
the code used again
in which case you have to expect different results.
Cheers
Dear All,
I was using set.seed to reproduce the same results for the discrete event
simulation model. I have 12 unknown parameters for optimization (just a
little background). I got a good fit of parameter combinations. However,
when I use those parameters combinations again in the model. I am
On Thu, 19 Aug 2021 00:12:51 +
George Bellas wrote:
> I'm still looking for it, it had car prices and car models in it. I
> couldn't find it through the r search link.
Could it be the third search result for a query of 'cars2'?
Hello,
Here is a igraph function to plot the graph as bipartite graph (which it
is).
The reordering of the input dataframe columns, the order() call and
vertex label distance value are a hack, and the plot could use the dots
argument to allow the user to choose other custom graphics elements.
23 matches
Mail list logo