, bot to no
help. I am probably overlooking somehing quite simple, (not to mention
not really understanding R's data model..) so help would be appreciated.
--
Morten Sickel
Norwegian Radiation Protection Authority
__
R-help@stat.math.ethz.ch mailing list
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Liaw, Andy
You might save yourself some headaches by turning it into a matrix instead,
since all the columns are either integer or numeric:
tonedata - data.matrix(tonedata)
Data frames are really lists, so even when you get a
(...) # Plots data point with an y-scale of 0-10
grid,yaxis(main=FALSE,...) # Draws the right y-axis
Morten
--
Morten Sickel
Norwegian Radiation Protection Authority
http://www.nrpa.no
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman
Wayne Jones wrote:
Does anyone know if R has the functionality to calculate a simple moving
average. I cant seem to find it in the help menu.
does filter() do what you need?
Morten
__
[EMAIL PROTECTED] mailing list
Sorry, a neccesary addition: filter in library ts.
Morten
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
From: Jeremy Z Butler [mailto:[EMAIL PROTECTED]
Surely I should be able to set the
ylog option to T using another object (logaxis).
for (n in colnames(raw))
{
if(n==pH){logaxis-T} else {logaxis-F}
plot(full.age,raw[,n],type=n,ylog=logaxis)
...
}
What (probably) will work is:
-Default value}
/code
So, no, I think some useful functionality would be thrown out if exist did
not require a string.
Morten Sickel
__
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help
$value,c(0.25,0.25,0.25,0.25)))
/code
Points showing actual measurements and a four periods moving average as a
line.
Hope this helps.
Morten
--
Morten Sickel
Norwegian Radiation Protection Authority
http://www.nrpa.no
__
[EMAIL PROTECTED] mailing list
(nuccode) (TBq/year) which definiately was not what I
wanted...
should I use some other wrapper function on the expression, or are there
some other ways of making superscripts in figure texts?
regards
Morten
--
Morten Sickel
Norwegian Radiation Protection Authority
http://www.nrpa.no
Per Bak wrote:
How do I plot using multiple(2) y-axes?
I have two series that use the same x-data, but have very different scales.
I don't know, it that is the only, or even the best way to do it, but I plot
with multiple Y-axes using the grid package. The problem I have found is
that you have
10 matches
Mail list logo