Skip to main content

Questions tagged [r]

R is a free, open-source programming language and software environment for statistical computing, bioinformatics, and graphics.

Filter by
Sorted by
Tagged with
0 votes
1 answer
32 views

cluster named towns using their Latitude and longitude or radian values

I would like to cluster named towns using their Latitude and longitude or radian values. I am new to R and would like some advice.
Ken mattes's user avatar
0 votes
0 answers
16 views

Performing piecewise polynomial regression on the Auto dataset (ISLR2)

I am trying to analyze some data from the Auto data set (from ISLR2). I am trying to fit a piecewise polynomial to the acceleration column. But every time I run my code, R throws this error: ...
Dasher_Vagus's user avatar
1 vote
0 answers
32 views

How to calculate odds ratios from Shap values?

Hope everyone is doing well. For my logistic regression model predicting hypertension, I want to calculate Shapley-adjusted odds ratios (ORs) and 95% confidence intervals (CIs) for each predictor in ...
Raf's user avatar
  • 11
2 votes
1 answer
21 views

New Variables to Add to Model GLM/GBM

I already have a GLM model in place to predict claims frequency. I know have access to many new variables (a mix of categorical and continuous variables, some of which are likely correlated). I wish ...
InsurancePricer's user avatar
0 votes
0 answers
5 views

Sampling from a specific variant in a mc2d mcnode data frame in R

I am trying to sample from a specific variant in a mcnode - the data frame produced by the 2 dimensional monte carlo package mc2d. I have copied what the mcnode looks like below. Any ideas how to ...
BrisketsBestie's user avatar
3 votes
1 answer
73 views

Is it statistically wrong to adjust for sex and race then do subgroup based on them?

I am doing for subgroup analysis of early mortality (Outcome) based on Transfusion(WITH ADJUSTMENT for both ...
Mohamed Rahouma's user avatar
2 votes
0 answers
36 views

Handling Missing Values in Predictor Variables for Gradient Boosting Models ( gbm() ) in R

I am currently working on a predictive modeling project using the gbm package in R and have encountered a challenge regarding missing values in one of my predictor variables. I would appreciate your ...
Anso's user avatar
  • 21
0 votes
0 answers
80 views

Which is better: tensorflow 2.3.0 with GPU or tensorflow 2.18.0 with only CPU?

What is the speed of running tensorflow 2.3.0 with GPU relative to tensorflow 2.18.0 with only CPU? Hardware Laptop: MacBook Pro 15-inch 2012 64-bit. OS: Windows 10 Pro 22H2 Processor: Intel(R) Core(...
DrJerryTAO's user avatar
0 votes
1 answer
79 views

As an intermediate R programmer looking to dive into machine learning, should I choose Python or stick with R?

Background I am an intermediate R programmer with some experience in machine learning concepts and simple modeling in R. I have an opportunity to collaborate with a professional machine learning team ...
a.sa.5969's user avatar
0 votes
1 answer
31 views

Learning material for R

I am looking for learning material for R (including base R & tidyverse approaches (with a focus on readr, dplyr & tidyr)) and data visualisation using ggplot2 library for commercial teaching ...
Hamideh's user avatar
  • 942
0 votes
0 answers
56 views

Plot a combined stacked and clustered bar graph showing mutually- and non-mutually exclusive data in R

I am looking to make a stacked bar graph showing mutually exclusive categories of data. One of these categories should be further broken down into non-mutually exclusive sub-categories. I feel this ...
whv20's user avatar
  • 101
0 votes
0 answers
30 views

Is there a way to create a bootstrapped beta calibration function to use on new data?

I have created ML classification models that are now to be evaluated on a different population for external validation (n=5000, event rates between n=400 and n=1200 for different outcomes under study)....
mmo's user avatar
  • 1
1 vote
1 answer
41 views

Guidelines for image recognition model (inventory purposes)

I have 20,000 plus images of art (paintings, sculptures, jars, etc) stored in a data base. The actual pieces are distributed in multiple warehouses. Ideally, the physical pieces SHOULD have a sticker ...
Romina Silvera's user avatar
0 votes
1 answer
355 views

cor() function in R returns NA when given two integers or continuous values

Using R version 4.4.0, I was using the cor() function and originally inputting two continuous values to obtain a default calculated correlation. NA is returned instead of a numeric. I'm able to ...
vficarrotta's user avatar
1 vote
0 answers
44 views

What informatics tools will allow complex search in order to select full-text articles?

I'd like to search plant science literature (full text) to only return articles in which the word "three" appears four or more times in the full-text Methods section (presumably the best ...
Abiologist's user avatar

15 30 50 per page
1
2 3 4 5
97