Displaying 13 results from an estimated 13 matches for "200,300".
2011 Oct 11
1
Background Colors
Hi R-Help -
If I make a plot:
numYears = 500
plot(x = c(1,numYears), y = c(200,300), xlab = "Time", ylab = "Vegetation
Class", xlim = c(100,600), ylim = c(200,300), type="n")
Is there a way to make different parts of the background for the plot
different colors?
For example, I'd like to have the background color col = (250,250,0,50) for
y =...
2017 Jun 04
0
New var
...rt = structure(c(16467, 14710, 13152,
13787, 15126, 12696), class = "Date"), end = structure(c(17167,
14975, 13636, 13879, 15340, 12753), class = "Date"), D = c(700,
265, 484, 92, 214, 57), bin = structure(c(6L, 3L, 5L, 1L, 3L,
1L), .Label = c("[0,100)", "[100,200)", "[200,300)", "[300,400)",
"[400,500)", "[500,Inf)"), class = c("ordered", "factor"))), .Names = c("obs",
"start", "end", "D", "bin"), row.names = c(NA, -6L), class = "data.fr...
2017 Jun 04
2
New var
...On Sat, Jun 3, 2017 at 9:50 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
wrote:
> # read.table is NOT part of the data.table package
> #library(data.table)
> DFM <- read.table( text=
> 'obs start end
> 1 2/1/2015 1/1/2017
> 2 4/11/2010 1/1/2011
> 3 1/4/2006 5/3/2007
> 4 10/1/2007 1/1/2008
> 5 6/1/2011 1/1/2012
> 6 10/5/2004 12/1/2004
> ',header = TRUE, stringsAsFactors = FALSE)
> # cleaner way to compute D
> DFM$start <- as.Date( DFM$start, format="%m/%d/%Y" )
> DFM$end <- as.Date( DFM$end, format="%...
2012 Oct 17
3
subtotals based on price bands?
I would like to create a subtotal table with custom bands.
seq1 = seq(0, 100, by = 5)
seq2 = seq(100, 1000, by = 100)
Bands = c(seq1, seq2)
#Prices
Prices = sample(1:1000, 200, replace=F)
#corresponding size for the given price above.
size = sample(1:1000, 200, replace=F)
How would I find the subtotal of the size based on a given price falls
within a band?
--
View this message in context: http://r.789695.n4.nabble.com/subtotals-based-on-price-bands-tp4646473.htm...
2017 Jun 04
0
New var
# read.table is NOT part of the data.table package
#library(data.table)
DFM <- read.table( text=
'obs start end
1 2/1/2015 1/1/2017
2 4/11/2010 1/1/2011
3 1/4/2006 5/3/2007
4 10/1/2007 1/1/2008
5 6/1/2011 1/1/2012
6 10/5/2004 12/1/2004
',header = TRUE, stringsAsFactors = FALSE)
# cleaner way to compute D
DFM$start <- as.Date( DFM$start, format="%m/%d/%Y" )
DFM$end <- as.Date( DFM$end, format="%m/%d/%Y" )
DFM$D <- as.nume...
2007 Jun 12
2
Data transformation for chi-square test.
...sform the dataset into a contingency table as I
read from books. I am not sure if I correct, I think the table should looks
like:
member
cost [2] [3] [4] [5] [6] Total
[0,100] 1 0 0 0 0 1
[100,200] 0 0 1 0 0 1
[200,300] 0 0 0 0 0 0
[300,400] 1 1 1 1 0 4
[400,500] 0 1 0 0 0 1
[500,600] 0 0 1 0...
2017 Jun 03
2
New var
Thank you all for the useful suggestion. I did some of my homework.
library(data.table)
DFM <- read.table(header=TRUE, text='obs start end
1 2/1/2015 1/1/2017
2 4/11/2010 1/1/2011
3 1/4/2006 5/3/2007
4 10/1/2007 1/1/2008
5 6/1/2011 1/1/2012
6 10/5/2004 12/1/2004',stringsAsFactors = FALSE)
DFM
DFM$D =as.numeric(difftime(as.Date(DFM$end,format="%m/%d/%Y"),
as.Date(DFM$start,format="%m/%d/%Y"), units = "days"))
DFM
output.
obs start...
2012 Jun 11
3
Simple Binning of Values
...a straightforward answer to as of yet. I have a list of values. I would like to count the number of values that are in one bin, the number that fall in the next bin, etc.
For example
My input file is: 123 48 342 442 43 232 32 129 191 147
I would like the output to be similar to:
0-100 3
100-200 4
200-3001
300-400 1
400-5001
Thus far I have tried working with hist, cut and split, but have not gotten very far.
Thanks
Kat
[[alternative HTML version deleted]]
2008 Jun 04
0
Patch for app_asr.c: DTMF instead of goto
...se patch you can use the ASR application to play DTMF tones,
so you can have your own AGI application that uses the ASR and manages
the DTMF tones without change the dialplan.
EXAMPLE
exten => 003,1,Ringing
exten => 003,2,Wait(3)
exten => 003,3,Answer
exten => 003,4,ASR(t5000c80l4,100,200:pippo,300:pluto,400:paperino)
exten => 003,5,Read(digito||3)
exten => 003,6,SayDigits(${digito})
exten => 003,7,Wait(30)
The old app_asr will send you to the 200,300 or 400 extension.
With the modified app_asr you will hear (and Asterisk can detects, via
AGI or dialplan) 200,300,400 DTMF...
2005 Nov 04
19
Drag & Scroll
When using drag and drop, the browser window will not scroll if you move the mouse off the page. This makes it very difficult, if not impossible to create certain types of web applications.
I know this has been mentioned before and is on the Wish List, but it''s very frustrating.
If you look at this other Javascript library called "Drag''nDrop & DHTML Library"
2008 Mar 28
2
Comparing proportions between groups
Hello there,
I have two groups (men and women) and I know per group how many of them
smoke or don't smoke (women 40 of 200; men 100 of 300). I would like to know
how I can compare in R if men and women differ significantly in their
smoking. However, because there are more men in the sample than women I
cannot just compare the number of smokers and non-smokers in both groups,
right?! (I would not really know how to do...
2007 Jul 20
6
automatically jpeg output
Dear R users,
I used R to draw many histograms and I would like to automatically save
them into a jpeg file. I tried the following code since I know .ps file
could be saved like this way:
postscript("AYA_ELA.jpeg",horizontal=F,onefile=T)
......#some funtions inside here
dev.off()
There was a jpeg file, however, there is no pictures inside. Any
suggestion?
Thanks.
Rebecca
2006 Mar 23
9
Tearing my hair out with Queues
Egads. Getting queues to work is like pulling teeth.
extensions.conf:
exten => q_main,1,Queue(oneeighty_main||||1)
exten => 80014055,1,Dial(SIP/80014018,15,tr)
exten => 80014057,1,Dial(SIP/80014018,15,tr)
exten => 80014052,1,Dial(SIP/80014018,15,tr)
queues.conf:
[oneeighty_main]
musiconhold = default
joinempty = strict
leavewhenempty = strict
strategy = rrmemory
retry = 0
member