Displaying 20 results from an estimated 25 matches for "emammend".
Did you mean:
emammendes
2011 Mar 13
4
readMat - how to retrieve the variables
Hello
I have a matlab MAT file that contains one single variable: a. The
structure of a is as follows:
a.river1.flow (flow values)
a.river1.date_flow (date)
a.river1.precip (precipitation values)
a.river1.date_precip
a.river2.flow
a.river2.date_flow
a.river2.precip
a.river2.date_precip
I have used readMat to load the variable a in R, however I have no idea how
readMat translates a. I managed
2011 Jul 17
3
How to convert number (matlab) to date
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.
Many thanks
Ed
2011 Aug 15
2
Regression - how to deal with past values?
Dear R-users
I need to fit a nonlinear model to a piece of data. The model to be fitted
uses past values of the input and the ouput - something like
y(k) ~ f(y(k-1),y(k-2),u(k),u(k-1) ....) (k is time index). As far as I
know I could use earth(MARS), nnet and etc but I am not sure how to deal
with the past values since most, if not all, examples I saw formula does not
take in account past
2011 Sep 02
2
How to keep the same class?
Hello
Please see the example below
> class(testX)
[1] "matrix"
> class(testX[1,])
[1] "numeric"
Why not matrix? What am I missing here? Is there a way to keep the same
class?
The reason for the question is that I want to implement a k-step ahead
prediction for my own routines and R wrecks does not seem to like [1,] as
shown below.
>
2014 Jul 25
1
R-3.1.1 - R CMD INSTALL problem
Hello
I have recently upgraded R to the newest version. Unfortunately my old (fortran and C) R-package cannot be installed anymore (was built before R 3.0.0: please re-install it).
I have tried R CMD INSTALL package_name but I noticed that R-3.1.1-binary-mac requests gcc-4.8.2 and specific locations for the libraries (gcc and gfortran). Can someone point me to the documentation on how to
2011 Jul 13
3
Rcompression on MAC - where is it?
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
2011 Aug 18
2
Concatenate two strings in one in a string matrix
Dear R-Users
I have the following matrix
> out$desc [,1] [,2]
[1,] "" ""
[2,] "y_{01}(k-001)" ""
[3,] "y_{01}(k-002)" ""
[4,] "y_{01}(k-003)" ""
[5,] "u_{01}(k-001)" ""
[6,] "u_{01}(k-002)" ""
[7,] "u_{01}(k-003)" ""
2005 Apr 03
1
Samba - wireless - PDC
Hello
I wonder how I could get my linux box to serve logins to a Windows Me box.
At the moment samba is running but I cannot access home dirs (No user log on).
Since ME (wireless card DWL+G520) accesses an AP (DI 624 - 192.168.0.1 + ADSL)
and the card manager comes up at end of the booting process, I have no idea
how to get a user log on box (To be honest I don't know if this is
2011 Jul 30
1
Plot.xts - how to change the x-axis labels to show weekly labels.
Dear R-users
I am new to R and struggling not to bother the list with silly questions.
I read the documentation on xts and searched for some examples over the
internet on how to use plot.xts.
The xts object is as follows
dataxts : An 'xts' object from 2010-06-27 to 2010-08-05 containing:
Data: num [1:56161, 1:14] 74 74.2 74.2 74.1 73.9 ...
Indexed by objects of
2008 Aug 29
2
Newbie: Examples on functions callling a library etc.
Hello
R is pretty new to me. I need to write a function that returns three
matrices of different dimensions. In addition, I need to call a function
from a contributed package with the function. I have browsed several
manuals and docs but the examples on them are either very simple or
extremely hard to follow.
Many thanks
Ed
[[alternative HTML version deleted]]
2011 Jul 26
2
How to use as.Date (or something else) with "31-Jul-2010 23:59:00"
Hello
I have a huge file (not an R-file) in which the first column is a string
with date, hour, minutes and seconds (For instance, "31-Jul-2010 23:59:00").
I tried as.Date but the error msg was "Error in charToDate(x) :
character string is not in a standard unambiguous format".
I have checked the help for the function as well as date but to no avail.
How can that sort
2011 Nov 08
1
Building package problem
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 check hydroGOF
* using log directory 'C:/Users/eduardo/Documents/R_tests2/hydroGOF.Rcheck'
2011 Apr 03
1
Inverse noncentral Beta
Hello
I could not find whether there is any R-function that implements the inverse
of a noncentral Beta. Could someone out there tell me where I can find it?
Or how to implement it?
Many thanks
Ed
[[alternative HTML version deleted]]
2011 Aug 17
0
Sweave and graphics
Dear R-Users
I think I am getting the hang of how sweave works. However there is one
thing I am struggling with - nice small size graphics.
Here is the piece of the Rnw file that creates the figures.
<<pl1,fig=TRUE,include=FALSE,echo=false>>=
#pdf(file="datapl1.pdf",paper="a4",width=0,height=0);
plot(yt,ypred,xlab="Data",ylab="Predicted
2011 Jul 22
0
Using package amelia
Hello
I do not think I have fully grasped how to use Amelia to deal with missing
data.
For instance, suppose I have a data.frame variable with 4 columns (year,
mon, ssn, dev) = (year, month, measurements, standard deviation of the
measurement). Of course, there are some random missing values on columns 3
and 4. The measurements are an almost periodic time-series contaminated by
noise.
2011 Jul 23
0
Testing two independent samples for null of same skewness and kurtosis?
Hello
I wonder whether there is an r tool or package available for testing for the
null of same skewness or kurtosis of two independent samples.
It semes that nsRFA package uses L-moments for soothing similar but I could
not get how to use the package for the above test.
Any pointers, help, example and etc. will be most welcome.
Many thanks
Ed
[[alternative HTML
2011 Oct 04
1
Problems loading package hydroTSM
Hello
I have the following problem when loading the package hydroGOF on Windows 7
running R.12.2
library(hydroGOF)
Error : package 'hydroTSM' does not have a name space
Error: package/namespace load failed for 'hydroGOF'
The same command does not result in error on R.13.1 at my Mac running Lion.
Have I done something wrong?
Many thanks
Ed
2011 Oct 05
1
Strange error msg when plotting a graphics
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 in gzfile(file, "wb") : cannot open the
2012 Nov 29
0
What am I missing when using zoo on version 2.15?
Hello
I am running R versions 2.13 and 2.15. One of my codes run ok on 2.13 but
on 2.15. I have tried to understand what is wrong but come up with
nothing.
Here is the code
rm(list=ls())
graphics.off()
library(R.matlab)
library(zoo);
library(xts);
library(lattice);
library(hydroGOF);
a=readMat("exemplo_narmax_Aimores_MISO.mat")
2011 Aug 19
1
Build a package - check error
Dear R-users
I am slowly migrating my mex files (MATLAB - Fortran and C) to R. To get my
own functions available on R section I have decided to learn how to build a
R package. I choose a simple example with a few Fortran and R functions
(wrapper).
The fortran sources are located at src and the R functions at R (as
recommended). The building process went ok but R CMD check did not. The
error