search for: orange

Displaying 20 results from an estimated 987 matches for "orange".

Did you mean: range
2012 Dec 19
2
read.csv reads more rows than indicated by wc -l
...e that is more than 6 lines long, not including the header, and one of the fields is blank for the last few lines, and there is an extra comma on of the lines with the blank field, read.csv() makes creates an extra line. I attached an example file; I'll also paste the contents here: A,apple A,orange A,orange A,orange A,orange A,,, A,, ----- wc -l reports that this file has 7 lines R> system("wc -l test.csv") 7 test.csv But, read.csv reads 8. R> read.csv("test.csv", header=FALSE, stringsAsFactors=FALSE) V1 V2 1 A apple 2 A orange 3 A orange 4 A orange 5...
2010 Dec 25
4
2 Ethernet cabling question
Two questions that was not always clear for me [sorry for posting to this list :\]: ############################################################################################## Q1) when cabling, is the color order important? like: straight cabling: A side: white-orange, orange, white-green, blue, white-blue, green, white-brown, brown B side: white-orange, orange, white-green, blue, white-blue, green, white-brown, brown could be eg.: like this?? A side: white-orange, brown, white-blue, green, white-green, blue, white-brown, orange B side: white-orange, brown, whi...
2007 Jun 30
3
transactions with two models
...ions (p 381) there are two main examples. 1) making changes in two records in the same database table 2) making changes in two records each in a different *database* I want to do what is in between: changes in two records each in a different table of the same database. Suppose they are apples and oranges tables. How do I write this? Do I need to be as elaborate as this and will it work? apple = Apple.find(:first) orange = Orange.find(:first) Apple.transaction(apple) do Orange.transaction(orange) do apple.update_attributes(params[:apple]) orange.update_attributes(params[:orange]) en...
2023 Jun 08
1
Problem with pjsip
Hello everyone. I allow myself to submit a problem that I can not solve with my VOIP provider Orange in France [2023-06-08 13:19:03] ERROR[185091]: res_pjsip/pjsip_configuration.c:1044 from_user_handler: Error configuring endpoint 'Biv_Sortie' - 'from_user' field contains invalid character '@' [2023-06-08 13:19:03] ERROR[185091]: config_options.c:798 aco_process_var: E...
2017 Jun 21
3
Counting with multiple criteria using data table
...nually illustrated on the last part (desired output). Thanks--EK > Test Color Grade Value Month Day 1: yellow A 20 May 1 2: green B 25 June 2 3: green A 10 April 3 4: black A 17 August 3 5: red C 5 May 5 6: orange D 0 June 13 7: orange E 12 April 5 8: orange F 11 August 8 9: orange F 99 April 23 10: orange F 70 May 7 11: black A 77 June 11 12: green B 87 August 33 13: black A 79 April 9 14: green A 68 May...
2006 Jul 06
3
Comparing two matrices [Broadcast]
It might be a bit faster to do matrix indexing: R> tbm <- as.matrix(tb) # turn it into a character matrix R> tmat[cbind(match(tbm[,2], rownames(tmat)), match(tbm[,1], colnames(tmat)))] <- 1 > tmat Apple Orange Mango Grape Star A 1 1 1 0 0 O 1 1 0 0 0 M 0 0 1 0 0 G 0 0 0 0 0 S 1 1 1 0 0 HTH, Andy From: Srinivas Iyyer > > hi: > > I have matrix with dimensions(200 X 20,000). I have another...
2011 Dec 12
2
Colours for sunflowerplot
...quot;Oct","Nov"," Dec"), tick = TRUE, line = NA) legend(7, 12.5, legend = c("Grp1"," Grp2"," Grp3"," Grp4"," Grp5"," Grp6"," Grp7"," Grp8"), col = c("blue","brown","orange","green","red","lightblue","purple","pink"), pch = 19, bty = "n") For comparison of where colours should lie - normal plot: #add random number to make all points different so that they dont overplot a <- runif(109,1,1.001)...
2008 Sep 08
3
extracting max row from data matrix
dear group, i have a data matrix with some replicate items with different values. I want to extract the row with max value. for example: > x fruit weight 1 apple 1.3 2 apple 1.5 3 apple 1.6 4 orange 1.4 5 orange 1.6 x is a data frame. I want to extract unique items from fruits that has max weight. that is: 3 apple 1.6 5 orange 1.6 I want to be able to use apply functions. Could some one lend some help please. Thanks srini
2007 Sep 10
3
plot legend: combining filled boxes and lines
...bining boxes and lines in plot legend. I searched previous R-posts and found this (with no solution): http://tolstoy.newcastle.edu.au/R/help/06/07/30248.html. Is there a way to avoid boxes behind the line legends? x1 <- rnorm(100) x2 <- rnorm(100, 2) hist(x1, main = "", col = "orange",ylab = "density", xlab = "x", freq = F, density = 55, xlim = c(-2, 5), ylim = c(0, 0.5)) par(new = T) hist(x2, main = "", col = "green", ylab = "", xlab = "",axes = F, xlim = c(-2, 5), ylim = c(0, 0.5), density = 45, freq = F) abli...
2005 Sep 28
1
boxplot and xlim confusion?
...r on each line] par(mfcol=c(1,3)) par(mai = c(0,0,0.5,0.2), omi = c(1,1,1,1)) xaxis = c(-6000,1000) yaxis = c(0,7) #plot.new() #plot.window(xlim=xaxis, ylim=yaxis) boxplot(alsustop$V1 ,alsustart$V1 ,assustop$V1 ,alsustart$V1 ,atsustop$V1 ,atsustart$V1 ,names=names,col=c("lightblue","orange","lightblue","orange","lightblue","orange") ,horizontal = TRUE, main="ARC", xaxs = "i", las=1) #plot.new() #plot.window(xlim=xaxis, ylim=yaxis) boxplot(blsustop$V1 ,blsustart$V1 ,bssustop$V1 ,blsustart$V1 ,btsustop$V1 ,btsustart$V1 ,c...
2004 Mar 10
2
data frame filtration
Hi, R-help: I am a new user of R and am very pleased with R's features. Here I have one question regarding data frame manipulation. I have a data frame look like this: Fruit Condition 1 Orange Good 2 Orange Bad 3 Orange Good 4 Orange Good 5 Orange Bad 6 Apple Good 7 Apple Bad 8 Apple Good 9 Apple Good 10 Apple Bad 11 Apple Good 12 Apple Bad 13 Mango Good 14 Mango Good 15 Mango Bad and I like to remove fruit group(s) with three or mor...
2006 Jul 06
3
Comparing two matrices
hi: I have matrix with dimensions(200 X 20,000). I have another file, a tab-delim file where first column variables are row names and second column variables are column names. For instance: > tmat Apple Orange Mango Grape Star A 0 0 0 0 0 O 0 0 0 0 0 M 0 0 0 0 0 G 0 0 0 0 0 S 0 0 0 0 0 > tb # tab- delim file. V1 V2 1 Apple S 2 Apple A 3 Apple O 4 Orange A 5 Orange O 6 Orange S 7 Mang...
2008 Mar 19
1
Radio Buttons or similars
...cted value in the Radio Buttons. I would like that, if somebody know as I could return the value, you say me as do it. Next, I show the function function1<-function(){ require(tcltk) tt <- tktoplevel() rb1 <- tkradiobutton(tt) rb2 <- tkradiobutton(tt) rbValue <- tclVar("oranges") tkconfigure(rb1,variable=rbValue,value="apples") tkconfigure(rb2,variable=rbValue,value="oranges") tkgrid(tklabel(tt,text="Which do you prefer?")) tkgrid(tklabel(tt,text="Apples "),rb1) tkgrid(tklabel(tt,text="Oranges "),rb2) value<...
2008 Sep 12
2
Again, about boxplot
...Pigs' Tooth Growth", xlab = "Vitamin C dose mg", ylab = "tooth length", ylim = c(0, 35), yaxs = "i") boxplot(len ~ dose, data = ToothGrowth, add = TRUE, boxwex = 0.25, at = 1:3 + 0.2, subset = supp == "OJ", col = "orange") legend(2, 9, c("Ascorbic acid", "Orange juice"), fill = c("yellow", "orange")) I got 6 boxplots, which is ordered as "0.5, 0.5, 1, 1, 2, 2" How can I reorder the 6 boxplots as "0.5, 1, 2, 0.5, 1, 2"? Thank you very much! -...
2010 Jan 08
2
How to Merge based on Rows
Let's say that I have a bunch of matrices. They look like this (pardon using fruit for examples, my actual data tables are far too enormous): Matrix1 Apples Oranges Pears A 5 6 7 B 5 3 4 C 8 9 10 D 11 13 14 E 15 3 8 F 1 4 5 Matrix2 Apples Oranges Pears A 5 3 9 B...
2010 Sep 26
2
Changing x-axis on boxplot
..., ??????? xlab = "Vitamin C dose mg", ??????? ylab = "tooth length", ??????? xlim = c(0.5, 3.5), ylim = c(0, 35), yaxs = "i") boxplot(len ~ dose, data = ToothGrowth, add = TRUE, ??????? boxwex = 0.25, at = 1:3 + 0.2, ??????? subset = supp == "OJ", col = "orange") legend(2, 9, c("Ascorbic acid", "Orange juice"), ?????? fill = c("yellow", "orange")) ?Tim Clark Marine Ecologist National Park of American Samoa
2009 Feb 19
2
counting strings in a column
Dear All, I have a query : what is the command to count number of repeated words in a column. for ex: a = oranges oranges apples apples grape oranges apple pine the result should be oranges 3 apples 3 grape 1 pine 1 is there an easy way for this. Thanks, Nataraju GM R & D Bangalore -- "No relationship is Static .. You either Step up or Step down" [[alternative HTML version deleted]]
2001 Mar 14
3
get statistics by group
Hi, I have a data set look like this: ================================= Fruit Quty apple 20 banana 10 orange 17 apple 30 apple 15 orange 26 banana 15 .........and so on .......... ================================= The level of fruit is 30, that is, there are 30 different fruits. I'd like to compute some simple statistics for each different fruit and get output like this: ==================...
2007 Sep 09
2
What does it mean by "initial value not available"?
...sqrt(0.25+2.0*rr/ (sigmae*ss/(ss+lbar*(tot/sh*1000.0)))/(sigmae*ss/(ss+lbar*(tot/sh*1000.0 ))))*(sigmae*ss/(ss+lbar*(tot/sh*1000.0 )))*sqrt((lambda*lambda/(sigmae*ss/(ss+lbar*(tot/sh*1000.0 )))/(sigmae*ss/(ss+lbar*(tot/sh*1000.0))))))))))) fit.error=function(rec,lambda,lbar) {sum((eval(apple)*1000-orange)^2/(orange^2)) } fit.error.grr=function(rec,lambda, lbar) {drec=sum(eval(D(apple,'rec'))*(eval(apple)*1000-orange)/(orange^2)) dlambda=sum(eval(D(apple,'lambda'))*(eval(apple)*1000-orange)/(orange^2)) dlbar=sum(eval(D(apple,'lbar'))*(eval(apple)*1000-orange)/(orange^2)) c(...
2007 Dec 11
4
X100P Fxo card headaches
...e to run my PSTN line from Kingston Comms, but i can't get this box the recoginsie this line! The X100p is a cheap clone i got off ebay for a tenner, so im not expecting much, i know they have echo issues, but im going to upgrade to a SPA3012 / TDM400B when i have the cash. Ztcfg -vv reports orange:~# ztcfg -vv Zaptel Version: SVN-branch-1.4-r3374 Echo Canceller: MG2 Configuration ====================== Channel map: Channel 01: FXS Kewlstart (Default) (Slaves: 01) 1 channels to configure. orange:~# and my zaptel.conf file contains orange:~# more /etc/zaptel.conf fxsks=1 loadzone=uk d...