Hi Everybody,
aa<-
c(1,5,10,20,50,40,50,60,70,80,90,100,150,200,250,300,350,400,450,500,550,600,650,700,750,800,850,900,950,1000)
bb<-
c(8,16,30,24,39,54,40,68,72,62,122,80,181,259,275,380,320,434,479,587,626,648,738,766,793,851,871,957,1001,960)
library(mcr)
pbreg<- mcreg(aa,bb, method.reg =
Hi William,
Thank you so much for your reply.
However, I still got error message:
> data.dump(oldStyle=TRUE)
Error: could not find function "data.dump"
> data.restore("C:/Users/FTSI/Desktop/2 ICGPA/1ACTIVITY.sdd")
Error: could not find function "data.restore"
Thank you.
On Sun, Feb 26, 2017
> On Feb 25, 2017, at 4:36 PM, Ashta wrote:
>
> Thank you so much David!
>
> But if all element of a group has '-' did not work. In this case year
> 2006 an example
> If all values of flag are '-' within year then I wan to set as N
I don't see the difficulty (and your example did not provi
Thank you so much David!
But if all element of a group has '-' did not work. In this case year
2006 an example
If all values of flag are '-' within year then I wan to set as N
dat=read.table(text = "Year month flag
2001 1 Z
2001 2 -
2001 4 X
2002 1 Z
2002 2 -
2003 1 -
2003 2 Z
> On Feb 25, 2017, at 10:45 AM, Ashta wrote:
>
> Thank you David.
> is it not possible to sort it by year and flag so that we can make '-'
> in the second row ? like this for that particular year.
>
> 2003 2 Z
> 2003 1 -
>
I was a bit surprised by the results of htis since I had
Let me know if anything
On Saturday, 25 February 2017, 23:18, Allan Tanaka
wrote:
Hi
See attached txt
On Saturday, 18 February 2017, 20:47, Rui Barradas
wrote:
Helo,
No attachment came through. Change the file extension from .R to .txt
and resend, there aren't many types o
Hi
See attached txt
On Saturday, 18 February 2017, 20:47, Rui Barradas
wrote:
Helo,
No attachment came through. Change the file extension from .R to .txt
and resend, there aren't many types of files r-help accepts.
Rui Barradas
Em 17-02-2017 17:20, Allan Tanaka escreveu:
> So i trie
Thank you David.
is it not possible to sort it by year and flag so that we can make '-'
in the second row ? like this for that particular year.
2003 2 Z
2003 1 -
On Sat, Feb 25, 2017 at 12:14 PM, David Winsemius
wrote:
>
>> On Feb 25, 2017, at 8:09 AM, Ashta wrote:
>>
>> I ha
Hello,
You're right, but the equal sign outside the function call wasn't my
doing. I should have noticed that the OP had used
spec = ugarchspec(...) and '<-' inside the function call to assign
values to the function's arguments, but I heven't, so I just corrected
the '<-'.
Rui Barradas
Em
> On Feb 25, 2017, at 8:09 AM, Ashta wrote:
>
> I have a data set and I want to repeat a column value based on other
> column value,
>
> my data look like
>
> read.table(text = "Year month flag
> 2001 1 Z
> 2001 2 -
> 2001 4 X
> 2002 1 Z
> 2002 2 -
> 2003 1 -
> 2003 2 Z
> 2004 2
That was confusing. One equals sign is used to assign values (actual
arguments) to function inputs (formal arguments).
The assignment operator `<-` is used to assign values to variables in the
current working environment. Due to popular demand, the single equals sign can
ALSO be used for that
Hello,
Your minimal reproducible example is not reproducible since we don't
have acces to file "EURJPY.m1440.csv" and is far from minimal.
Anyway, the best I can say is that you are using the attribution
operator '<-' to set the values of a function's arguments when you
should use '='. Try ins
The sdd file extension may mean that the file is in S+ 'data dump' format,
made by S+'s data.dump function and readable in S+ by its data.restore function.
foreign::data.restore can read some such files in R, but I think it
may only read well
those with using the pre-1991 format made in more recent
Is this homework?
(We don't do homework here).
Also, this looks pretty basic. Have you gone through any ggplot
tutorials? -- the web and the Rstudio site have many.
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opu
Hello everyone,
How to plot distribution of relative frequncy using ggplot2 ? The example
figure is in the attachment.
If we have data:
aa<-
c(1,5,10,20,50,40,50,60,70,80,90,100,150,200,250,300,350,400,450,500,550,600,650,700,750,800,850,900,950,1000)
bb<-
c(8,16,30,24,39,54,40,68,72,62,122,
I have a data set and I want to repeat a column value based on other
column value,
my data look like
read.table(text = "Year month flag
2001 1 Z
2001 2 -
2001 4 X
2002 1 Z
2002 2 -
2003 1 -
2003 2 Z
2004 2 Z
2005 3 Z
2005 2 -
2005 3 -", header = TRUE)
Within year If flag
I'd like to use a different data ( validation) set for pruning my
classification tree. Unfortunately there aren't arguments to get this in
prune.rpart().
Any suggestions?
Thanks!
Alfredo
[[alternative HTML version deleted]]
__
R-help@r-proje
17 matches
Mail list logo