Questions tagged [discrete]
83 questions
0
votes
0 answers
SelectOutput blocked
I am designing a manufacture process and I using an assembler to package the components. The case is that there is a limit number of components so when we ran out of one type of component I am trying to redirect the flow to another assembler in…

Adrian
- 23
- 4
0
votes
1 answer
What will be the frequency ranges of 200hz EEG signal after dwt?
I have 200 Hz EEG signal.I have applied a bandpass filter with a cutoff frequenct 1 to 60 Hz. If now I apply discret wavelet transform for 5 level decomposition .... How the signal will be decomposed??starting from 60 Hz or 200Hz??
Thanks in advance

Shoity
- 1
0
votes
0 answers
Labelled Orthogonal design for discrete choice in R
I really appreciated that I found StackOverflow and your answers. I have a problem preparing orthogonal designs. I have two labeled alternatives. The first alternative has 5 attributes and the second alternative has 4,4,4,4,3 levels respectively.…

halil karlı
- 1
- 1
0
votes
0 answers
Colouring line of best fit by shape whilst accounting for a separate coloured variable in ggplot?
I have a technical issue with my attempts to plot group differences whilst accounting for 3 variables. This all works fine until I attempt to plot the line of best fit for each group; which results in a plot that makes it difficult to distinguish…

Rhys Maredudd Davies
- 33
- 4
0
votes
0 answers
Add general label to facets ggplot2
I am trying to add a general legend to facets in a plot. But I can´t. I was looking but the nearest question is this: How do you add a general label to facets in ggplot2?. Anyway, this it isn't an answer for my problem because I hace discrete data.…

Kevin Santos
- 87
- 5
0
votes
1 answer
D3 V7 Bar chart snapping both on zoom and brush behaivours
I'm trying to implements booth zoom and brush snapping so the selection area set rather by zoom or a brush behaivour coincides rigidly with the bars boundaries. Please use illustration as a reference.
I have managed to make a very simple sketch and…

toowren
- 85
- 7
0
votes
1 answer
Like Bezout's identity but with Natural numbers and an arbitrary constant. Can it be solved?
I'm an amateur playing with discrete math. This isn't a
homework problem though I am doing it at home.
I want to solve ax + by = c for natural numbers, with a, b and c
given and x and y to be computed. I want to find all x, y pairs
that will…

Graemec
- 1
- 1
0
votes
1 answer
Create new dataframe which summarizes the number of occurences for different numeric ranges of some other column
I have dataframe df as shown in the first photo. Green rows are the ones which have column Condition1 as 'Yes'. Yellow rows are the ones which have BOTH columns Condition1 and Condition2 as 'Yes'.
Question:
See second photo which shows desired…

Sinha
- 431
- 1
- 5
- 12
0
votes
0 answers
Create a discrete colorbar for integer values
I have a question and hope someone can help me out with this one:
I would like to create a colorbar like in the picture below (the picture was created in PowerPoint , so code behind it). The idea is that I would like to display in a plot whether…
0
votes
1 answer
Replacement subjects stop for no reason in Anylogic
I am having a problem keeping my Gilt Replacement Rate slider continuing to add new animals to my model. I have added in a giltQuarantine delay of 8 weeks just after the source block, which helps to visualize how the gilt replacement rate is…

Maggie
- 19
- 3
0
votes
1 answer
Issue with displaying label for the discrete legends after using view box attribute for svg
I have created the discrete legend using svg and I want to show the index as its label.
// creating svg
selectedLegend
.append("svg")
.attr("viewBox", `0 0 ${count} 1`)
.attr("preserveAspectRatio", "none")
function legend(g: any) {
// appending…

Eric
- 123
- 9
0
votes
1 answer
2D Discrete Convolution of Image and Mask using C
I am trying to make a convolution algorithm for grayscale bmp image. The below code is from Image processing course on Udemy, but the explanation about the variables and formula used was little short. The issue is in 2D discrete convolution part, im…

Omkar Katkole
- 13
- 2
0
votes
0 answers
Discrete Distribution Fitting
I have a dataset in xlsx with some discrete values(name:saoi) and i want to see which discrete distribution fitts better to them.
I made some Histograms:
[Full Histogram]
[Hist with values until 5000]
[Hist with values until 10000]
The code is…

babbab
- 1
0
votes
1 answer
Analysing the pattern in the growth of organisms using discrete data
I have data of the size of 200 individuals of a particular plant species. But the size was measured in an indirect way, counting the number of leaves (discrete data), monthly during a total of 14 months. The germination, growth and death of the…

Andres
- 59
- 6
0
votes
1 answer
In Anylogic How can I model truck that deliver orders to multiple clients
I'm creating a model based on the product delivery example provided by AnyLogic. In my own model, I want a truck to deliver multiple orders in one trip instead of one. My process diagram is shown below. Here, an order enters via the enter block and…

Yope
- 43
- 6