search for: tekari

Displaying 14 results from an estimated 14 matches for "tekari".

Did you mean: tear
2008 Mar 03
3
Plot using colors
Dear R users, I have a problem since I try to plot my datas with different colors. plot(tvar, var, xlab="zeit [s]",ylab="Variation [%]", col = ifelse(var <= varstability, 'green','red')) this works well! But since I add a type="l" to my plot, it will color all the plot with green!!! Is there any solution? I avoid to use teachingDemos. Thanks. --
2008 Jul 18
1
re ad and check table
Dear R users, I want to read a file like following : if it is a table then z <- read.table(pathname, dec=".", header=TRUE) else if it's not a table (image,doc,...) then send an error or something like that acually I have a read.table in the beginnig of my R code, and if my data is not a table I become in my R console : fail in scan. So the question is how to check the nature of
2007 Nov 13
2
Plot segments with different colors
Hello Everybody, I'm trying to plot(x,y) using different colors. I have to cut (x,y) into sub intervals. And I want to plot this sub intervals using colors. But infortunally I don't know how to do this with R. Can any body help me please? My code is looking like : x<-c(tvar[1:t0],tvar[t0:(ts)],tvar[ts:n]) F<-c(var[1:t0],var[t0:(ts)],var[ts:n]) plot(x,F,xlab="Zeit
2008 Jun 30
4
Add comments on plot window
Dear R users, Is it possible to add comments in a plot window? I have 3 plots -> this plots have to be commented on same window Is possible to do the following : http://www.nabble.com/file/p18193822/plot%2526comments.JPG plot%26comments.JPG I don't know how to do it. Maybe plot.window or something like that. Any suggestions?? Thanks in advance, Adel. -- View this message in context:
2008 Jul 04
2
create a zero matrix & fill
Dear R user, I have written a function which returns max,min and variation of a power (see below) Power is a given matrix(1,n) I call the function >Variation<-VAR(p,(n-deltat)) Now the problem is when I want plot(Results[1],Results[2]). Not possible! I become the following error (in english it means: Error in as.double.default(x) :Object cannot be transformed in double) >
2007 Nov 23
0
R users in Cyprus
...ount, number). E.g. $ cat > usample 10 10 9 8 8 7 7 7 6 3 1 1 1 0 $ uniq -c usample 2 10 1 9 2 8 3 7 1 6 1 3 3 1 1 0 Cheers, Alexy ------------------------------ Message: 12 Date: Wed, 21 Nov 2007 04:27:27 -0800 (PST) From: mysimbaa <adel.tekari at sisltd.ch> Subject: Re: [R] display basename To: r-help at r-project.org Message-ID: <13876120.post at talk.nabble.com> Content-Type: text/plain; charset=us-ascii Thanks for help. -- View this message in context: http://www.nabble.com/display-basename-tf4846650.html#a13876120 Sent fr...
2007 Nov 20
1
display basename
Hello everybody, I'm sorry for asking a dumb question, but I don't find how to loos it. I need to display the name of the choosing file using this command : z=read.table(file.choose(),dec=".",header=TRUE) Thanks for any help. -- View this message in context: http://www.nabble.com/display-basename-tf4846650.html#a13866718 Sent from the R help mailing list archive at
2007 Nov 21
1
better curve
Hi R users, I have collected data which I plot(x,y).The problem it has oscillations. Now i'm trying to "make better" this curve with a smooth line starting let's say @x=300 s. And then collect my new datas. But I don't know how doing this. Perhaps a linear regression ?? See .jpeg foto. Thanks for any help it will be given.
2008 Mar 04
1
automatically save graphic
Dear R users, I write some code which produce a graphic Now I try at the end to output it (bitmap or jpeg) like this way : - pop up window asking me to choose a path where to save my picture - choose name for this picture thanks you in advance, Adel -- View this message in context: http://www.nabble.com/automatically-save-graphic-tp15822254p15822254.html Sent from the R help mailing list
2008 Jul 04
1
initialize a matrix
Dear R users, I'm trying to write a function which returns minimum,maximum,mean of a vector(power) I've done the following : VAR<-function(power,length){ for(i in tml:length)){ tvar[i]<-i pmean[i]<-mean(power[i:i+deltat]) pmin[i]<-min(power[i:i+deltat]) pmax[i]<-max(power[i:i+deltat]) varmax[i]<-100*(pmax[i]-pmean[i])/pmean[i]
2008 Jul 14
1
eval.wih.vis
Hello, I have an error since I run my R code. This error is : Fehler in eval.with.vis(expr, envir, enclos) : > My code is: #CONDITION1 : check if the right logfile is chosen c1=log(z[,3],n) if (c1==FALSE) { plot(0:1,0:1,type = "n", axes=FALSE,xlab="",ylab="") text(0.4,0.8,adj=0,paste("FEHLER"),col="red")
2007 Nov 21
2
Changing axis scale
Hello R users, Is it possible after making a plot(x,y) to change axis scale? For example : I have a range of 0 to 3000 in my y-axis and I want to make a zoom between 2000 and 3000. Thanks for any help. -- View this message in context: http://www.nabble.com/Changing-axis-scale-tf4850633.html#a13878705 Sent from the R help mailing list archive at Nabble.com.
2008 Jul 01
2
if one of 4 conditions is not satisfied
I'm trying to do realize the following: I have 4 condtions. If all conditions are satisfied I will paste("PASS") If any of these is not satisfied I will paste("FAIL"). But I have to paste the corresponding failure. ifelse is a good solution but for a 2 conditions. Maybe switch or something like this. Does anyone have an idea how to do? Thanks in advance. Adel -- View
2007 Nov 14
2
executable script
Dear All, Apologies for this simple question and thanks in advance for any help given. I want to make from my .R script an .exe file. Is there any way to transfort my script to an autolaunch file? It means it runs the script by double clicking on it. p.s.: I'm using windows -- View this message in context: http://www.nabble.com/executable-script-tf4806651.html#a13751752 Sent from the R