search for: 6,8

Displaying 20 results from an estimated 118 matches for "6,8".

Did you mean: 1,8
2005 Aug 08
3
use different symbols for frequency in a plot
suppose I have the following data x<-c(rep(.1,5),rep(.2,6),rep(.4,10),rep(.5,20)) y<-c(rep(.5,3),rep(.6,8),rep(1.2,8),rep(2.5,18),rep(3,4)) If I plot(x,y) in R, I will only get seven distinct points. What I want to do is to use different symbols to show the frequency at each point. e.g. if the frequncey is between 1 and 5, then I plot the point as a...
2011 Oct 18
2
Detect and replace omitted data
...tribution of fish in a stream. The stream is divided into equally sized units, and the number of fish in each unit is counted. My problem is that my dataset is missing rows where the count in a unit equals zero. I need to create zero data for the missing units. For example: day<-(c(rep(4,8),rep(6,8))) unit<-c(seq(1,8,1),seq(2,16,2)) value<-floor(rnorm(16,25,10)) x<-cbind(day,unit,value) x day unit value [1,] 4 1 19 [2,] 4 2 15 [3,] 4 3 16 [4,] 4 4 20 [5,] 4 5 17 [6,] 4 6 15 [7,] 4 7 14 [8,] 4 8 29 [9,]...
2010 Feb 14
1
Adding a regression line to an xyplot
Hi R users > I am trying to add a regression line to a graph for "c" for factor 2 > only. Any suggestions? > library(lattice) a=(1:10) b=c(1:5,16:20) c=as.factor(c(rep(1,5),rep(2,5))) d=data.frame(a,b,c) xyplot(a~b, pch=c(6,8),data = tavg, groups=d$c, reg.line=lm, smooth=FALSE, type=c("p","g"),xlab="a",ylab="b") > I would appreciate your help. > > Kind regards > > andy > > An...
2009 Sep 24
3
Color of the plot which correspond to the group of the observations
Dear All, ? Let: dp: depth of the river tp: temperature with respect to depth These pair of observations are in 3 different groups i.e: Obs. 1,3,5,7?from the first group Obs. 2,4 and?10?from second group Obs 6,8 and 9?from third group. We can have a simple scatter plot, between depth as y-axis and temperature as x-axis, with each pairs are denoted by a red dot, by using a plot function shown below. ? ##################### ?dp <- c(1,4,3,2,5,7,9,8,9,2) ?tp <- 1:10 ?plot(tp,dp, type= 'p', co...
2010 Sep 07
2
some questions about longitudinal study with baseline
...me points (baseline and a follow-up) previously. I appreciate many useful comments from some members, especially Dennis Murphy and Marc Schwartz who refered the following paper addressing specifically this type of study with only 2 time points: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1121605/ Basically, with only 2 time points (baseline and one follow-up), ANCOVA with follow-up as dependent variable and baseline as covariate should be used: follow-up = a + b*baseline + treatment Now I have a regular longitudinal study with 6 time points, 7 treatments (vehicle, A, B, C, D, F, G),...
2008 Jun 20
5
Plotting barplot and scatterplot on same device - x-axis problem
...y for graphical purpose. I have a layout problem when plotting a scatterplot and a barplot using par(new=TRUE). The baseline of the x-axis is not positioned equal for the two plotting functions (see picture) and I have been unable to find out how this is changed. http://www.nabble.com/file/p18025066/pic.jpeg I have added the script if this is of interrest: par(mar = c(7, 4, 4, 2) + 0.1) barplot(rbind(data$Asn,data$Glu,data$NH3), beside=T, axes=TRUE, xlim=c(0,57), ylim=c(0,10)) par(new=TRUE) plot(1:14,data$Acidification.time, axes=FALSE, type="b", xlab="", yla...
2016 Dec 07
1
[PATCH 10/10] virtio: enable endian checks for sparse builds
On Tue, 2016-12-06 at 17:41 +0200, Michael S. Tsirkin wrote: > It seems that there should be a better way to do it, > but this works too. In some cases there might be: > --- a/drivers/s390/virtio/Makefile > +++ b/drivers/s390/virtio/Makefile > @@ -6,6 +6,8 @@ > ?# it under the terms of the...
2016 Dec 07
1
[PATCH 10/10] virtio: enable endian checks for sparse builds
On Tue, 2016-12-06 at 17:41 +0200, Michael S. Tsirkin wrote: > It seems that there should be a better way to do it, > but this works too. In some cases there might be: > --- a/drivers/s390/virtio/Makefile > +++ b/drivers/s390/virtio/Makefile > @@ -6,6 +6,8 @@ > ?# it under the terms of the...
2006 Apr 18
0
[patch] fstype fix ext3 <-> lvm2 detection
...that by detection lvm2 after ext3. Bonuspoint remove long fs list as this one just generates conflicts. Signed-off-by: David H?rdeman <david@2gen.com> Signed-off-by: maximilian attems <maks@sternwelten.at> diff --git a/usr/kinit/fstype/fstype.c b/usr/kinit/fstype/fstype.c index c892c6b..17a89ce 100644 --- a/usr/kinit/fstype/fstype.c +++ b/usr/kinit/fstype/fstype.c @@ -6,8 +6,8 @@ * FSTYPE - filesystem type * FSSIZE - filesystem size (if known) * - * We currently detect (in order): - * gzip, cramfs, romfs, xfs, luks, lvm2, minix, ext3, ext2, reiserfs, jfs, swap + * We cu...
2002 Jul 13
0
libogg spec fixes
While I'm at it here is an update to the libogg .spec-file fixing two small things. /noa <p> -- begin:vcard fn:Daniel Resare tel;cell:+46739442044 tel;work:+468332040 adr;work:Scheelegatan 36; 112 28; Stockholm; Sweden end:vcard pgp fingerprint: 8D97 F297 CA0D 8751 D8EB 12B6 6EA6 727F 9B8D EC2A -------------- next part -------------- Index: libogg.spec =================================================================== RCS file: /...
2004 Mar 11
2
Questions about spatial data
Hi, I have two questions about spatial data. 1) I have this grid x <- rep(c(1:8),c(rep(6,8))) y <- rep(c(1:6),8) I need to make some others grids with same length and different numbers of points whit a random spatial pattern. How is the best method to make this in R. 2) I need to produce some grids with the same numbers of points in different degrees of aggregation, the level o...
2010 Jun 13
1
add only selected labels using thigmophobe
...file as: GENE<-(Gene.Names) ID<-(id) plotting is: plot(x=MLPM1,y=HLG2,main='G2 vs PM',xlab='Fold change M/L PM',ylab='Fold change H/L G2)',xlim=c(-7,7),ylim=c(-7,7)) labelling of the whole dataset I can do with: thigmophobe.labels(MLPM1,HLG2,labels=c(GENE),col=c(2:6,8:12),font=2) but how can I label only a few points from the whole dataset with names or IDs ?? Thanks a lot for help and sorry for the simple question. Just started to use R. -- View this message in context: http://r.789695.n4.nabble.com/add-only-selected-labels-using-thigmophobe-tp2253497p2...
2011 Dec 15
1
Reordering a numeric variable
...one unit change in another. levels(educ) educ2 = NA educ2[educ %in% levels(educ)[c(4,7)]] <- "HS or Some College" educ2[educ %in% levels(educ)[1:2]] <- "College Degree" educ2[educ %in% levels(educ)[c(3,5)]] <- "Advanced Degree" educ2[educ %in% levels(educ)[c(6,8)]] <- "Other" educ2 = factor(educ2) levels(educ2) The above code is how I regrouped the variable. How can I regroup it so that it's levels are from lowest to highest. What if they're numeric values" -- *Abraham Mathew Statistical Analyst This or That Media, Inc. abrah...
2013 Feb 21
0
[PATCH 1/4] purgatory: put variables altered by kexec in .data not .bss
From: David Vrabel <david.vrabel@citrix.com> elf_rel_set_symbol() fails if the symbol is in the .bss section. Signed-off-by: David Vrabel <david.vrabel@citrix.com> --- purgatory/arch/i386/console-x86.c | 6 +++--- purgatory/arch/i386/crashdump_backup.c | 8 +++++--- purgatory/arch/x86_64/purgatory-x86_64.c | 6 +++--- purgatory/include/purgatory.h | 4 ++++ purgatory/purgatory.c | 4 ++-- 5 files changed, 17 insertions(+), 11 del...
2008 Jan 04
1
patch for html display
...done: Index: /Users/timcharper/www/exchange/vendor/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb =================================================================== --- /Users/timcharper/www/exchange/vendor/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb (revision 906) +++ /Users/timcharper/www/exchange/vendor/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb (working copy) @@ -6,8 +6,9 @@ # Formats backtraces so they''re clickable by TextMate class TextMateFormatter < HtmlFormatter def backtrace_line(line) -...
2001 Sep 10
1
data format for ppinit
...following some instruction, and found it very useful. One of my main purpose to use R is to try spatial statistics. Since library named "spatial" has already installed, I just tried ... > library(spatial) > towns <- ppinit(test.dat) ------- test.dat ------- x,y 4,7 5,7 5,8 5,9 6,7 6,8 6,9 7,8 -------------------------- However, following error was given. Error in scan(tfile, list(xl = 0, xu = 0, yl = 0, yu = 0, fac = 0),n =5, : "scan" expected a real, got "5,7" Also, I tried... >towns <- ppinit("test.dat",xl=0,xu=10,yl=0,yu=1...
2011 Dec 07
1
select integer intervals from a integer space
...ackoverflow webpage. Thanks a lot in advance. Best wishes, Jian-Feng, I describe my question using the following dummy. ############################## # (1) the data (integer space consist of integer intervals defined by their begin and end) I have, integer.space <- data.frame(begin=c(1,5,6,15,31,51,102), end=c(7,9,13,21,49,52,109)) ##################################### # (2) what I want is to select the consequent integer intervals with # intra-length of 3 and inter-length of 2. and output the selected # intervals as begin and end. In this selection, I would like to select # more...
2005 Mar 07
0
gcc4 warnings
...ot. This fixes all the warnings except one unused variable. Take them or leave them as you see fit. They're all com32 stuff that's pulled in from external sources. --- syslinux-3.07/memdisk/unzip.c.gcc4 2004-12-07 23:29:22.000000000 -0500 +++ syslinux-3.07/memdisk/unzip.c 2005-03-07 11:26:46.000000000 -0500 @@ -70,8 +70,6 @@ static void gzip_mark(void **); static void gzip_release(void **); -extern ulg crc_32_tab[256]; - /* Get byte from input buffer */ static inline uch get_byte(void) { --- syslinux-3.07/com32/modules/readconfig.c.gcc4 2004-12-28 18:18:27.000000000 -0500 +++...
2008 Jan 29
4
Setting up release-1.0.1
Hello, I am unable to get the backgroundrb server to run. Initially I got: /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant BackgrounDRb::MasterProxy (NameError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:453:in `const_missing'' from ./script/backgroundrb:41 Then after doing this:...
2013 Feb 26
1
Getting the correct factor level as Dunnett control in glht()
...tic" "coir" "cow" "fertil" "net" "peat" "plastic" "rice" "soilwrap" [10] "straw" >petunia$Container <- factor(petunia$Container,levels(petunia$Container)[c(7,1:6,8:10)]) >petunia2<-order(petunia$Container) >petunia.sorted<-petunia[petunia2,] >petunia.sorted ID Container TotalWater LeafArea Distance Fresh Dry Bag Biomass 121 15 plastic 1961.00 332.0 109.10 42.700 11.00 7.90 3.10 122 38 plastic 2153.00 552....