Displaying 20 results from an estimated 600 matches similar to: "better curve"
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.
--
2007 Nov 23
0
R users in Cyprus
Dear friends, are there enough R users in Cyprus to form a club?
jason
Dr. Iasonas Lamprianou
Department of Education
The University of Manchester
Oxford Road, Manchester M13 9PL, UK
Tel. 0044 161 275 3485
iasonas.lamprianou at manchester.ac.uk
----- Original Message ----
From: "r-help-request at r-project.org" <r-help-request at r-project.org>
To: r-help at r-project.org
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:
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 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)
>
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
2000 Aug 13
1
Fitting a curve to to an oscillating scatter . .
Hi all,
I have just got going with R and think it is really nice however, as far as
I can see, it can't do what I got it for:
I have some output from a computer simulation of mutating genes represented
by a biological statistic - so the graph looks roughly like the top of:
x = y^2
- with oscillations around the general curve.
If I use scatter.smooth() I get a nice curve representing
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
2010 Mar 17
1
Is there any R package that can find the maxima of a 1-D time series
Is there any R package that can help me with digging out the maxima of a 1-D trajectory ?
I have 975 1-D curves. They are only known as time series. That is a set of points ordered with respect
to time. Some curves exhibit one only peak. Others have two peaks of different height.
We wish to find the number of peaks and their position along the time axis.
Apparently it's a trivial problem
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
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 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 Aug 06
5
Problems with array mock
Hi everyone,
I''m trying this in my helper spec and it didn''t work:
@curr_odontogram.should_receive(''photos[1]'').and_return(@photo)
and the error is:
SyntaxError in ''PersonHelper Deberia devolverme un link para eliminar una foto''
compile error
/home/gramos/src/rails/r-dental/config/../vendor/plugins/rspec/lib/spec/mocks/proxy.rb:99:
syntax
2003 Nov 07
2
opposite function of strsplit() ?
Hi,
I what to solve this problem:
>alfab <- "ABCEDFG" #[1] "ABCEDFG"
>chara <- strsplit(alfab, "") #[1] "A" "B" "C" "E" "D"
>"F" "G"
Then I do some changes before I want the character together again, say,
remove two letters.
Now,
2015 May 12
1
AEL keyword IfTime with variable on time range
Sorry, I forget to tell I tried, but not works.
*Context:*
context ivr_temp2 {
s => {
Proceeding();
str_time_01 = '06:00-12:00|*|*|*'; // Manh?
ifTime (${str_time_01}) {
Playback(ura/bom_dia);
}
}
}
The error is showed on "ael reload".
*Console errors:*
rs0000sr304*CLI> ael reload
Command 'ael reload' failed.
2015 May 12
2
AEL keyword IfTime with variable on time range
Hi
It's possible using a variable in the iftime keyword argument?
E.g:
context text {
s => {
timerange = '06:00-12:00|*|*|*';
ifTime(${timerange} {
Playback(ivr/goodbye);
}
}
}
thanks
[image: Sua Foto] <rafaelsnsa at gmail.com>Rafael S. SaraivaPorto Alegre - RS
| Mobile: (51) 8174-7956
<http://br.linkedin.com/pub/rafael-saraiva/52/aab/230>
2014 Oct 28
6
duda (URGENTE) R
Hola quisiera saber de que manera puedo generar numeros aleatorios enteros entre 0 y 4, para completar una matriz de un automata celular
Muchas gracias
Juan Nicolás Corral GómezEstudiante Carrera de EcologíaPontificia Universidad Javeriana
[[alternative HTML version deleted]]
2007 Mar 09
3
Transformation order
I see that the well-defined order for transforming a page to HTML is:
- Transform the content using the content converter
...
- Replace tags
I think it should be the other way around.
I wrote this plugin that transform
{flickr: <url of the photo>}
into something like:
<div> Foto, caption, etc. </div>
Now, because of the order of transformations, the