search for: frequenci

Displaying 20 results from an estimated 5804 matches for "frequenci".

Did you mean: frequency
2011 Nov 08
3
window?
Can someone enlighten me on why the following doesn't work? setwd('C:/Temp/R') d <- rep(1:53,2) (s <- ts(d, frequency=53, start=c(2000,10))) n <- length(s) k <- n%/%3 for(i in (n-k):n) { st <- c(start(s)[1] + (start(s)[2] + i)%/%frequency(s), (start(s)[2] + i) %% frequency(s)) ed <- c(start(s)[1] +
2005 Aug 19
2
FFT, frequs, magnitudes, phases
Hi, I'm in dire need of a fast fourier transformation for me stupid biologist, i.e. I have a heartbeat signal and would like to decompose it into pure sin waves, getting three vectors, one containing the frequencies of the sin waves, one the magnitudes and one the phases (that's what I get from my data acquisition software's FFT function). I'd be very much obliged, if someone could point out which command would do the job in R. Thanks! Wolfgang
2012 Mar 04
1
Changing the frequency of time series
I know how to do this when creating the time series variable in one expression, e.g. valuesTS1<-ts(values,start=2000); # Frequency naturally defaults to 1 How can I specify the frequency of a time series? > values=c(12,34,65,12); > values<-ts(values); > frequency(values); [1] 1 > start(values) [1] 1 1 > frequency(values)<-12; Error in frequency(values) <- 12 : could
2024 Aug 07
1
Opus Tools -- low bitrates, new features in 1.5, "expect-loss"
...g. Finally, the fact that first the undesired frequency comes in pretty quickly and then the original frequency disappears very quickly; so at one point, they're both there (and this point happens to be at 8 kHz). > What makes you think there is any downsampling involved? The fact that frequencies higher than 20 kHz are not filtered out but are rather replaced with frequencies higher than 4 kHz. Petr
2010 Jun 23
1
Generation of binomial numbers using a loop
...1 3 2 4 1 1 3 1 3 1 1 1 2 2 1 3 1 1 4 1 1 3 2 1 3 3 1 1 2 1 1 2 3 3 1 1 2 3 2 1 1 1 2 1 1 [241] 1 3 2 1 1 2 3 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 2 1 1 1 ## My Problem However I am not sure whether I will be dealing with only "5" numbers. So I can have 'n' no.s of frequencies, no of trials and even probabilities. Thus I need to generate these numbers using a loop. Assuming I am once again dealing with above data only, I have tried to modify my R code as given below. n = length(frequency) freq = NULL for (i in 1:n) { freq[i] = rbinom(frequency[i], no_trials[i], pro...
2008 Sep 09
4
Help with 'spectrum'
For the command 'spectrum' I read: The spectrum here is defined with scaling 1/frequency(x), following S-PLUS. This makes the spectral density a density over the range (-frequency(x)/2, +frequency(x)/2], whereas a more common scaling is 2? and range (-0.5, 0.5] (e.g., Bloomfield) or 1 and range (-?, ?]. Forgive my ignorance but I am having a hard time interpreting this. Does this mean
2004 Jul 09
2
Simple 'frequency' function?
Hi, I have designed the following function to extract count frequencies from an array of integers. For example... # Tipical array x <- cbind(1,1,1,1,1,2,2,2,2,3,3,3,3,4,5,6,7,22) # Define the frequency function frequency <- function(x){ max <- max(x) j <- c() for(i in 1:max){ j[i] <- length(x[x==i]) } return(j) } fre <...
2017 Nov 09
2
Calculating frequencies of multiple values in 200 colomns
...will be calculated using the > frequency of these 2 values only without considering the frequency of the > 3rd value. For example, if I have the values : 1 , 2 , 3 in each column, > applying Tabulate () would calculate the frequency of 1 and 2 without 3 . I > need a way to calculate the frequencies of all of the 3 values so the > calculation of maf will be correct as it will consider all the 3 > frequencies but not only 2 . > > > Regards > > Allahisone > ------------------------------ > *From:* Bert Gunter <bgunter.4567 at gmail.com> > *Sent:* 09 November...
2012 Sep 21
0
Xen 4.2.0 - CPU Frequency Scaling
Hi, This has been a problem since the xen-acpi-processor code was added to the kernel source. I wasn''t sure if the problem I was seeing was related to the old version (4.1.2) of Xen that I was using but now I''m on 4.2.0 and it still exists I thought I would check if I have a misconfiguration or if I have discovered a problem. My system is a dual AMD Opteron(tm) Processor
2008 Nov 30
1
help: unbalanced repeated measures
Hi folks, I am trying to figure out how run a repeated measures ANOVA on the following data set. subject trial frequency dplvl 1 FSI052A A 1 NA 2 FSI052B B 1 NA 3 FSI053A A 1 NA 4 FSI055A A 1 NA 5 FSI055B B 1 NA 6 FSI057A A 1 NA 7 FSI057B B 1 NA 8 FSI058A A 1 NA 9
2017 Nov 10
0
Calculating frequencies of multiple values in 200 colomns
...lues and this is my exact problem as the frequency of 0 values should also be calculated for the maf to be calculated correctly. ________________________________ From: Bert Gunter <bgunter.4567 at gmail.com> Sent: 09 November 2017 23:51:35 To: Allaisone 1; R-help Subject: Re: [R] Calculating frequencies of multiple values in 200 colomns [[elided Hotmail spam]] "For example, if I have the values : 1 , 2 , 3 in each column, applying Tabulate () would calculate the frequency of 1 and 2 without 3" Huh?? > x <- sample(1:3,10,TRUE) > x [1] 1 3 1 1 1 3 2 3 2 1 > tabulate(x) [...
2010 Sep 22
3
Extracting bins and frequencies from frequency table
Dear R users, I would like to great a frequency table from raw data and then access the classes/bins and their respective frequencies separately. Here the code to create the frequency tables: x1 <- c(1,5,1,1,2,2,3,4,5,3,2,3,6,4,3,8) t1 <- table(x1) print(t1[1]) Its easy to plot this, but how do I actually access the frequencies alone and the bins alone? Basically I am looking to get: bins <- c(1, 2, 3, 4, 5, 6, 8)...
2012 Sep 20
3
(no subject)
...m their frequency lists) ... names(joint.freqs)<-sort(unique(c(names(freq.list.a), names(freq.list.b)))) # ... and (ii) whose elements have these different types as names. joint.freqs[names(freq.list.a)]<-freq.list.a # The elements of the new vector joint.freqs that have the same names as the frequencies in the first frequency list are assigned the respective frequencies. joint.freqs[names(freq.list.b)]<-joint.freqs[names(freq.list.b)]+freq.list.b # The elements of the new vector joint.freqs that have the same names as the frequencies in the second frequency list are assigned the sum of the va...
2017 Nov 10
2
Calculating frequencies of multiple values in 200 colomns
...lem as the frequency of 0 values should also be calculated for the maf to be calculated correctly. > > ________________________________ > From: Bert Gunter <bgunter.4567 at gmail.com> > Sent: 09 November 2017 23:51:35 > To: Allaisone 1; R-help > Subject: Re: [R] Calculating frequencies of multiple values in 200 colomns > > [[elided Hotmail spam]] > > "For example, if I have the values : 1 , 2 , 3 in each column, applying Tabulate () would calculate the frequency of 1 and 2 without 3" > > Huh?? > >> x <- sample(1:3,10,TRUE) >> x...
2013 Jun 06
2
generating a bar chart with two axis for co-linear variable
Hello Dimitris, I was goggling for some help on Sensitivity vs 1-specificity and saw your link. I hope you can be of help to me in one of the issue that I am facing in generating combo chart(bar chart and plot). I am a novice and have some difficulty in getting this logic correct. I am give a dataset (I am attaching a sample dataset). I am using a barplot() and passing values for
2015 Mar 27
9
[LLVMdev] fix for loop scale limiting in BFI
I've been trying to get rid of the loop scale limiting problem during BFI. Initially, this was saturating frequencies to the max side of the scale, so a double nested loop would get max frequencies in all the blocks (e.g., llvm/test/CodeGen/X86/lsr-i386.ll). This made the inner loop no hotter than the outer loop, so block placement would not bother aligning them. In convertFloatingToInteger() we are scaling the...
2015 Apr 24
5
[LLVMdev] Loss of precision with very large branch weights
In PR 22718, we are looking at issues with long running applications producing non-representative frequencies. For example, in these two loops: int g = 0; __attribute__((noinline)) void bar() { g++; } extern int printf(const char*, ...); int main() { int i, j, k; for (i = 0; i < 1000000; i++) bar(); printf ("g = %d\n", g); g = 0; for (i = 0; i < 500000; i++) bar(...
2008 Apr 27
2
how to modify the histogram's frequencies
Hi: I have been trying to figure out a simple way to plot an histogram whose frequencies are modified by a factor (associated with each value). Actually what I did was plotting each value with its modified frequency(using plot($values, $frequency, type="h")), but it doesnt take into account the probability distribution(which is necessary). It will be very helpful from y...
2012 Sep 18
2
Formula in a data-frame
Hello all, I'm new in R, and I have a data-frame like this (dput information below): Specie Fooditem Occurrence Volume 1 Schizodon vegetal 1 0.05 2 Schizodon sediment 1 0.60 3 Schizodon vegetal 1 0.15 4 Schizodon alga 1 0.05 5 Schizodon sediment 1 0.90 6 Schizodon
2017 Nov 10
0
Calculating frequencies of multiple values in 200 colomns
...ned vector indicating how many 1's, 2's, 3's, 4's and 5's are present in the source vector. Compare that to: > tabulate(c(2, 3, 5), nbins = 3) [1] 0 1 1 In the above example, 5 is ignored. Note also that tabulate(), unlike table(), does not return a named vector, just the frequencies. While tabulate() is used within the table() function, reviewing the code for the latter reveals how the default behavior of tabulate() is modified and preceded/wrapped in other code for use there. Regards, Marc Schwartz > On Nov 10, 2017, at 8:43 AM, Boris Steipe <boris.steipe at utor...