Questions tagged [frequency]

The rate at which a thing occurs or is found.

The rate at which a thing occurs or is found.

2858 questions
0
votes
1 answer

Frequency converter in C#

So my program should in the end look like this in the console. You basically just put in a random value of kilohertz (in the example its 50) And the program converts it into every hertz-"type". After that the program should convert it into period…
xVanDaLL
  • 3
  • 2
0
votes
0 answers

What is an efficient way to make a dataset and dataloader for high frequency time series with multiple individuals?

I'm trying to forecast high frequency time series using LSTMs and PyTorch library. I'm going through PyTorch tutorial for creating custom datasets and models and figured out how to create my Dataset class and my Dataloader and they work perfectly…
0
votes
0 answers

How do you add frequency (%) in geom_col?

I'm currently trying to figure out how to add frequency percentages with ggplot. The data frame is 2x2 and I'm trying to visualize one of my CrossTables. Here's the code I have: ggplot(Tatt_by_Lineup_Data_Frame, aes(x = Tatt.in.Any, y = Freq, fill =…
0
votes
1 answer

Get the frequency of different observations from every two columns

I have an R data frame as follow: position 10164.0 10164.1 10192.0 10192.1 10316.0 10316.1 10349.0 10349.1 10418.0 10418.1 4414 1 1 1 1 1 1 1 1 1 1 5295 1 1 1 1 1 1 1 1 1 1 5738 1 1 1 1 1 1 …
guidebortoli
  • 659
  • 3
  • 8
  • 16
0
votes
1 answer

SQL Frequency report with null values in columns

I need help creating a frequency report for data that crosses multiple columns of data. Here's an example of my data: [Sample Data Example] And here's how I need for the data to read, except that I can't figure out how to get the…
0
votes
1 answer

How to write a loop that find the frequency of value and stop by enter number -100

numbers = input("Enter the numbers: ") count = {} for i in numbers: if i == '-100': break print('Done') elif i in count: count[i] +=1 else: count[i] = 1 for key,value in count.items(): …
0
votes
1 answer

How to generate a new variable that shows the frequency of observations of another variable?

Let's say I have a variable in Stata: house number. I want a new variable that tells me the frequency of each value of 'house number'.
0
votes
2 answers

How to count frequency in one column based on unique values in another column in R?

I have a dataset that looks like this: Product Patient_ID 1 A 1 2 A 1 3 A 1 4 A 3 5 D 3 6 D 4 7 D 5 8 E 5 9 E …
sabc04
  • 161
  • 8
0
votes
1 answer

Finding Missing Letters

I'm currently trying to create a function that counts the frequency of characters in in a string. I need to store it in a dictionary in ASCII code. From this dictionary I need to calculate which letters do not appear in the string. enter image…
Sammy2021
  • 3
  • 3
0
votes
0 answers

How to color the cells of a table based on the frequencies of their values from the highest to the lowest?

I have this table library(carData) View(Salaries) table(Salaries$rank,Salaries$discipline) And I want to color the cells from the highest to the lowest and then be able to export the coloured table into excel. appreciate the help.
Anas116
  • 797
  • 2
  • 9
0
votes
0 answers

Plotting frequency against sequencial durations in R - time stamp transformation

I can't figure out how to plot frequency against sequencial durations in R. I have several processes(X,Y,Z,...) that consist of multiple steps (a,b,c,d,...). Each process has a different sequence of steps. So, X may consist of aabaacabcd, Y may…
b7616
  • 1
  • 1
0
votes
0 answers

How to apply high pass filter to accelerometer data?

I have accelerometer 3-axis data. I want to apply a high pass filter and eliminate frequencies less than 80 hertz. Then make a spectrogram and convert it into RGB Image. I am attaching the part which I want to implement and apply to accelerometer…
0
votes
1 answer

how to handle non-periodic timeseries in bfast (R)

my problem is the following : I have a Landsat NDVI time series that is non-periodic/doesn't have a homogenous frequency. However, the error code I receive is Error in stl(Yt, "periodic") : series is not periodic or has less than two periods after…
Tanja
  • 1
  • 1
0
votes
0 answers

Write a c program that asks for a string and tells the frequency of all characters in the word

How do I find the frequency of all the characters and not only one character (using functions and strings)? Example input: aaaaabbccc Expected output: 'a' : 5 'b' : 2 'c' : 3 #include int main() { char string[1000], character; int…
user20186273
0
votes
0 answers

Elasticsearch how merge term frequency for two field

There is an index with a set of organizations. Each document has the name of the organization, but this name can be contained in one of two different fields. Therefore, I need to search in two fields at the same time. But here there are problems…
1 2 3
99
100