435 questions
0
votes
0
answers
6
views
Ternary plot with values large axis values
is it possible to create a ternary plot with values larger than 100? I'm trying to plot the relationship between annual minimum temperature, maximum temperature, rainfall and tree height (as heat ...
0
votes
0
answers
11
views
Continuous maps and their properties on subsets of (0,1)
I’m currently working on a problem involving continuous maps and subsets of the interval (0,1)
, and I would appreciate some help.
Let α:(0,1)→R2
is a continious map that maps the subset X⊂(0,1)
to α(...
0
votes
0
answers
54
views
plot interaction between a categorical and a continuous variable
I am interested in plotting an interaction between a categorical and a continuous variable using metafor.
I tried separate plots using regplot to illustrate each factor-level, but I am wondering how ...
0
votes
0
answers
27
views
Model-based RL | How to convert a custom Gym environment with discrete actions to continuous
I am working on a project where I have a Gym environment with a discrete action space and a continuous observation space similar to the CartPole environment from Gym. I am trying to convert the ...
0
votes
0
answers
16
views
On R Identify when a qualitative variable changes from one value to another
On the x-axis I have dates and for each date I have a qualitative variable (colour). I would like to create on R a new df with the date on which my variable changes (e.g. the date from which I turn ...
1
vote
1
answer
690
views
wes_palettes: How to obtain color hex codes from a wesanderson palette when it set to continuous with more than the predefined colors
Folks,
I try to obtain color hex codes from a wesanderson palette when it is set to continuous with more colors than the predefined numbers of colors.
library('wesanderson')
To obtain all the hex ...
3
votes
0
answers
173
views
Continuous Binary Search over Metric Space
I am studying the binary search problem on continuous intervals using a non-linear distance metric D. In this interval search, I'm restricting myself to binary queries, meaning the only information ...
0
votes
0
answers
273
views
Error: Discrete value supplied to a continuous scale
I am writing a code to make custom bland-altman plots. I saw that in one of my plots there was some proportional bias. Therefore I needed to transform my data. I used a transformation of difference/...
1
vote
1
answer
338
views
R ggplot: Size breaks for continuous variable
I am trying to create a scatterplot with different point sizes for a continuous variable R95p_e. However, I'd like to bin or create breaks for the continuous variable according to:
iris <- iris %&...
0
votes
1
answer
500
views
Gymnasium. Actions in continuous spaces
I am introduced to Gymnasium (gym) and RL and there is a point that I do not understand, relative to how gym manages actions.
I've read that actions in a gym environment are integer numbers, meaning ...
2
votes
2
answers
759
views
How to calculate mean (Expected Value) of a custom continuous distribution from the probability density in R
The probability density and the calculation for the mean "by hand" are given below:
I have coded the probability density function as:
myfunc <- function(x){
ifelse(x >= 0 & x &...
0
votes
0
answers
69
views
How can I input data automatically in a continuous data?
enter image description here
How can I input data in column F with 4 consecutive data for each data like column E using the data in column D2:D?
Is it possible?
How should I modify the formula in F2?
=...
0
votes
0
answers
32
views
Plotting multivariate continuous data
I have a dataset that collected temperature on 10 different sensors each minute per three months.
I have cleaned the dataframe omitting the 'NA's and excluding other variables like air temperature, ...
1
vote
0
answers
36
views
How to fix an error in a moderation model in R with continuous variables?
I am trying to run a moderation model in R but I don't have a lot of experience working with R and I struggle. I will appreciate any help and advise you can give me! I really want to learn.
I am using ...
0
votes
1
answer
2k
views
How to change data from discrete to continuous in R?
I have two columns of my "Review" dataset that are causing me issues - one "Year" has years formatted like "2001/02". The other "Hour" has the hour of the day ...