Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Filter by
Sorted by
Tagged with
-1 votes
0 answers
27 views

I am working with the R programming language. I have this dataset: library(dplyr) library(tidyr) library(lubridate) combined <- structure(list(country = c("Canada", "France", &...
stats_noob's user avatar
  • 6,853
0 votes
0 answers
17 views

I attempted to execute code entitled "Multilayer community detection" using the muxViz library (https://github.com/manlius/muxViz) published on https://manlius.github.io/muxViz/articles/...
tomek's user avatar
  • 98
0 votes
0 answers
38 views

This is the code: library(ggplot2) mortality_incidence_data <- read.csv("Report Data Death.csv") mortality_incidence_data$year <- factor(mortality_incidence_data$year,levels = c( &...
Ryan Rajput's user avatar
0 votes
0 answers
24 views

I’m working on a cluster analysis of Italian provinces based on three fire-related indicators: total burned area (ha), burned area per fire, fire density. Because these variables are measured on ...
09Bruna's user avatar
  • 101
5 votes
2 answers
90 views

R version 4.5.0 (2025-04-11 ucrt) I happened to come across the following problem. Consider the global assignment statement: xxx <<- c(1,2) xxx[1:2] ls() This gives [1] 1 2 [1] "xxx" ...
clp's user avatar
  • 1,650
2 votes
1 answer
43 views

I use the tidyverse suite to estimate 6 linear models as a function of empirical subgroups and different functional forms library(tidyverse) library(magrittr) library(marginaleffects) library(...
tomw's user avatar
  • 3,271
Advice
0 votes
3 replies
40 views

I’m trying to detect anomalies in a dataset using Z-scores based on the logged index change of a value between two time periods: VAL_t0 and VAL_t1. The issue: The variance of Z-scores decreases as ...
Aaron Walton's user avatar
0 votes
0 answers
41 views

I have patients divided into two groups: treatment and placebo. Each subject is measured at two time points: before and after. I am performing an ANOVA using the afex::aov_car() function with the ...
sitems's user avatar
  • 798
0 votes
1 answer
44 views

In my R package roxygen2 documentation with markdown enabled (I have Roxygen: list(markdown = TRUE) in my DESCRIPTION file), I have the following code: #' \tabular{ll}{ #' \code{~.} \tab ...
Tomas's user avatar
  • 60.2k
-1 votes
0 answers
32 views

All three of the software uses one of two estimating methods by default: Maximum Likelihood Estimation: R Pseudo-Likelihood Estimation: JMP and SAS SAS can be specified to fit with Maximum ...
creutzml's user avatar
  • 412
Advice
1 vote
4 replies
72 views

By default, when a result of integer operation would not fit into R's 32bit integer type, we get a warning and the result is NA. E.g.: 1920912463L # 1920912463 (valid integer) 1920912463L + ...
Martin Modrák's user avatar
-1 votes
1 answer
46 views

I am creating a chart with two different geoms and would like to include them on separate rows (one row per geom) in a legend at the top of the chart. For example: ggplot(data = iris) + geom_point(...
Modern_ibex's user avatar
0 votes
0 answers
52 views

I am using the ergm package and I want to have an edgecov() variable which has missing data. I am doing network analysis of a unit with 48 people. However, I only have a response rate of 74%. This ...
Laura P.'s user avatar
2 votes
1 answer
65 views

I have an object that could be either a "name" or a "call", and I want it to end up as a "call". By a "name" object, I mean like something created by bquote(), ...
Dagremu's user avatar
  • 511
0 votes
1 answer
48 views

I have written the following function where when I pass the argument color_col the plot should color each of the traces with a seperate color. In this instance its the weekend column which has 3 ...
imantha's user avatar
  • 3,880

15 30 50 per page
1
2 3 4 5
34063