search for: 0,6

Displaying 20 results from an estimated 145 matches for "0,6".

Did you mean: 0,0
2012 Jul 02
4
how to do a graph with tree different colors??
hi i try to do a graph of a time series which shows in red the values > -0.05, in blue the values >0.05 and in white the values between -0.05 and 0.05 for un exemple :http://www.appinsys.com/globalwarming/enso.htm thanks !!!!! denisse -- View this message in context: http://r.789695.n4.nabble.com/how-to-do-a-graph-with-tree-different-colors-tp4635206.html Sent from...
2009 Mar 12
3
help with predict and plotting confidence intervals
...in advance for any help you can provide. The main problem is that I can not get the confidence lines to plot correctly. The secondary problem is that predict is not able to find my object when I include a model object. ## THE DATA wt.data <- data.frame(code = factor(LETTERS[1:24]), area = c(60865,480,656792,92298,1200,1490,8202,4000,220,245,4000,390,325, 16,162911,20235,68800,3389,7,696,4050,1498,1214,99460), species = c(673,650,1353,1026,549,536,782,734,516,580,673,560,641,443,1105, 871,789,575,216,407,942,655,582,1018)) # TRANSFORM AND ADD TO DATAFRAME wt.data$logA <- log10(wt.d...
2009 Mar 12
0
problem with 'abline' in a regression with repeated measures
Hi everybody. I'm just learning to use R. I've got a strange problem and I couldn't find any answer to my problem. So here am I. I want to visualize a model of regression on repeated measures : 5 measures (y) by x-value (lx for log10(x) ; lxf colonn is for as.factor) ; 5 x-values. I fail to use 'abline' command (regression's line don't display) in this particular context, on a 'stripchart' display. Any idea ? Here are the few commands that I execute, the lattest being my problem : > tab <- read.c...
2008 Nov 22
1
Need some help in R programming code
...ng but not working properly. I have tried to find the problem but failed. I am writing to all R gurus to help me out. Could you please look at the problem and help me if you can. Thanking you saikat Could you please look at the problem below: R message is like below: ------- Error in garch.gjr.d0(param, y, X, Z, iterate = FALSE)$res : $ operator is invalid for atomic vectors plot(Ch.mic,Ch.mic.rep,xlim=c(0,6),ylim=c(0,6)) ----------------------- Coding -------- res<-garch.gjr.d0(a$estimate,y,X,X,iterate=FALSE)$res sig2<-garch.gjr.d0(a$estimate,y,X,X,iterate=FALSE)$sig2 test.mic &...
2011 Mar 23
1
what's interesting to plot after predict.lm?
Dear all, I've fitted this model with train data lms <- lm(vd ~ log(v1) + fv2+ fv5+ fv7 ) and predicted over test data using plms <- predict.lm(lmsub, new=test,interval="predict", level=0.95,se.fit=TRUE) I've two questions: q1: what's the difference between writing interval "predict" or "confidence" ? How are they computed? Any reference would be appreciated q2: What's interesting to plot? I've gone through another post, and have seen t...
2012 Mar 06
3
Label rows of table by factor level for groups of factors
...fferent combinations there are of these variables. What I should like to do is to add a column to my original dataframe which labels each row according to the unique combination of factors. E.g. in the simple example below I create a dataframe 'df' with 3 columns, the values of which take 0 or 1. I can then classify each row in the table and I find that I have 4 unique combinations of factors. I would now like to add a fourth column to df which labels each row according to whether it was unique combination 1,2,3 or 4: x1=c(rep(0:1,6)) x2=c(rep(c(1,1,0,0)6)) x3=c(rep(1,6),rep(0,6)) df...
2004 Oct 29
1
[rmetasim] Need help deciphering this error msg... targeted to those who use rmetasim...
Hello, I am trying to do some simulation using the rmetasim package and I've run to this problem. --beginning of error msg-- Error in "[<-"(`*tmp*`, slice[l, ], slice[l, ], value = c(0.200000002980232, : number of items to replace is not a multiple of replacement length --end of error msg-- Here is the script I used. --script starts here-- ## load 'rmetasim' library library(rmetasim) penguinland <- new.landscape.empty() penguinland <- new.intparam.land(p...
2014 Mar 12
4
Problem in getting memory statistics
...int virDomainMemoryStats (virDomainPtr<http://libvirt.org/html/libvirt-libvirt.html#virDomainPtr>dom, virDomainMemoryStatPtr<http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatPtr>stats, unsigned int nr_stats, unsigned int flags). Problem is that it returns me just tags 0,6 and 7. Looking at the documentation I see they are not what I am looking for...I would rather need 4 (VIR_DOMAIN_MEMORY_STAT_UNUSED) and 5 (VIR_DOMAIN_MEMORY_STAT_AVAILABLE). Is there a way to set them?
2004 Sep 10
2
24-bit audio?
Using the FLAC frontend with flac v1.0.2, I tried to encode a recently recorded 24-bit mono wav to flac, but received the following error: options: -P 0 -b 4608 -m -l 12 -e -q 0 -r 0,6 -R 0 gpt2002-06-01mono.wav: ERROR: unsupported bits per sample 24 So, I tried to encode a stereo 24-bit wave file... same error. I'm using the .ex...
2010 Jul 17
5
Help with a problem
Hello R users, I am a researcher at the University of Michigan looking for a solution to an R problem. I have loaded my data in from a mysql database and it looks like this > data ds c1 c2 1 2010-04-03 100 0 2 2010-04-30 11141 15 3 2010-05-01 3 16 4 2010-05-02 7615 14 5 2010-05-03 6910 17 6 2010-05-04 5035 3 7 2010-05-05 3007 15 8 2010-05-06 4 14 9 2010-05-07...
2008 Jul 03
1
lm() question
I have data that looks like YC Age Num 82 11 2 83 10 0 84 9 8 85 8 21 86 7 49 87 6 18 88 5 79 89 4 28 90 3 273 91 2 175 with a program mod1=lm(log(Num+1)~YC, data=box44) plot(log(Num+1)~YC, data=box44, pch=19, xlab="Year Class", ylab="Loge Number at age", ylim=c(0,6), xlim=c(91,82)) abline(lm(log(Num+1)~YC), col="blue...
2017 Jul 06
1
Convert date to continuous variable in R
Thanks it worked for me. I wanted to plot days since planting on x-axis 1 and years on x-axis 3. LAI_simulation$Date <- as.Date( LAI_simulation$Date, '%Y/%m/%d') LAI_simulation$Date <- as.integer(LAI_simulation$Date - as.Date("2009-10-07")) plot(LAI~Date,data=LAI_simulation,xlab="Days since Oct, 7, 2009",cex=0.3,cex.lab=1.2,xaxt="n",xaxs="i",yaxs="i",ylim=c(0,6)) axis(1,xlim=c(0,2200),xaxp=c(0,2200,11),cex.lab=1.2,cex.axis=0.8,xaxs="i") LAI_simulation$Date<- as.Date(...
2016 Sep 16
2
SCEV cannot compute the trip count of Simple loop
> On Sep 16, 2016, at 2:23 PM, Sanjoy Das <sanjoy at playingwithpointers.com> wrote: > > Hi Mehdi, > > Mehdi Amini wrote: > > > >> On Sep 16, 2016, at 1:56 PM, Kevin Choi via llvm-dev > >> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote...
2001 Feb 22
4
Setting elements in data frame
Hi all, I have a problem which I am biting my teeth into unsuccessfully: (x <- data.frame(S1=c("a","b","d","F"),N1=c(2,4,6,9),N2=c(6,NA,0,6))) S1 N1 N2 1 a 2 6 2 b 4 NA 3 d 6 0 4 F 9 6 > is.na(x) S1 N1 N2 1 FALSE FALSE FALSE 2 FALSE FALSE TRUE 3 FALSE FALSE FALSE 4 FALSE FALSE FALSE No I want to be able to do: 1) Setting all elements == 6 to 6000 x[x == 6] <- 6000 Error in [<-.data.frame(*tmp*, x ==...
2016 Sep 16
2
SCEV cannot compute the trip count of Simple loop
> On Sep 16, 2016, at 1:56 PM, Kevin Choi via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > int mat[9][9][9]; > > for (p = (x+1) ; p < (x+3) ;p++) > > mat[x][p-1][i] = mat[x][p-1][i] + 5; > > } > The trip count of 2 should be valid for x in [0,6]. It is not clear to...
2006 Apr 27
3
relative frequency plot
Hi All, I want to use "hist" to get the relative frequency plot. But the range of ylab is greater than 1,which I think it should be less than 1 since it stands for the probability. Here is my code: x<-c(1,1,1,0,0,1,1,5,1,1,0,1,1,0,1,0,1,1,0,0,1,1,1,1,1,1,1,1,1,4,1,0,2,1,1,1 ,1,1,0,0,1,0,1,1,1,1,1,1,1,1,1) hist(x,breaks=52,main=NULL,freq=FALSE,border=TRUE,xlab="days",xlim=c(0,6),yl im=c(0,10),lty=2) But when I tried the other vector,the ylab is less than 1.The code is: y<-c(6,4,6,6,4,6,5,4...
2009 Jan 27
1
Data Frame Manipulation: Time Series
...nary (exclusionary) criteria. Here is an example of the type of data that I have. df<-data.frame(cbind("country"=c(rep("Angola", 9), rep("Burundi", 7), rep("Chad", 13)), "year"=c(1975:1983, 1989:1995, 1965:1977)), "war"=c(rep(1,2), rep(0,5), rep(1,2), rep(1,2), rep(0,2), rep(1,3), rep(1,4), rep(0,6), rep(1,3))) > df country year war 1 Angola 1975 1 2 Angola 1976 1 3 Angola 1977 0 4 Angola 1978 0 5 Angola 1979 0 6 Angola 1980 0 7 Angola 1981 0 8 Angola 1982 1 9 Angola 1983 1 10 Burundi 1989...
2007 Feb 27
14
Using a single class multiple times
Hi- Recently starting using puppet while migrating an existing messy group of systems to some nice new hardware. Things are going incredibly well, and puppet''s functioning great. Have a bit of a headache. I''d like to keep myself from duplicating lots of included classes. Lets say I have this (snippet of a) class: class dbserver { file { "/etc/my_${db}.cnf":
2007 May 30
7
Ticket 616, service resource takes over puppetd port
Hello Luke, After our services do now successfully restart, we hit now the already opened bug where the restarted service takes over puppetd port if it''s configured to listen. One solution is to remove the listen option but it''s very nice to invoke a puppetrun on the clients from the central server without waiting for its next run. Where you already able to take a look? It
2008 Oct 16
4
counting the frequencies of a vector
Hi, Is there a function which counts the frequencies of the occurence of a number within an interval? for example I have this vector: x <- c(1, 3, 1.2, 5, 5.9) and I want a vector that gives me the frequencies within an interval of 2, beginning at 0 (so the intervals are 0-2, 2-4, 4-6 and so on) so I get these frequencies: 2, 1, 2 Which functions do I have to use for this purpose?