The World’s Largest Online Community for Developers
';
Newest 'r' Questions - LavOzs.Com
Questions tagged [r]
R is a free, open-source programming language and software environment for statistical computing, bioinformatics, visualization, and general computing. Please provide minimal and reproducible example(s) along with the desired output. Use `dput()` for data and specify all non-base packages with `library()` calls. Do not embed pictures for data or code, use indented code blocks instead. For statistics related questions, use https://stats.stackexchange.com.
I'm trying to add variables in ggplots, and for some reason, It's putting one of my labels (l2) in the wrong place, instead of being on the line (l2) it's over at the end.
Here is my ggplot.
ggplot(...
I am new to R, and I can't fix the bug after searching for one hour. It seems that there's no similar problem posted before.
I followed the instruction from https://stats.idre.ucla.edu/r/dae/ordinal-...
I fitted a simple Imax model of the form: Y = I0 - [(Imax*X)/(IC50 + X)] using nls function in R. Using a measured Y = 'n', I estimated X = 'm'. Is there a function in R to compute 95% confidence ...
Hi nice people of the internet.
Can anyone help me? I am trying to increase the right margin for the graph as you can see the axis label "Number of Mergers" has some space from the numbers. As you ...
I am running a gene expression analysis in R and am consequentially working with a lot of data. I want to apply a Cox model to this data (249R by 23000C), but when I try to do so, I am receiving an ...
I would like to connect the individual jittered data points that are created by geom_half_point(), and I tried to do this by adding geom_line() but this did not work. Does this mean that it is not ...
I am trying to run this code but I keep receiving an error message saying
Error in dim(data) <- dim : invalid first argument
sigma <- matrix(c(1.0, 0,
0, 1.0), nrow = 2)
...
We can see examples of how to make a hexagon sticker.
The one with the cat on it is a good example of a hex sticker with an image.
i.e.
imgurl <- system.file("figures/cat.png", package="...
I am using big data to find anomalies in time series over 220 categories in a year and want to do it monthly because If I run anomaly detection over a year it takes ages.
Here is my code :
dates &...
I'm not sure what's going on here, but when I try to run ggplots, it tells me that u and u1 are not valid lists. Did I enter u and u1 incorrectly, that it thinks these are functions, did I forget ...
Assume that we ran
install.packages("ggplot2")
install.packages("babynames")
Then
library(babynames)
data(babynames)
my_d <- babynames %>%
filter(
name == "Josiah" & sex == "M" |
...
This is the head of my data:
head(datos)
Fecha TI Sexo
<chr> <dbl> <fct>
1 III 2019 59.6 Hombres
2 II 2019 58.6 Hombres
3 I 2019 58.1 Hombres
4 IV 2018 57.9 ...
Is there a way, ideally from within R, of searching literally all of the code in my R directory, including any locally-installed source for compiled code, for a particular string, as if I were doing a ...