search for: threes

Displaying 20 results from an estimated 23746 matches for "threes".

Did you mean: three
2010 Nov 04
3
creating vectors with three variables out of three datasets
Hi there, i´ve got a problem with how to create a vector with three variables out of three seperate ascii files. These three ascii files contain pixel information of the same image but different bands and i need a matrix of vectors, with each vector containing the corresponding pixel values for each band. Up to now i´ve seperately read out the ascii files into three matrices but don´t know how
2009 Aug 07
1
Proper / Improper scoring Rules
Hi All, I am working on some ordinal logistic regresssions using LRM in the Design package. My response variable has three categories (1,2,3) and after using the creating my model and using a call to predict some values and I wanted to use a simple .5 cut-off to classify my probabilities into the categories. I had two questions: a) first, I am having trouble directly accessing the
2009 Apr 14
2
matching lists
Dear All,   Here's my problem. I have two lists:   > v [[1]] [1] "five" [[2]] [1] "four" [[3]] [1] "three" [[4]] [1] "two" [[5]] [1] "one" [[6]] [1] "six" [[7]] [1] "five"  "four"  "three" "two"   "one"   "six"  [[8]] [1] "four"  "three"
2009 Dec 20
2
how to create three new variables? Thanks a lot!
Dear R experts: I have following data structure: student id, exam time and score. I want to create three new columes: 1 st before, 2nd before and 3rd before. For example, for student 1's 4th exam score is assumed to be influenced by his previous three cloest scores, which are 6, 9, and 10 in that order. For student 2's 5th exam score is assumed to be inflenced by her previous cloest
2010 May 05
4
any function in R similar to the "scan" function in SAS?
I am wondering if there is any function in R that is similar to the "scan" function in SAS. I have a data.frame which has two columns as the following: one two 1 2 3 4 5 6 I used the "paste" function to create the third column: three <- paste(one,'-',two,sep="") so the data.frame is like this now: one two three 1 2 1-2 3
2012 Jan 04
6
Combining characters
Hi all, I'm trying to combine exhaustively several character arrays in R like: x=c("one","two","three") y=c("yellow","blue","green") z=c("apple","cheese") in order to get concatenation of x[1] y[1] z[1] ("one yellow apple") x[1] y[1] z[2] ("one yellow cheese") x[1] y[2] z[1]("one blue
2004 Jun 09
2
nominal data
Hi, I am a new user of R. I have 2 series of nominal data (2 series of answers for the same question) and I want to calculate the correlation between these 2 series. I've tried to use the correlation function (corr, ...) but all are for numeric data... Does anyone know what function should I use for the nominal data? Thanks a lot, Bianca
2010 Aug 26
1
No [[<-.factor()
Should there be a [[<-.factor() that either throws an error or acts like [<-.factor() to avoid making an illegal object of class factor? > z <- factor(c("Two","Two","Three"), levels=c("One","Two","Three")) > z [1] Two Two Three Levels: One Two Three > str(z) Factor w/ 3 levels
2010 Jul 12
3
Multiple Ploting Colors
I'm trying to use multiple plotting colors in my code. My first "ifelse" statement successfully does what I want. However, now I want anything less than -4.5 to be green and the rest black. I want another "col" argument but can only use one. How could I go about getting separate colors for anything above 4.5 and less than -4.5? plot(three, type="h",
2009 Nov 03
6
one long column of data -> three small columns
say i have a column of data like this... 2 3 4 2 1 6 6 4 7 and i want it in three columns like this 226 314 467 ...so i can make a contour plot. How do i do this? -- View this message in context: http://old.nabble.com/one-long-column-of-data--%3E-three-small-columns-tp26163165p26163165.html Sent from the R help mailing list archive at Nabble.com.
2006 Apr 21
3
Sorting Search results
I tried sorting the search results in Ferret::Index::Index#search and what I found was that the sort is applied not to the whole search but to the returned results. Suppose I have these results: Text - Num foo - 2 bar - 3 far - 4 boo - 1 If I limit the search to the first two and sort by num I get: foo - 2 bar - 3 while I think the natural behaviour would be: boo - 1 foo - 2 Is this
2017 Jan 24
3
CentOS 7 install on one RAID 1
Hi, folks, I'm building a new box, and I want three partitions - /boot, /, and swap, on *one* RAID 1, not three separate partitions. Other than <alt-f2> mdadm..., *is* there any way in the graphical installer to do this? All I see is a way to make three separate partitions. Pointers to links happily accepted. mark, back to googling
2007 Jun 07
2
Multiple USVs (how to identify each one)
Hi everybody, we have three MGE UPS'. I've read all the documents I've found, but I haven't got the information I need. All three of them being attached to the same machine I need a way to identify which is wich (all three use the same driver). They power different systems (two of them running windows so that I can't easily setup a network-enabled software on two of them, as
2012 Mar 25
2
string substitution for argument in function
hello, I want to iterate through a list of names and use each element as an argument in a function. For instance: > a = c('one','two','three') > data= c() > for(elem in a){data=cbind(elem = 2,data)} > data elem elem elem [1,] 2 2 2 instead I want 'elem' to be substituted by the string in the list. Doing it by hand would be: > data =
2018 Sep 19
3
A different error in sample()
....Machine$integer.max." However, again in the console:> set.seed(123) > table(sample(2.001, 10000, replace=TRUE)) ?? 1??? 2??? 3 5052 4941??? 7 So, neither rounding nor truncation is occurring. Next, define a sequence. > x <- seq(2.001, 2.51, length.out=20) Now, grab all of the threes from sample()-ing this sequence. > set.seed(123) > threes <- sapply(x, function(y) table(sample(y, 10000, replace=TRUE))[3]) Check for NAs (I cheated here and found a nice seed).> any(is.na(threes)) [1] FALSE Now, the (to me) disturbing result. > is.unsorted(threes) [1] FALSE or...
2009 Mar 18
2
Three Parameter FRECHET Distribution
Dear R Helpers Which package is available for estimatine the parameters of three parameter FRECHET distribution. Also, how to generate the random numbers for Frechet using these three estimated parameters. Thanking in advance Maithili
2005 May 28
1
7960 / chan_sccp: Less than three lines / more than three speeddials possible?
On Sat, May 28, 2005 at 01:51:56AM +0200, Stefan Gofferje arranged a set of bits into the following: > Hi folks, > > I'm trying the latest mayday chan_sccp and found it difficult to have > more than three speeddials. I have defined only one line but can't get > more than three SDs. On console, * says > > May 28 01:44:12 ERROR[26933]: sccp_actions.c:252 >
2007 May 22
5
basic problem but can't solve it
Hello, I have a basic problem but i can't figure it out with the table underneath. I would like to compute monthly averages. I would like to have the average measure for month #5 for the first three rows (the same number in the first three lines) and the average measure for month #6 for the last four rows ((the same number in the first three lines) in a separate vesctor (let's call
2006 Aug 03
1
Re: [Nemo-devel] nuts status page
Adam: Thanks for putting up this page. But something is wrong. In particular, our Powerware 9135 is a three phase UPS system with THREE 480 volt outputs. So the displayed voltage is not correct -- in fact there should really be THREE voltages displayed, all around 480v. Nut developers: I am copying the NUT mailing list to see if anyone can suggest how to fix this. NUT developers, see the
2004 Aug 05
1
cross random effects (more information abuot the data)
Dear friends, I have asked last few days about cross-random effects using PQL, but I have not receive any answer because might my question was not clear. My question was about analysing the salamander mating data using PQL. This data contain cross-random effects for (male) and for (female). By opining MASS and lme library. I wrote this code sala.glmm <- glmmPQL(fixed=y~WSf*WSM,