Re: [R] R Help: System Identification for First order delay and dead time with TF model

2016-09-23 Thread Eduardo M. A. M. Mendes
Hi This is a continuous time system. Are you willing to discretize the model? Regards Ed Enviado do meu iPhone > Em 23 de set de 2016, às 06:15, Yoshikazu Noguchi > escreveu: > > Hello, > > > > May I ask your help? > > > > I would like to do System Identification using time serie

Re: [R] How to change print behaviour within a markdown document

2014-08-02 Thread Eduardo M. A. M. Mendes
Dear Duncan Options did the job. Thank you ever so much. I will try the other suggestions too. If they work I will post them as well. Cheers Ed Enviada do meu iPhone > Em 02/08/2014, às 09:26, Duncan Murdoch escreveu: > >> On 01/08/2014, 10:36 PM, Eduardo M. A. M.Mendes wrote: >> Hello >

[R] How to change the font size on the title of a xyplot

2014-05-10 Thread Eduardo M. A. M. Mendes
Hello I am using xyplot (lattice) to plot a xts variable. There are 20 variables within the xts variable (index by a datetime vector sampled every 1 minute). The results are very nice and help me to understand what is going on with the data. However since the names (labels of each variable) w

Re: [R] How to change the font size on the title of a xyplot

2014-05-10 Thread Eduardo M. A. M. Mendes
Hello Many thanks. par.main.text is the main title (on top of all plots). I need to change the each of the titles in the, say, subplots. Ed On May 10, 2014, at 7:05 PM, David Winsemius wrote: > > On May 10, 2014, at 2:26 PM, Eduardo M. A. M. Mendes wrote: > >> Hello &g

Re: [R] How to change the font size on the title of a xyplot

2014-05-10 Thread Eduardo M. A. M. Mendes
Yes, you are right. I meant panels, xyplot generates 22 panels, which one with y-axis, x-axis and a title. I need to change the font size of title in the panels. Ed On May 10, 2014, at 8:04 PM, David Winsemius wrote: > > On May 10, 2014, at 3:30 PM, Eduardo M. A. M. Mendes

Re: [R] How to change the font size on the title of a xyplot

2014-05-10 Thread Eduardo M. A. M. Mendes
library(zoo); library(lattice); a=matrix(runif(100),25,4); b=zoo(a,seq(1,25)); names(b)=c("How to change the font size?","2","3","4"); xyplot(b) Ed On May 10, 2014, at 9:52 PM, David Winsemius wrote: > > On May 10, 2014, at 5:47 PM, Eduardo M. A.

Re: [R] How to change the font size on the title of a xyplot

2014-05-10 Thread Eduardo M. A. M. Mendes
cex=0.85 did the job for me. many thanks Ed On May 10, 2014, at 10:13 PM, David Winsemius wrote: > > On May 10, 2014, at 6:06 PM, Eduardo M. A. M. Mendes wrote: > >> library(zoo); >> library(lattice); >> >> a=matrix(runif(100),25,4); >> b=zoo(a,seq(1

Re: [R] How to change the font size on the title of a xyplot

2014-05-11 Thread Eduardo M. A. M. Mendes
r.get()) > > Duncan > > Duncan Mackay > Department of Agronomy and Soil Science > University of New England > Armidale NSW 2351 > Email: home: mac...@northnet.com.au > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.o

[R] ggplot2 - change title and size of legends - time series.

2014-06-27 Thread Eduardo M. A. M. Mendes
Hi I am trying to understand how to use ggplot2 to plot multiple time-series in one single graphics. In order to do so, I have modified the example given at http://docs.ggplot2.org/current/guide_legend.html to use my own data. Here is the script so far # Script for plotting all variables rm

[R] ggplot2 - change title and size of legends - time series.

2014-06-27 Thread Eduardo M. A. M. Mendes
Hi I am trying to understand how to use ggplot2 to plot multiple time-series in one single graphics. In order to do so, I have modified the example given at http://docs.ggplot2.org/current/guide_legend.html to use my own data. Here is the script so far # Script for plotting all variables rm

Re: [R] ggplot2 - change title and size of legends - time series.

2014-06-28 Thread Eduardo M. A. M. Mendes
18), axis.title = element_text(size = rel(1.75))) # Change size of the text in the axis-labels and axis title g<-g+theme(legend.key.size = unit(0.5, "in")) # Change key size in the legend g<-g+theme(legend.text = element_text(size=12)) # Change the size labels in the legend print(g) O

