contained, reproducible code.
Screen parrts shoeld be fractions (0 ...1), not percentages.
And bottom first, so ...
m = matrix(c(0,20,0,40, 20,60,0,40)/100, byrow=T, ncol=4)
... will work.
Success and
Best regards,
Franklin
---
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...
Hi Samuel GRANJEAUD,
Isn't this loop more simple to retain the click-order:
result = numeric(n)
for (i in 1:n) {
id = identify(x, y, n=1)
result[i] = id
}
Hope this helps,
Best regards,
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...@xs4all.nl
work .
> But in this situation how can i solve the problem ?
>
That's where the three-dot argument is for.
See "Introduction to R", paragraph 10.4 The ‘…’ argument.
Succes and
best regards,
Frank
---
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...
far
better than the simple Euler method, and also better than Runge & Kutta.
Angels, or very nice people, implemented solving methods using the lsoda into
R. Download the package "deSolve" and the world of numerical solutions is at
your feet.
Succes, Franklin
-
Fran
outine, reproduced below.
This might help to prevent problems with simple graphics demos, and can no
doubt be extended to other commands.
Success, and
Best regards,
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...@xs4all.nl
# function PIgraph.r
# Platform-Independent gra
ed cheap,
whereas as.numeric() actually means: as.double.
The "numeric" in the second line is an unused argument.
Best regards,
Frank
---
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...@xs4all.nl
__
R-help@r-project.org
g and bracket balancing. And one can run only one
or a few lines from a script at wish.
I couldn't wish myself more.
Success and best wishes,
Frank
--
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...@xs4all.nl
__
R-help@r-project.org
lf
(from simple first-order to higher-order butterworth etc).
This package is intended to filter (electrical) signals, but might be used for
any time series.
In addition, there are several packages for the analysis of seasonal data. You
might search CRAN for t
rary(gmp)
>
But why writing one? Such a function is already in gmp: factorize(n), and
it works with fairly large numbers:
>library(gmp)
>factorize(12345678987654321)
Big Integer ('bigz') object of length 13:
[1] 2 2 2 2 5 7 11 73 101 109 109 137 167
Success,
Frank
--
a dimensioned number by
the dimension leaves the bare number, which is what the axis shows.
So in the case of the OP the legend should read: "weight/1000lb".
Thus, 2 lb/1000lb = 20, which is what the axis shows.
Best,
Frank
----
Franklin Bretschneider
Dept of Biology
Utrecht
Read a Line from the Terminal
>
> Description
>
> readline reads a line from the terminal (in interactive use).
>
> Usage
>
> readline(prompt = "")
>
> Arguments
>
> prompt
> the string printed when prompting the user for input. Should us
, greens, blues, maxColorValue = 255),
asp=1, axes=FALSE, xlab='', ylab='')
points(x,y,pch=0, cex=8, col=black)
# arrows connect the complementary colours
arrows(0,0, 0.7*x, 0.7*y, length = 0.25, col = grey)
Hope this helps;
Best wishes,
Frank
--
Franklin Bretschneider
Dept of Biology
, partial),
plot = TRUE, na.action = na.fail, demean = TRUE, ...)
ccf(x, y, lag.max = NULL, type = c(correlation, covariance),
plot = TRUE, na.action = na.fail, ...)
See further: ?ccf
Succes and
Best wishes,
Frank
---
Franklin Bretschneider
Dept of Biology
Utrecht University
brets
and
Best regards,
Frank
--
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...@xs4all.nl
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
. It is:
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
Succes,
Frank
---
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...@xs4all.nl
__
R-help@r-project.org mailing
.
These values must indeed be regarded with caution, since with real-world
signals the energy will most often be spread among several spectral lines.
Windowing (Hann, Hanning, Blackman etc.) then improves the spectrum, but that's
a different story.
Best wishes,
Frank
---
Franklin Bretschneider
. vector
plot(f,abs(YY), type='h')
It would be a good idea to put such an example in the help pages indeed.
The short example given in the manual isn't of much help for the usual
(periodic!) time signals.
Hoping this helps, I remain
With best wishes,
Frank
Franklin
with it
# view or save the results
# }
Maybe you can adapt this to your problem.
Success and
Best wishes,
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...@xs4all.nl
__
R-help@r-project.org mailing list
Dear Megersa ,
Which version of R is used for quartz function please?
Quartz is the Apple Mac graphics window (device).
On Windows use ... windows()
Best wishes,
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...@xs4all.nl
you give me an help?
Thank you very much,
But that's correct, if you don't plot something afterwards. Try plotting 8 x-y
graphs, then you'll see that 8 small plot will appear (unless the margins will
prove to be too large).
Good luck,
Franklin Bretschneider
Dept of Biology
Utrecht
last december, and immediately put
Mavericks on it.
Since then, I'm running R (3.0.x) without any problems (as far as I remember).
So it seems safe to upgrade (as to R; other software, such as Filemaker pro,
might be incompatible, so read the forums).
Best regards,
Frank
--
Franklin
.
This line is wrong:
if !(all(esn==x)) stop(x not ordered)
Try again with ! after (
(so if (!something)...
And if there prove to be more problems, scrutinize your code (check, re-check
and double-check).
Best regards,
Frank
--
Franklin Bretschneider
Dept of Biology
Utrecht University
(), that's for vectors. If is intended for single elements only.
Best wishes,
Franklin
-
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...@xs4all.nl
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
0.096 20.763
[1] symbol# 4
user system elapsed
23.534 0.098 23.542
It seems that even-numbered symbols are plotted faster than the odd ones
By the way, I learn a lot about R programming by just following r-help!
Best regards,
Franklin Bretschneider
--
Dept Biologie
Kruytgebouw W711
24 matches
Mail list logo