search for: ottorino

Displaying 20 results from an estimated 38 matches for "ottorino".

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/
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 Aug 13
1
R code to reproduce (while studying) Bates & Watts 1988
...Here below you'll find are my efforts. I'm in trouble at plotting the lag plot (fig 3.6 b) and in fitting the new model with autocorrelated residuals (most probably misusing "correlation = corAR1()" in updating a nls model). Could someone be so kind to help me ? Thanks a lot Ottorino "df.Chloride"<- structure(.Data = list(time = c(2.45, 2.55, 2.65, 2.75, 2.85, 2.95, 3.05, 3.15, 3.25, 3.35, 3.45, 3.55, 3.65, 3.75, 3.85, 3.95, 4.05, 4.15, 4.25, 4.35, 4.45, 4.55, 4.65, 4.75, 4.85, 4.95, 5.05, 5.15, 5.25, 5.35, 5.45, 5.55, 5.65, 5.75, 5.85, 5.95, 6.05, 6....
2008 May 06
4
Is there in R a function equivalent to the mround, as found in most spreadsheets?
...I played a little 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 Nov 12
1
Rearranging long tables, Sweave, xtable, LaTeX
...second produce 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/
2009 Dec 02
4
Again on overlaying plots (a plot region within a plot region)
...region nor the 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
...", "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
...) I can search 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
2007 Nov 06
2
Is it possible to modify the position of the graphic window ?
...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 patch 20 ESS version 5.3.4 R version 2.5.1 (2007-06-27)
2007 Jul 26
3
substituting dots in the names of the columns (sub, gsub, regexpr)
...ore on regexp, 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 Oct 30
1
How to properly shade the background panels of an xyplot?
...more or less) 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?)
...) but without 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
2010 Oct 19
2
superpose.polygon, panel.polygon and their colors
...x, y, ...){ 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 May 27
3
rjags in Ubuntu 10.04
I've not been able to install rjags successfully in Ubuntu 10.04 : ** testing if installed package can be loaded Error : .onLoad failed in loadNamespace() for 'rjags', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared library '/home/scott/R/i486-pc-linux-gnu-library/2.11/rjags/libs/rjags.so': libjags.so.2: cannot open shared object file:
2012 Apr 10
2
substitution of the ASCII character "squared" AKA "^2" AKA (alt+0178) with a tractable one
...9;m running a Linux box and that I have to transfer the code to a mac....... I've tried also to see if it possible to change that string at the source, but it is possible only on manual basis, quite inconvenient if you have to process many files. Any help ? I'm quite discouraged ... -- 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 -- GNOME 2.30.2 GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0) ESS version 12.04 -- R 2.15.0
2006 Sep 28
1
I: differences between R and S (reproducing a plot from a book )
...Using the same 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
2010 Jun 29
1
Sweave, xtable plus/minus sign
....... foo.df <- 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
2009 Aug 17
1
[Fwd: Re: R code to reproduce (while studying) Bates & Watts 1988]]]
Kevin Wright wrote: > library(nlme) > m2 <- gnls(conc ~ t1*(1-t2*exp(-k*time)), > data = df.Chloride, > start = list( > t1 = 35, > t2 = 0.91, > k = 0.22)) So my error was to use nls instead that gnls. Thanks a lot, Kevin. > summary(m2) > plot(m2) > lag.plot(resid(m2), do.lines=FALSE) >
2007 Dec 03
1
again on ubuntu 7.10 and amd64
...uggest ? I mean 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 Dec 05
5
Which Linux OS on Athlon amd64, to comfortably run R?
...alize that an 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/