[R] An example on how to use neuralnet to predict values

2011-03-13 Thread Eduardo M. A. M. Mendes
Hello I am new to R and wonder whether someone out there could send me an example on how to use the package neuralnet to fit a model to data, following the usual procedure, that is, fitting the model using the training set and then using the validation set to check the model. Moreover, the neura

[R] Sweave - landscape figure

2011-08-04 Thread Eduardo M. A. M. Mendes
Dear R-users I am trying to understand how Sweave works by running some simple examples. In the example I am working with there is a chunk where the R-commands related to plotting a figure are placed. When running R CMD Sweave … , pdflatex the output is a portrait figure. I wonder whether it

Re: [R] Sweave - landscape figure

2011-08-05 Thread Eduardo M. A. M. Mendes
me} >> > \end{sidewaysfigure} >> > >> > otherwise \usepackage landscape (check spelling) for a full page >> > >> > HTH >> > >> > Duncan >> > >> > Duncan Mackay >> > Department of Agronomy and Soil Science

Re: [R] Regression - how to deal with past values?

2011-08-16 Thread Eduardo M. A. M. Mendes
Yes, I have. As far as R packages go I found two packages: forecast (only deals with linear stuff) and tsDyn (deals with nonlinear models but considers no input). Cheers Ed On Aug 15, 2011, at 10:06 PM, Comcast wrote: > Have you done any searching (with for instance the term "forecast")? If

[R] Rcompression on MAC - where is it?

2011-07-12 Thread Eduardo M. A. M. Mendes
Hello I need to run an r-file that works on Windows on MAC. The first lines of the file are: library(R.matlab) library(Rcompression) Somehow I cannot find where Rcompression is. Am I missing something? Many thanks Ed __ R-help@r-project.org mail

Re: [R] Rcompression on MAC - where is it?

2011-07-13 Thread Eduardo M. A. M. Mendes
ul 13, 2011, at 4:30 AM, peter dalgaard wrote: > > On Jul 13, 2011, at 03:04 , David Winsemius wrote: > >> >> On Jul 12, 2011, at 8:40 PM, Eduardo M. A. M. Mendes wrote: >> >>> Hello >>> >>> I need to run an r-file that works on Windows on

[R] How to convert number (matlab) to date

2011-07-16 Thread Eduardo M. A. M. Mendes
Hello I am new to R and I need to convert some dates (numeric format by matlab) to actual dates in R. For instance, Matlab -> 730456 -> >> datestr(730456) ans = 02-Dec-1999 R - > library(zoo) > as.Date(730456) [1] "3969-12-03" I don't not mind the output format but it needs to be right.

Re: [R] Rcompression on MAC - where is it?

2011-07-25 Thread Eduardo M. A. M. Mendes
Hi there Yes, I am sure. I managed to compile rcompression and the package is now available. Many thanks Ed On Jul 24, 2011, at 7:17 PM, Henrik Bengtsson wrote: > Hi. > > On Tue, Jul 12, 2011 at 5:40 PM, Eduardo M. A. M. Mendes > wrote: >> Hello >> >> I ne

[R] Strange error msg when plotting a graphics

2011-10-04 Thread Eduardo M. A. M. Mendes
Dear R-Users I have come across the error that apparently has nothing to do with command itself. Here is the error (w - matrix (or vector) e testXaxis - dates). > plot(data.frame(testXaxis,w),col="blue",ylab="Q, [m3/s]",xlab="Data", + main="Free-run - Modelo NARX MISO - Test Data") Error

[R] Building package problem

2011-11-08 Thread Eduardo M. A. M. Mendes
Dear R-users I am trying to recompile a CRAN package on Windows 32. Rtools for 2.14 (that is the version I am running) and miktex were sucessfully installed on my machine. Problems: a) hydroGOF is a CRAN package, but R CMD check does not work on it. C:\Users\eduardo\Documents\R_tests2>R CMD