ilto:r-help-boun...@r-project.org] On Behalf Of yadav neog
> Sent: Wednesday, December 27, 2017 8:05 PM
> To: dnew...@dcn.davis.ca.us; R mailing list
> Subject: [R] require help
>
> Respected sir,
> hoping that you are well.sir, i am trying to run Tado-Yamamoto causality test
>
Yadav,
We need some information that is missing in order to help you.
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Mark
R. Mark Sharp, Ph.D.
Data Scientist and Biomedical Statistical Consultant
75
Respected sir,
hoping that you are well.sir, i am trying to run Tado-Yamamoto causality
test with my data. I have three variables. but in running wal.test in R, I
have faced problems (especially in 'terms' arguments). my results have
shown as...
Error in L %*% V : non-conformable arguments
-- kin
On Fri, Sep 22, 2017 at 7:28 AM, yadav neog wrote:
> thankx to everyone for your valuable suggestions. one query regarding the
> GARCH model.
> I have applied the GARCH model for the same data that I send you all . and
> my results coming like
>
> Error in .sgarchfit(spec = spec, data = data, out.
thankx to everyone for your valuable suggestions. one query regarding the
GARCH model.
I have applied the GARCH model for the same data that I send you all . and
my results coming like
Error in .sgarchfit(spec = spec, data = data, out.sample = out.sample, :
ugarchfit-->error: function requires a
Assuming the input data.frame, DF, is of the form shown reproducibly
in the Note below, to convert the series to zoo or ts:
library(zoo)
# convert to zoo
z <- read.zoo(DF)
# convert to ts
as.ts(z) #
Note:
DF <- structure(list(year = c(1980, 1981, 1982, 1983, 1984), cnsm = c(174,
175, 175, 17
oky.. thank you very much to all of you
On Sat, Sep 16, 2017 at 2:06 PM, Eric Berger wrote:
> You can just use the same code that I provided before but now use your
> dataset. Like this
>
> df <- read.csv(file="data2.csv",header=TRUE)
> dates <- as.Date(paste(df$year,"-01-01",sep=""))
> myXts <
You can just use the same code that I provided before but now use your
dataset. Like this
df <- read.csv(file="data2.csv",header=TRUE)
dates <- as.Date(paste(df$year,"-01-01",sep=""))
myXts <- xts(df,order.by=dates)
head(myXts)
#The last command "head(myXts)" shows you the first few rows of the x
> On 15 Sep 2017, at 11:38, yadav neog wrote:
>
> hello to all. I am working on macroeconomic data series of India, which in
> a yearly basis. I am unable to convert my data frame into time series.
> kindly help me.
> also using zoo and xts packages. but they take only monthly observations.
>
>
thanks, eric../ actually I have the data which have not specify the months.
therefore i bound to declare is in yearly data. i also attached a sample
data set that may be helpful for you to providing suggestions. thank you
On Fri, Sep 15, 2017 at 5:23 PM, Ismail SEZEN wrote:
>
> > On 15 Sep 2017,
> On 15 Sep 2017, at 16:35, Berend Hasselman wrote:
>
>>
>> On 15 Sep 2017, at 11:38, yadav neog wrote:
>>
>> hello to all. I am working on macroeconomic data series of India, which in
>> a yearly basis. I am unable to convert my data frame into time series.
>> kindly help me.
>> also using z
> On 15 Sep 2017, at 11:38, yadav neog wrote:
>
> hello to all. I am working on macroeconomic data series of India, which in
> a yearly basis. I am unable to convert my data frame into time series.
> kindly help me.
> also using zoo and xts packages. but they take only monthly observations.
>
>
> On 15 Sep 2017, at 12:38, yadav neog wrote:
>
> hello to all. I am working on macroeconomic data series of India, which in
> a yearly basis. I am unable to convert my data frame into time series.
Do you really need to convert your data to time series/xts/zoo? I don’t know
you try what kind
You did not provide the data frame so I will first create one and then use
it to create an xts
library(xts)
df <- data.frame( year=1980:2009, cnsm=sample(170:180,30,replace=TRUE),
incm=rnorm(30,53,1), wlth=rnorm(30,60,1))
dates <- as.Date(paste(df$year,"-01-01",sep=""))
myXts <-
hello to all. I am working on macroeconomic data series of India, which in
a yearly basis. I am unable to convert my data frame into time series.
kindly help me.
also using zoo and xts packages. but they take only monthly observations.
'data.frame': 30 obs. of 4 variables:
$ year: int 1980 1981
Perhaps more people write end-user-ready applications in R than I am aware of
and my bias is too strong. For working at the console I prefer not to have my
scripts installing packages on their own (one possible alternative execution
path), and it is too much trouble to implement multiple routes
On 11/17/2016 04:49 PM, Jeff Newmiller wrote:
require(tfplot)
tfplot(x.ts)
Would just like to point out that require() should not be treated as
interchangeable with library(). The former returns a logical status
indicating success or failure, while the latter throws an error if it
falls. You
> require(tfplot)
> tfplot(x.ts)
Would just like to point out that require() should not be treated as
interchangeable with library(). The former returns a logical status indicating
success or failure, while the latter throws an error if it falls. You should
reserve use of require() for cases w
Thank you Henrik, that's exactly what I'm looking for!
Ivan
--
Ivan Calandra
University of Franche-Comté
Laboratoire Chrono-Environnement
Bureau ATER -107L
16, Route de Gray
25030 Besançon Cedex, France
ivan.calan...@univ-fcomte.fr
+33 (0) 381 66 20 60
http://chrono-environnement.univ-fcomte.fr/s
On Aug 21, 2014 7:40 AM, "Ivan Calandra"
wrote:
>
> Dear useRs,
>
> I'm looking for something like require() but which will work on source()d
files.
>
> I have a .R file with lots of functions and I'm writing a new function
(say, 'foo') that depends on the functions from this file.
>
> Until now,
Dear useRs,
I'm looking for something like require() but which will work on
source()d files.
I have a .R file with lots of functions and I'm writing a new function
(say, 'foo') that depends on the functions from this file.
Until now, I have always source()d the .R file before running 'foo'.
ramakanth reddy gmail.com> writes:
> I want to perform nagelkerke pseudo r2 test ...
> can someone tell me is there any r function or package available for doing
> it.
> and also the sample input data how it should be.
How about
library(sos)
findFn("nagelkerke")
?
_
Hello,
I want to perform nagelkerke pseudo r2 test ...
can someone tell me is there any r function or package available for doing
it.
and also the sample input data how it should be.
Regards
GRR
[[alternative HTML version deleted]]
__
R-help
Dear R Users
Any idea if there exists any one dimensional Cox Process datasets in R?
'Spatstat' is very comprehensive but doesn't seem to have any examples of 1D
(time series) Doubly Stochastic Poisson Process data. (I am aware it can be
simulated)
Thank you,
I read the help first, and read it again now, but I still don't see why the
warning was generated.
The help seems to state clearly that the user can suppress warnings
"most often, no errors/warnings are printed if package loading fails."
If the package doesn't exist, then it would fail to loa
Gene Leynes writes:
> I think that the "quietly" argument in "require" isn't working
>
> > require('JumboShrimp', quietly=TRUE)
> Warning in library(package, lib.loc = lib.loc, character.only = TRUE,
> logical.return = TRUE, :
> there is no package called 'JumboShrimp'
> >
Isn't quietly mean
On 12.01.2011 18:53, Gene Leynes wrote:
I think that the "quietly" argument in "require" isn't working
require('JumboShrimp', quietly=TRUE)
Warning in library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE, :
there is no package called 'JumboShrimp'
?require
I think that the "quietly" argument in "require" isn't working
> require('JumboShrimp', quietly=TRUE)
Warning in library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE, :
there is no package called 'JumboShrimp'
>
By the way, the behavior is the same with options(warn
Thanks very much to everyone. I think I will use a combination of both
techniques.
On 2009-March-22 , at 20:08 , Duncan Murdoch wrote:
That's pretty hard to make bulletproof. Why not just put those
functions in a package, and use that package?
I know it will be impossible to make bullet
I agree with Duncan. I used to do exactly what you did - source()ing data
files inside a wrapper not unlike C #define wrappers, but it became a
headache with more files and the files began looking more cluttered.
It has taken me several days to learn about how create a package properly,
along wi
On 22/03/2009 5:05 PM, JiHO wrote:
Hello everyone,
I often create some local "libraries" of functions (.R files with only
functions in them) that I latter call. In scripts that call a function
from such library, I would like to be able to test whether the
function is already known in the n
JiHO wrote:
> Hello everyone,
>
> I often create some local "libraries" of functions (.R files with only
> functions in them) that I latter call. In scripts that call a function
> from such library, I would like to be able to test whether the
> function is already known in the namespace and, only i
Try this:
if (!exists("myfun", mode = "function")) source("myfile.R")
Also check the other arguments of exists in case you want to
restrict the search.
On Sun, Mar 22, 2009 at 5:05 PM, JiHO wrote:
> Hello everyone,
>
> I often create some local "libraries" of functions (.R files with only
> fun
Hello everyone,
I often create some local "libraries" of functions (.R files with only
functions in them) that I latter call. In scripts that call a function
from such library, I would like to be able to test whether the
function is already known in the namespace and, only if it is not,
s
Duncan Murdoch wrote:
> On 10/03/2009 4:40 PM, Wacek Kusnierczyk wrote:
>> Duncan Murdoch wrote:
>>> On 10/03/2009 4:15 PM, Wolfgang Raffelsberger wrote:
Dear list,
?require says :
"... |require| is designed for use inside other functions; it returns
|FALSE| and gives a war
On 10/03/2009 4:40 PM, Wacek Kusnierczyk wrote:
Duncan Murdoch wrote:
On 10/03/2009 4:15 PM, Wolfgang Raffelsberger wrote:
Dear list,
?require says :
"... |require| is designed for use inside other functions; it returns
|FALSE| and gives a warning (rather than an error as |library()| does
by d
Duncan Murdoch wrote:
> On 10/03/2009 4:15 PM, Wolfgang Raffelsberger wrote:
>> Dear list,
>>
>> ?require says :
>> "... |require| is designed for use inside other functions; it returns
>> |FALSE| and gives a warning (rather than an error as |library()| does
>> by default) if the package does not e
On 10/03/2009 4:15 PM, Wolfgang Raffelsberger wrote:
Dear list,
?require says :
"... |require| is designed for use inside other functions; it returns
|FALSE| and gives a warning (rather than an error as |library()| does by
default) if the package does not exist ..."
However when I run the fo
Dear list,
?require says :
"... |require| is designed for use inside other functions; it returns
|FALSE| and gives a warning (rather than an error as |library()| does by
default) if the package does not exist ..."
However when I run the following code I don't get any TRUE / FALSE
statements
39 matches
Mail list logo