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 am using the pander::pander function to make some tables in a knitted latex document. I want the rows to be left justified and the column names to be centered.
library(pander)
library(dplyr)
tibble(...
I am using the R programming language. I am following this tutorial over here: https://blogs.rstudio.com/ai/posts/2018-06-25-sunspots-lstm/
I am trying to prepare my data in the same way as this ...
asked 27 mins ago
stats555
51711 silver badge1010 bronze badges
I want to make the text and UI on the sidebar of shiny easier to see.
In other words, I want to create an enclosure like a separator.
Specifically, https://shiny.rstudio.com/gallery/radiant.html
I ...
this is my first question on stackoverflow.
And I got a problem related to this thing
enter image description here
this is the original thing that I have, and I want to change this thing into
enter ...
I want add the sign (a), (b), (c) to my figures. what I mean is add the (a),(b),(c) to the upper left of the graph
a<-rnorm(1000,10,1)
plot(a)
b<-rnorm(1000,10,10)
plot(b)
c<-rnorm(1000,1,...
I've been working away on my first published book and have some questions regarding Bookdown. When I view my book in PDF format, it has some issues I'd like to adjust/correct.
Many portions of the R ...
I am using the spotifyr library where I want to find audio features for multiple tracks. For example I can do this in order to find the audio features of a specific song using it's id.
analysis2 <- ...
Sample dataset image
Hi i'm very new to R.
I'm looking to calculate the coloumn "idle_time(minutes)" for this dataframe as per attached image.
where,
idle_time = time difference ( ...
I have a class myclass in an R package for which I would like to define a method as.raw, so of the same name as the primitive function as.raw(). If constructor, generic and method are defined as ...
asked 3 hours ago
Marius Hofert
5,6731010 gold badges3434 silver badges9090 bronze badges
Download a series of daily closing stock prices data covering at least two years. You can
find such a series on the web at yahoo finance, for example.
Can someone show me or tell me how can I do this ...
I'm looking for an r code to calculate the joint distribution using a gaussian copula. so far I have calculated the theta parameter for the copula and the marginal distributions.
Here's some code:
for(i in 1:colCount){
for(j in colCount:i){
cor(newCovidNoNaDF[,i],newCovidNoNaDF[,j], method = "pearson")
}
}
But nothing is output when I click enter. What am I ...
I want to add multiple vertical lines in my density plot that start at the x-axis and end at the curve using ggplot2. I'm using the starwars dataset from dplyr. I want to plot the height variable as a ...
Problem
I'm new to Shiny, so apologies if I'm way off on this. I'm trying to make an interactive line graph through Shiny so a country can be chosen through drop down list, and then an accompanying ...
I need to run two versions of R because some of the packages I want don't work in the new 4.0 build. This should be pretty simple; I just need to install the older version in Program Files/R, next to ...