985 questions
Advice
0
votes
0
replies
25
views
The explanation of manim rendering
I want to make the mobjects in manim be interactive, and I thought about using manim's OpenGL rendering machine to connect to HTML to form an interactive animation effect. But I'm confused about Manim'...
0
votes
1
answer
28
views
Teardown the DB between interactions, not givens Pact.Net
I am writing Provider tests with .Net and Pact V4.
I have several consumer tests (interactions) and on the provider side I use a DB.
My question is, can I and how teardown the DB between interactions? ...
0
votes
0
answers
59
views
Jupyter Notebook interaction
Goal: Enable real-time interaction with a Jupyter Notebook by sharing the same kernel between Python code (CLI/script) and the Jupyter Notebook UI.
Use case: Allow a script to interact with variables ...
0
votes
1
answer
71
views
can you help me with my button discord js
My button doesn’t work when there’s pagination, so I added one in the Vanguard case with pagination but now it errors out:
D:Kaze\Nouzen\node_modules\discord.js\src\structures\interfaces\...
1
vote
1
answer
131
views
How to determine the interacting player in an unreal world space widget
Main Problem
I try to make an multiplayer game where I want to interact with widget components in an actor that is set to world space that all users can interact with it. The game is in UI mode most ...
-1
votes
1
answer
55
views
Unity: succesfully create a mesh from player input as custom indicator
I'm hitting my head against the wall here-->
Task: for my little project (isometric with tilted camera), i would like to let the player create a custom area of effect for his ability, meaning, ...
1
vote
1
answer
148
views
How to visualize interaction using emmeans
I have a dataset where the outcome is a continuous variable measuring the Wellbeing Index. The key variables are:
t: Time in days.
D: Binary intervention variable (0 = No Swimming, 1 = Yes Swimming)....
0
votes
0
answers
23
views
Power analysis for multiple regression with binary moderator - Determining sample size
I want to conduct an a priori power analysis to determine the necessary sample size for a proposed project. I will estimate a regression between two continuous variables with a binary moderator (...
1
vote
1
answer
55
views
New error using multcomp::glht(), missRanger(), and mice::pool()
I'm revisiting old code that involves multiple imputation using missRanger::missRanger(), multcomp::glht() (to derive the linear combination of effects), mice::pool(), and broom.mixed::tidy(). While ...
0
votes
2
answers
83
views
How to improve my plot for my interaction model [closed]
For a paper I want to include a graph of my interaction effect. I am not sure if and how I could improve it to make my interaction effect more visible. This is the R code:
plot_model4 <-
...
0
votes
1
answer
54
views
Error using contrast package for logistic regression (glm)
I am looking for an easier way to do a contrast statement in R (rather than multcomp) and came across the contrast package. The syntax seems simple but I keep getting an error. Here is my model and ...
0
votes
1
answer
145
views
PLAYERINTERACT event called TWICE
Problem with double use of an item during PlayerInteractEvent in a Minecraft plugin
Context: I am developing a plugin for Minecraft version 1.16.5, where a special item FlashDust is added, which when ...
1
vote
0
answers
157
views
Difference in Standard Errors and p-Values in Two-Way Fixed Effects Logit Model with Interaction Terms using fixest Package in R
I'm working with a two-way fixed effects (TWFE) logit model in R using the fixest package. My model includes interaction terms between some fixed effects and a categorical variable called group. To ...
0
votes
0
answers
48
views
ol/interaction/Link: how to read a custom parameter?
Question about OpenLayers ol/interaction/Link:
I would like to set and later use a custom parameter.
The first part went OK:
link.update('ext', map.getView().calculateExtent(map.getSize()));
This ...
2
votes
0
answers
21
views
Interactive graph in D3.js - problems with adding/flagging elements
I wrote the code for making an interactive graph which have some major problems.
The idea is that first, I want to display three clickable SVGs. After clicking on one of them, the two unclicked SVGs ...
1
vote
1
answer
56
views
r - ANOVA on a distance matrix (nesting required?)
I have an experimental design intended to investigate the influence of two treatment factors (A with 2 levels and B with 8 levels) on the proportions in 8 groups. However, due to technical reasons, I ...
0
votes
1
answer
122
views
Discord.JS Invalid Form Body when creating a select menu
I'm new to menu selectors and I'm not really sure why I'm having problems getting started with it.
I've tried to make a test menu selector to get started.
const menu = new StringSelectMenuBuilder()...
1
vote
0
answers
130
views
How can I implement interactive annotations on a map with MapKit in SwiftUI for visionOS?
I'm trying to make interactive annotations on a Map with MapKit and everything works fine on iOS 17. The only issue I have is that on visionOS, the tap gesture is not being recognised, so I when I ...
0
votes
0
answers
104
views
How to specify custom interactions (one binary variable with all other variables) for a caret model?
I am running a glmnet model in R using the caret package and doing repeated nested cross-validation with the nestedcv package. I need to include a "custom" interaction of a single one of my ...
0
votes
0
answers
37
views
Setting similar yaxis between 2 graphs for a ggplot code with an interaction
My problems is that I have two interaction plots, one for psychological and one for somatic complaints. I want to portray them next to each other using the code cowplot. I would like to have similar ...
0
votes
2
answers
639
views
How do I produce a customizable interaction plot using the estimated marginal means? [closed]
I am currently looking at how the effect of two factors (temperature, species) on the duration of the egg stage in insects using a linear model and ANOVA analysis as follows:
## Model
type3.egg <- ...
0
votes
1
answer
20
views
How can I check all the attributes (in same time) of some objects (same kind of) stored in a tuple?
I was trying to create a game.. (In Python) I made some objects with the same class. Then I made a function with (*) in the argument to get as many arg. as I want. But I guess, I got a tuple and now I ...
0
votes
1
answer
246
views
lmerTest::lmer: Creating an interaction term manually
Short version
factorC <- paste(factorA, factorB)
Is factorA*factorB equivalent to factorA+factorB+factorC in the formula of a linear mixed effects model?
Background
I use the function ancombc2() ...
0
votes
1
answer
92
views
Get actions from users for quiz bot on discord
I'm kind of new in coding. Thought, i'm working on my second bot. The first one is giving random prompt from a json file to let players imagine their character in new situation to help them to know ...
1
vote
0
answers
62
views
Html interaction (select and click-submit) with Selenium under C#
I am trying to interact with an html page with Selenium and I cannot perform the actions that I would like to.
I have a form to fill-in with two sets of actions that needs a final validation before ...
1
vote
1
answer
60
views
Trying to make an object clickable, turn "inactive" and another to turn active. Not sure what is wrong
Well.
I am constructing a 3D point n click slice as a project in Unity with C#.
It isn't meant to be complicated, and rather I have made it as simple as possible, to try and make it manageable for ...
1
vote
0
answers
94
views
useEffect Not Properly Handling Focus on iOS Devices in React Application
I'm working on a React application where we use a custom hook (useFlipAnimation) to manage the flipping animation of a card component. When the card flips to its back side, we want to automatically ...
0
votes
0
answers
32
views
julia Jupyter on() interaction error message
Trying to use three sliders and display the
sum of their values with Julia in a Jupyter notebook
I get some complicated errors
(the update of the textbox displaying the sum seems to work o.k.).
The ...
0
votes
1
answer
782
views
Change lines types in interact_plot function
I use interact_plot to visualise the interaction effect of my numerical moderator (mean; +1SD; -1SD).
The problem is that the lines for mean and +1SD are dashed and for -1SD solid.
I would like to ...
0
votes
1
answer
255
views
R forcing computation of interaction term estimates for reference level when it shouldn't
I am trying to run different sets of regression models with fixed effects uisng feols from the fixest package in R. I run into issues where R forces me to compute the interaction of the reference ...
1
vote
1
answer
112
views
Forward slash interaction term in R
I'm reading this vignette which states:
Most R users will be familiar with the base expansion operators for creating model interaction terms, e.g. x1*x2, x1:x2, and x1/x2
I know that x1:x2 is x1 ...
1
vote
0
answers
182
views
How to add reference level(s) for interaction in R
My question is connected with this:
How to add a reference level for interaction in gtsummary and sjPlot
for which I did not get a solution that I am still in need.
The code is as follows:
set.seed(...
2
votes
1
answer
228
views
Is there a way to customise panel titles in an effects plot?
I have created the plot below to visualize interactions but I was wondering if I can customize the parts of the plot that say education = College, education = Graduate, education = High School.
Code:
#...
0
votes
0
answers
518
views
Replacing Standard Errors in a GLM Model in R [Follow-up]
My post is a follow-up question to this one: Replacing Standard Errors in a Reg Model in R
I am in search of a way to directly replace the standard errors in a regression model with my own standard ...
0
votes
1
answer
93
views
Cat_plot in r: Does it work with a poisson regression?
I am considering using cat_plot in r to visualize interactions between two categorical variables.
However, do any of you know wheter it work on a poisson regression model?
e.g.:
model <- glm(event ~...
0
votes
0
answers
146
views
marginaleffects always giving the same estimates for a reference category when using two contrasts (R)
I am trying to calculate marginal effects of a triple interaction using the marginaleffects package in r. My regression looks like the following:
library(fixest)
library(marginaleffects)
fmla <- ...
0
votes
1
answer
170
views
How to solve "replacement has 0 rows" when using the InteractionR function?
I was trying to run a binary logistic regression with interaction effect between two variables with binary category.
My R code is below:
md1 <- glm(Diabetes_Cate_3 ~ Age_Years+factor(Gender)+
...
0
votes
0
answers
21
views
Creating an interaction varible with marks and submission date in regression with student performance as dependent variable in regression?
I am running a regression model where dependent variable is student performance. The independent variables are assignment marks and date of submission of assignment. I am not sure how to include date ...
0
votes
1
answer
146
views
Moving map while using draw/modify/translate interactions
I'm using draw/modify/translate interactions to allow users to draw features. But when the user drags a point outside the map, I want the map to move along.
At the moment I'm using version 6.15, but ...
0
votes
0
answers
1k
views
MySQL Workbench UBUNTU 22.04.3 LTS - Cannot Connect to Database Server "User interaction failed"
After clicking on MySQL Connection I'm getting the message:
Cannot Connect to Database Server "User interaction failed"
I tried to reset root password via ALTER USER but same message "...
-2
votes
1
answer
907
views
Allow user interaction in views behind a fullScreenCover in SwiftUI
I have a view that shows an animation briefly that needs to be in front of everything (including on top of any presented sheets which means a ZStack or .overlay will not work). .fullScreenCover works,...
0
votes
1
answer
88
views
C# WPF CanExecute for InvokeCommandAction
Is it possible to set a CanExecute on an InteractionTrigger?
This is my code, but I know in some instances the ButtonCommand will be NULL, So I want to be sure that I do not cause any issues.
<i:...
0
votes
1
answer
1k
views
Cox regression with interaction term - which p value to use?
hoping the hive can help me understand this.
I want to study the effect of a continuous variable (x1) on survival, accounting for interaction between x1 and another continuous variable (x2). My full ...
1
vote
1
answer
118
views
How can I create a GAM that has two date scales that interact with a factor?
I want to model the relationship between my y variable and time. I suspect there's a seasonal effect of summer months and an overall trend that may be captured by year. I also want to explore the ...
1
vote
1
answer
54
views
Interactive Ploting with Matplotlib
When I adjust the position slider, for example pdfReader X,Y,Z, the point(pdfReader) in the plot won't be updated accordingly. Instead, I would see <Figure size 640x480 with 0 Axes> in my ...
0
votes
0
answers
269
views
Running a code on Texmaker for the first time
I have just installed Texmaker to work with LaTeX and tried to run a simple code with a titel but it gives me this error. Is it an issue in the LaTeX instalation process, or in the Texmaker itself?
...
1
vote
1
answer
247
views
Ordinal + Continuous interaction in lavaan
I'm completing a moderation mediation analysis in lavaan.
All of my variables are continuous other than my mediator, which is an ordinal with 3 levels (0,1,2). Lavaan can't handle interactions between ...
0
votes
1
answer
42
views
How to get id of message that I reply to
I have this command:
import { SlashCommandBuilder } from 'discord.js';
import { client } from '../index.js';
import * as functions from '../functions/functions.js';
// Creates an Object in JSON with ...
0
votes
1
answer
256
views
ggpredict and quartiles: predictions with only one data point?
I am using ggefects::ggpredict() to plot a regression model including two-way interactions: categorical:continuous, continuous:continuous, continuous:continuous (2nd degree polynomial). My first ...
0
votes
1
answer
704
views
Stata - 2SLS with interaction term with a categorical variable
I am trying to run 2SLS with an interaction term. My treatment variable is a dummy 0/1 called Industry. My instrument is a continuous variable called IV_jack. Without interaction, I run:
ivreg2 Y (...