similar to: Frequency vector

Displaying 20 results from an estimated 700 matches similar to: "Frequency vector"

2009 Sep 04
1
write.table column names shift
Hi everyone, I want to write some data to file, for example a = c(1,2,3,4,5) b = c(5,6,7,8,9) write.table(cbind(a,b), file = "R output.csv", sep = ",") The result is this: a b 1 1 5 2 2 6 3 3 7 4 4 8 5 5 9 It added an index and shifted the column names by one, b is above a, and a is above the added index. Does anybody know a way to prevent this shift from happening?
2009 Mar 02
1
plotting on map
Hi list, I want to plot state Texas using map function. I wrote the following code to plot the grid boundary for Texas: ################################ library(maps) require("mapproj") longlatLimit<-c(-106.65, -93.53 , 25.93 , 36.49) par(plt=c(0,1,0,1),cex=1,cex.main=1) #Set plotting parameters map(projection="azequalarea",
2008 Dec 01
3
exclude a vector value from another vector
Dear All, I am trying to build a program which will take repeated samples (w/o replacement) from a population of values. The interesting catch is that I would like the sample values to be removed from the population, after each sample is taken. For example: pop<-c(1,5,14,7,9,12,18,19,65,54) sample(pop, 2) = lets say, (5,54) ## This is where I would like values (5, 54) to be removed from
2008 Dec 01
2
vector
Dear All, I am trying to build a program which will take repeated samples without replacement from a population of values. The interesting catch is that I would like the sample values to be removed from the population, after each sample is taken. For example: pop<-c(1,5,14,7,9,12,18,19,65,54) sample(pop, 2) = lets say, (5,54) ## This is where I would like values (5, 54) to be removed from
2013 Feb 19
2
[LLVMdev] Is it a bug or am I missing something ?
Hi all, on following code: ; ModuleID = 'shufxbug.ll' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32" target triple = "i386-pc-linux-gnu" define void @sample_test(<4 x float>* nocapture %source, <8 x float>* nocapture %dest) nounwind noinline { L.entry:
2008 Aug 12
1
Quickly calculating the mean results over a collection of data sets?
I have a collection of datasets in separate data frames which have 3 independent test parameters (w, x, y) and one dependent variable (z) , together with some additional static test data on each row. What I want is a data frame which contains the test data, the parameters (w, x, y) and the mean value of all (z)s in the Z column. Each datasets has around 6000 rows and around 7 columns, which
2012 Apr 24
1
how to cumulate up times
Dear List, given a vecor of times in 5,15 and 30 minutes and a start point in time, lets say 09:30:00, how do I add up those times to the start time getting a cumulative time sequence? mt<-times(c('00:05:00', '00:15:00', '00:30:00')) mt wanted 00:05:00 09:35:00 00:15:00 09:50:00 00:30:00 10:20:00 Regards, Ren?
2008 Oct 17
1
Function question
Hi, Let's say very simply there is a function: f <- function (x) x^2 which is evaluated with : f(2) Now, I want to do the reverse so I want to now x for f(x) = 4 So, is there a way in R to solve x for some function f(x)=a? I hope I explained it clear. cheers, Dennis -- View this message in context: http://www.nabble.com/Function-question-tp20036365p20036365.html Sent from the R
2013 Feb 19
0
[LLVMdev] Is it a bug or am I missing something ?
<<<<<<<<<<<<<<<<<<<<<<<<<< ; ModuleID = 'shufxbug.ll' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:6 4-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32" target triple = "i386-pc-linux-gnu" define void @sample_test(<4 x float>* nocapture
2008 Aug 05
1
optimize simultaneously two binomials inequalities using nlm( ) or optim( )
Dear R users, I?m trying to optimize simultaneously two binomials inequalities (used in acceptance sampling) which are nonlinear solution, so there is no simple direct solution. Please, let me explain shortly the the problem and the question as following. The objective is to obtain the smallest value of 'n' (sample size) satisfying both inequalities: (1-alpha) <= pbinom(c, n, p1)
2005 May 04
5
Running CentOS on very old hardware
A friend has an old Pentium-133 laptop with 32MB of memory and a 1.3 GB hard disk that he wants to use as a web server for a very small community. Will CentOS (or any other RHEL derived distribution for that matter) install and run with acceptable performance on such a system, or will a specialized distribution like Damn Small Linux be a better choice? In this case, disk space is not a big
2009 Dec 01
1
Error message when logical indexing vecor is all FALSE
Dears, is there any way to "switch off" or work around the error message that pops up when I do something like: A<-B['logical vector'] and when 'logical vector' only consists of FALSE values? My problem is that this message always kicks me out of my loops and always testing via an if clause whether 'logical vector' contains any TRUE values is much too
2008 Jul 21
0
optimize function help!!
Dear R users, I?m trying to optimize simultaneously two binomials inequalities used to acceptance sampling, which are nonlinear solution, so there is no simple direct solution. The 'n' represents the sample size and the 'c' an acceptance number or maximum number of defects (nonconforming) in sample size. The objective is to obtain the smallest value of 'n' (sample size)
2003 May 08
2
EXCEL FILE
Hi gruop, Pardon my question, but how could I import a excel file with 2 columns to R and then work with them as vecors. Thanks in advance,
2000 Nov 15
8
Optimisations
Looking through the archives I have seen talk of making CPU specific optimisations for Vorbis, a la MMX/3DNow!/SSE. The feeling I gather is to wait until something is working well in C before committing to any kind of specific optimisation. What if oft used and needed DSP functions were identified and standardised DSP functionality be written for Vorbis? This would seperate the basically
2010 Nov 24
1
Frequency tables including the zero frequencies
An embedded and charset-unspecified text was scrubbed... Name: n?o dispon?vel URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101123/bb780c83/attachment.pl>
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:
2007 Apr 06
3
Count frequency of term in a specific document?
Is there any way to count the frequency of specific term in one document? I can''t find any method... Do you? -- Posted via http://www.ruby-forum.com/.
2007 Apr 11
1
Headers update frequency in local repo
Hi all, I'm trying to build a local repo as a mirror of basic repos ([Basic], [Update],[Addons], [Extras],[CentOSPlus]) and popular third part repos ([Dries],[DAG] and [kbs]). The doubt I have is ?Is needed that I regenerate the repo headers [1] every time when I've updated the local mirror repo [2]? [1] Eliminate old headers and generate new ones with createrepo script. [2] I'll
2006 Jul 15
0
periodically_call_remote :frequency
Is there any way to change the frequency of a running periodically_call_remote without having to reload the whole page? -- Posted via http://www.ruby-forum.com/.