Displaying 20 results from an estimated 37 matches for "pantani".
2008 Jan 29
3
on trellis.par.set/get (reproducing figures from Pinheiro & Bates)
...trellis.par.set(prove.theme)
plot(ergoStool)
I also queried trellis.par.get by
names(trellis.par.get())
but still I'm not able to figure out which are the parameters, if any,
that control "pch" and "col" of the symbols.
Any help is highly appreciated.
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Tel 39 055 3288 202 (348 lab) Fax 39 055 333 273
OLPantani at unifi.it http://www4.unifi.it/dssnp/
2007 Jul 26
3
substituting dots in the names of the columns (sub, gsub, regexpr)
...sub
and so on, since each time
I have strings to manipulate, I must face my ignorance in the topic of
regular expression and its syntax.
Is there any page with examples, where I can improve my knowledge and
stop being frustrated each time I have to manipulate strings?
8rino
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Tel 39 055 3288 202 (348 lab) Fax 39 055 333 273
OLPantani at unifi.it
2009 Sep 03
2
dividing a dataframe column by different constants
...)
)
MAX <- tapply( df.mydata$CONC, df.mydata$SAMPLE, max )
(df.mydata$PERCENTAGE <-
ifelse(df.mydata$SAMPLE == "A", df.mydata$CONC / MAX[1],
ifelse(df.mydata$SAMPLE == "B", df.mydata$CONC / MAX[2],
df.mydata$CONC / MAX[3])))
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Tel 39 055 3288 202 (348 lab) Fax 39 055 333 273
OLPantani at unifi.it http://www4.unifi.it/dssnp/
2009 Nov 12
1
Rearranging long tables, Sweave, xtable, LaTeX
...an output that do not fit the A4 page.
Is it possible to produce an output with xtable, but similar to the one
of the first line ?
In other words I do not want to use \longtables and the similar.
Where should I look for info ?
In Latex ? In Sweave ? In xtable ?
Thanks a lot
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Tel 39 055 3288 202 (348 lab) Fax 39 055 333 273
OLPantani at unifi.it http://www4.unifi.it/dssnp/
2008 May 06
4
Is there in R a function equivalent to the mround, as found in most spreadsheets?
...ittle with R functions such as
round, signif, ceiling, trunc, and floor
but without success.
Any hint to solve this problem ?
Thanks a lot
http://www.openofficetips.com/blog/archives/2005/04/rounding_to_the.html
http://www.gnome.org/projects/gnumeric/doc/gnumeric-MROUND.shtml
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Tel 39 055 3288 202 (348 lab) Fax 39 055 333 273
OLPantani at unifi.it http://www4.unifi.it/dssnp/
2009 Dec 02
4
Again on overlaying plots (a plot region within a plot region)
...figure region.
One solution could be to export PLOT 1 , say as png,
and then overlay on it PLOT 2 with pixmap() as in this example
http://www.stat.auckland.ac.nz/~paul/RGraphics/custombase-pixmap.R
but it seems to me a bit too much complicate
Thanks in advance for your time
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Ubuntu 8.04.3 LTS -- GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+
Version 2.12.9)
ESS version 5.5 -- R 2.10.0
2010 Apr 22
1
Multicolor main title in a plot or mtext
...t;2nd treatm 3rd treatm 1st treatm",
.......)
What I have in mind is something similar to the latex code
\color{black}{1st treatm} \color{red}{2nd treatm} \color{green}{3rd treatm}
Which pages of the R manual should I have to read to solve my problem ?
Thanks in advance
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip.to di Scienze delle Produzioni Vegetali,
del Suolo e dell'Ambiente Forestale (DiPSA)
2009 Nov 16
2
on gsub (simple, but not to me!) sintax
...h the vector through
grep("V_._", foo)
but I always get errors either on
gsub('V_\(.\)_', 'V_0\1_', foo)
or I get not what I'm looking for on
gsub('V_._', 'V_0._', foo)
gsub('V_._', 'V_0\1_', foo)
Thanks in advance
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Ubuntu 8.04.3 LTS -- GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+
Version 2.12.9)
ESS version 5.5 -- R 2.10.0
2006 Sep 28
1
I: differences between R and S (reproducing a plot from a book )
...command in R, a different plot is obtained instead.
It is a multlple xy plot where the values of each variable are plotted
against
the values of the others.
Is there an equivalent command in R to obtain a plot similar to that showed
above?
Thanks for your time in reading this mine.
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
2009 Aug 13
1
R code to reproduce (while studying) Bates & Watts 1988
...93
plot(nls.1, pch = 20)
##Figure 3.56b, pag 93
???????????not the foggiest idea
##Figure 3.57, pag 94
acf(resid(nls.1), xlim = c(1, 15), lab = c(5, 4, 7))
##Try to fit a model with autocorrelated residues (Problems !!)
nls.2 <- update(nls.1, corr = corAR1(0.67))
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Tel 39 055 3288 202 (348 lab) Fax 39 055 333 273
OLPantani at unifi.it http://www4.unifi.it/dssnp/
2009 Oct 30
1
How to properly shade the background panels of an xyplot?
...know how to manage the data in the panel,
but I cannot imagine how to do it with variables external to the panel
itself.
I suppose that the panel functions are not useful here.
I'm wandering through par.settings, themes and panel.fill, but still
without success.
Any hint ?
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Ubuntu 8.04.3 LTS -- GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+
Version 2.12.9)
ESS version 5.5 -- R 2.9.2
2009 Oct 30
1
insert a text in panels, always in the same position (lattice, ltext, ?prepanel?)
...success
labels = paste("p", as.character(round(p.value.diff, 3)), sep =
"="))
}
##
xyplot(x ~ d| a + b + c,
data = df,
layout = c(6, 2),
strip = strip.custom(strip.names = TRUE, strip.levels =TRUE),
panel = my.panel)
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Ubuntu 8.04.3 LTS -- GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+
Version 2.12.9)
ESS version 5.5 -- R 2.9.2
2007 Dec 05
5
Which Linux OS on Athlon amd64, to comfortably run R?
...amd64 is not the right processor to make
life easy.
Therefore I would like to know from you, how can I solve this problem:
Should I install the i386 version of R ?
Should I install another flavour of Linux ?
Which one ?
Fedora Core 7 ?
Debian ?
Thanks a lot, for any suggestion
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Tel 39 055 3288 202 (348 lab) Fax 39 055 333 273
OLPantani at unifi.it http://www4.unifi.it/dssnp/
2007 Dec 05
5
Which Linux OS on Athlon amd64, to comfortably run R?
...amd64 is not the right processor to make
life easy.
Therefore I would like to know from you, how can I solve this problem:
Should I install the i386 version of R ?
Should I install another flavour of Linux ?
Which one ?
Fedora Core 7 ?
Debian ?
Thanks a lot, for any suggestion
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Tel 39 055 3288 202 (348 lab) Fax 39 055 333 273
OLPantani at unifi.it http://www4.unifi.it/dssnp/
2007 Dec 03
1
again on ubuntu 7.10 and amd64
...an that I'm going to use R on that computer on daily basis for the
next 3-5 years.
Thanks a lot for any suggestion
Processor AMD ATHLON 64 DUAL CORE 4000+ (socket AM2)
Mother board ASR SK-AM2 2
Ram Corsair Value 1 GB DDR2 800 Mhz
Hard Disk WESTERN DIGITAL 160 GB SATA2 8MB
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
P.zle Cascine 28 50144 Firenze Italia
Tel 39 055 3288 202 (348 lab) Fax 39 055 333 273
OLPantani at unifi.it http://www4.unifi.it/dssnp/
2007 Nov 06
2
Is it possible to modify the position of the graphic window ?
Dear R users,
is there a way to tell R where to draw the windows where the plots are
drawn ?
I always get that window on the right of my screen, where it interferes
with my Xemacs + ESS window where I'm writing lines.
Of course I can move it manually, but I would like to have it
permanently on the right, rather than on the left.
Thanks for any advice
Ottorino
Ubuntu 7.10
Xemacs 21.4
2004 Nov 05
1
I: a coloured band within each panel of a lattice bwplot
...line(v = mean(x, na.rm = T) - mean(x, na.rm = T) * 0.02
panel.abline(v = mean(x, na.rm = T) + mean(x, na.rm = T) * 0.02
})
but I cannot figure out how to shade the region included between the two
lines.
Is it possible, or I'm pretending too much?
Thanks to all.
Ottorino-Luca Pantani, Universit?? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
2004 Oct 26
1
indexing within the function "aggregate"
...at external y".
I hope to be clear enough to be understood.
Am I entering a wrong path?
How can I get an output like
the (cheated) table hereunder?
SEQ STD INJ95%cl
1 1 EXT 0.035
2 2 EXT 0.031
3 1 INT 0.054
4 2 INT 0.028
Thanks to anyone who are willing to help me.
Ottorino-Luca Pantani, Universit?? di Firenze
Dip. Scienza del Suolo e Nutrizione della Pianta
2010 Oct 19
2
superpose.polygon, panel.polygon and their colors
...panel.superpose(x, y,
panel.groups = 'panel.bands.2',...)
panel.xyplot(x, y, ...)
})
In other words I can modify the borders, but not the shaded areas.
This sounds strange to me.
Where am I wrong ?
Thanks in advance for your time.
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip.to di Scienze delle Produzioni Vegetali,
del Suolo e dell'Ambiente Forestale (DiPSA)
P.zle Cascine 28 50144 Firenze Italia
Ubuntu 10.04 -- GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version
2.18.0)
ESS version 5.8 -- R 2.10.1
2010 Jun 29
1
Sweave, xtable plus/minus sign
...t;- as.data.frame(foo)
foo.df$Std.Dev <- paste("?", round(mySD,2), sep="")
tmpTable <- xtable(foo.df, caption ="Simulated data",
label="tab:five", digits=2)
print(tmpTable, caption.placement="top")
@
Any other solution?
--
Ottorino-Luca Pantani, Universit? di Firenze
Dip.to di Scienze delle Produzioni Vegetali,
del Suolo e dell'Ambiente Forestale (DiPSA)
P.zle Cascine 28 50144 Firenze Italia
Ubuntu 10.04 -- GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version
2.18.0)
ESS version 5.8 -- R 2.10.1