### counting the occurrence of substrings in a column in R with group by

I would like to count the occurrences of a string in a column ....per group. In this case the...

### Automation of frequency counts for multiple columns in R

I have 65 columns and 50 rows. Among 65 columns, 60 columns' names start with rs. These 60 columns...

### Create new variable in R with assumptions from SPSS file

I've read in my SPSS file in R and want to recode a new variable if such and such assumptions are...

### Tricky data table to matrix conversion in order to make a heatmap in R [duplicate]

This question already has an answer here: How to reshape data from...

### Solving a system of equations in R [on hold]

I want to solve the following system of equations for b,c and d: 1 = b² + 6bd + 2c² +...

### Solving a set of backward differential equations

I have a differential equation (in LaTeX code) given by: \begin{align*} \frac{d}{dt}V_0(t) &=...

### XLconnect Export a sheet with data and pictures in an over file

I am trying to export a sheet with data and pictures from ".xls" file to an over...

### Cannot install stringi since Xcode Command Line Tools update

System: macOS Sierra 10.12.6 Xcode: 9.2 (2347) R: 3.4.0 RStudio: 1.1.383 I'm attempting to...

### Structure Server Function in a Shiny App

I am struggling with my first shiny app and having problems to make it work due to, I think, I am...

### how to plot two sets of data onto one set of axis whilst still having a facet wrap in ggplot2 for R?

Struggling with producing two sets of data from one data frame splitting it by a variable sex. The...

### conda: PackagesNotFoundError: The following packages are not available

I am trying to install RStudio through conda, and bumps into this problem: conda install...

### Remove total value for one column in PowerBI

I have a table visualisation in PowerBI that sums the top 10 products sold by sales quantity. I...

### Comparing two columns in a dataframe using R or Excel

I have a csv file containing two columns, "Taxon" in column A and "Tip" in column C. I would like...

### correlation of log and sqrt of the same matrix

I have a dataframe subs containing 9 variables (+4 non numerics but those are not relevant). I...

### Turn yticks to regular appearance of numbers in ggplot2? [duplicate]

This question already has an answer here: How do I change the...

### processing capability of R on Hive

If R just brings all the data from Hive into memory (especially statistical analysis) and the...

### Error in x[["endpoint"]] : object of type 'closure' is not subsettable in rtweet CRAN package

I am using a package rtweet to download tweets based on a keyword. The function search_tweets()...

### Replicate items of variable B so that it is "filled out" to match Variable A in length [duplicate]

This question already has an answer here: How to join (merge) data...

### Does a for loop in R, unlists the temp variable before making a comaprison?

My list logs is a list of list with the below structure, $:List of 3 ..$ success : logical...

### dplyr/ggplot using pipeline

Can someone tell me how I integrate the following dplyr code with a ggplot bar chart. I have them...

### R: match row-wise from lookup and output result as 1/0

set.seed(999) lookup <- mtcars[1:6,1:2] #lookup table data <- mtcars[4:7, 1:2] ...

### Lattice barchart colour - fade from dark to light

I am using lattice to make a bar chart inside RStudio. Below is my code. my_cols <- c("dark...

### How to name data in legend in a ggplot?

I have the data frame One_APD: One_APD = structure(list(Amplification = c(108.91, 120.765,...

### R grepl: whole word matching not working for punctuation marks

text = 'this is ; an example' Language is R. I'd like to understand...

### Two X-axis in Plotly for R

https://community.plot.ly/t/how-to-plot-multiple-x-axis-in-plotly-in-r/3014/3?u=him4u324 I have...

### Optimizing zoo-series with for-loops in R

Im quite new to R-programming, so Im in need of assistance from more experienced guys like you! Im...

### Error in setDT(dat): while creating a function

I am creating function for below activities: library('data.table') library(dplyr) T2 <-...

### Specific plot for classification visualization

Suppose that I have 5 variables for each observation (12 observation in a dataset) and I classify...

### Determining spatial correlation with GPS coordinates with R

I have been given two GPS data sets and have been told to determine if there some type of...