I have the same question about the following strings:
sub("^([0-9]*).*$", "\\1", fields)
could you explain them in detail .
I would lookforward to yourwonderful reply.
2015-12-01
13351275265
发件人:r-help-requ...@r-project.org
发送时间:2015-12-01 19:00
主题:R-help Digest, Vol 154
In general you should read the Posting Guide mentioned at the bottom of every
email, which points out that you should post in plain text. Figuring out how to
send plain text email in your email client will help you make sure that we see
what you see.
You should also try to insert reproducible
Hi,
First of all, you almost certainly want to get your data into R with
stringsAsFactors=FALSE rather than creating a factor with 345196
levels.
mydata <- read.table("whateverfile", stringsAsFactors=FALSE)
I'm just guessing, but you probably also don't really want filter(),
but subset() instead
Hello R community,
I need a bit of direction. I am new to R, so please forgive any mistakes or
confusion.
Here is an example of the columns and data contained in my data frame.
Number: Factor w 345196 levels "1.001", "1.002", "1.003", "2.001", "2.002",
"2.003"
Name: factor w 2 levels ("X", "Y")
Hello Experts,
I need your help to understand the how can we calculate the UCL values at
different levels dynamically?
Customer No Month Sales UCL 100 201501 500 550.75 100
201502 100 550.75 101 201501 400 425.25 101 201502 50 425.25
In the above scenario i need calculate UCL
y, 22 September 2015 12:15 AM
To: r-help@R-project.org
Subject: Re: [R] R-help, please
Good day,
My name is Kim Nguyen and please I need your help with: How to calculate the
PASS rate of the data in the table below, with PASS in a single subject if
value>=50 and PASS will be given if PASS 3
It looks like you sent the e-mail in HTML.
It is unreadable.
You must sent e-mail to R-help in plain text not HTML
John Kane
Kingston ON Canada
> -Original Message-
> From: le4...@mweb.co.za
> Sent: Mon, 21 Sep 2015 16:14:41 +0200
> To: r-help@r-project.org
> Subject:
Your question looks very much like homework and this list does not do
homework for people. Talk to your instructor.
cheers,
Rolf Turner
On 22/09/15 02:14, le4...@mweb.co.za wrote:
Good day,
My name is Kim Nguyen and please I need your help with: How to calculate the PASS
rate of the data
Good day,
My name is Kim Nguyen and please I need your help with: How to calculate the
PASS rate of the data in the table below, with PASS in a single subject if
value>=50 and PASS will be given if PASS 3 out of 4 subjectsWhich package will
I need to use in this analysis
ID
Literacy
Maths
Hi Aun,
It looks like you haven't installed the DBI package, which seems to be
required by the hgu133acdf package. Try installing DBI first.
Jim
On Sun, Aug 30, 2015 at 12:57 PM, aun syed via R-help
wrote:
> Dear R administration,
> i have installed R x64 3.2.2 and i am trying to install annota
Dear R administration,
i have installed R x64 3.2.2 and i am trying to install annotation software on
it (hgu133a.db and hgu133acdf), but i am getting this error, how can i solve
this issue, thanks for your help.Regards,Dr. Syed AunPost-Doctoral Fellow, China
* installing *source* package 'hg
diagonal bacn is a typo, sorry for that. My brain meant to type diagonal
band, ie going in this case from north west to south east but my fingers
failed completely.
On 13/08/2015 10:25, Mario Petretta wrote:
Many thanks for your suggestion.
I will try a new database search and the hc metaphor
Obviously metafor and not metaphor.
Sorry
Mario
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
Many thanks for your suggestion.
I will try a new database search and the hc metaphor function.
Mario
PS: what is diagonal bacn?
-Messaggio originale-
Da: Michael Dewey [mailto:li...@dewey.myzen.co.uk]
Inviato: mercoledì 12 agosto 2015 18.19
A: petre...@unina.it; r-help@r-project.org
O
It is quite clear that you are confused, because your function is full of
variables that are not defined in your email. Unfortunately, that also makes
helping you quite difficult. Also, your (accidental?) use of HTML format means
that your code is garbled on our end (see below). You have to lear
(Don't post in HTML. Your code is illegible that way.)
Something as simple as ...
return(ts)
... to conclude your function perhaps?
B.
On May 18, 2015, at 7:32 AM, Ariadna García Sáenz wrote:
> Good afternoon,
> I'm working in a disease spread model, and I have to use a function to put
>
Good afternoon,
I'm working in a disease spread model, and I have to use a function to put
information on a table.
My question is that I don't know how to get the output of this function in a
table. Thanks in advance!
Here I paste my script:
tbmodel <- function(time,S,E,I,De,Di,beta,alpha,phi,rho
Duncan Murdoch gmail.com> writes:
> The Cygwin release is not supported by us, and is known to be buggy,
> because it doesn't handle line endings properly.
>
> You'll need to talk to the Cygwin folks if you can't reproduce this
> in one of our releases available from
> cran.r-project.org/bin/windo
On 16/04/2015 12:23 AM, paul wrote:
> I am ramping up on the R statistical analysis environment. I find
> that the help leaves out entire lines of text. The pager is
> /usr/lib/R/bin/pager. I changed it to /bin/less, but I see the same
> symptom. The problem shows up both in xterm and mintty.
I am ramping up on the R statistical analysis environment. I find
that the help leaves out entire lines of text. The pager is
/usr/lib/R/bin/pager. I changed it to /bin/less, but I see the same
symptom. The problem shows up both in xterm and mintty. The computer
is in a locked down environment
anada
> -Original Message-
> From: thanoon.youni...@gmail.com
> Sent: Wed, 18 Mar 2015 20:12:53 +0300
> To: r-help@r-project.org
> Subject: [R] r help
>
> Dear all members
>
> I have error with the following code
>
> #Input data set
> thd <- as.ma
Works fine for me. The error message just means that the last line did not
end with a 'new line' character:
> x <- as.matrix(read.table("/temp/td.txt"))
Warning message:
In read.table("/temp/td.txt") :
incomplete final line found by readTableHeader on '/temp/td.txt'
> data<-list(N1=2000,N2=2
Dear all members
I have error with the following code
#Input data set
thd <- as.matrix(read.table("C:/Users/hp/Desktop/thd.txt"))
#Input data set
data<-list(N1=2000,N2=2000,P=9,R=Ro,z1=yo1,z2=yo2,thd)
and the the matrix
-200.000 -2.517 -1.245 -0.444 0.848 200.000
-200.000 -1.447
On Mar 13, 2015, at 4:42 AM, acrodaniel wrote:
> R studio writes that it has a problem with
>
> .rs.httpdPort()
>
> when startup
>
RStudio question are best handled on the web forums established to support that
product. They are not on-topic for Rhelp.
##
R-help@r-project.org maili
Hello,
i am new in R.
When i search for any help in R-Studio.
example ?mean
a new Webpage opens with the help of mean.
I want to see it in R-Studio. It worked until yesterday.
I am using Arch bin version.
Thanks for you help
--
View this message in context:
http://r.789695.n4.nabble.com/R
R studio writes that it has a problem with
.rs.httpdPort()
when startup
--
View this message in context:
http://r.789695.n4.nabble.com/R-Help-Pops-um-in-Webbrowser-how-to-dissable-tp4704603p4704606.html
Sent from the R help mailing list archive at Nabble.com.
___
Better ask for local help if you can't reduce your code to some minimal
examples so that we can understand easily what you are looking for.
On 02.03.2015 10:38, Rami Alzebdieh wrote:
Dear Sir,
I start using (R) 3 months ago, and I am still learning,
Same for me after more than 16 year
Dear Sir,
I start using (R) 3 months ago, and I am still learning, I have a project and I
am using R in this project, my friend helped me to build a code for this
project and it's working perfect, but I need to make a small change in, it
looks very simple but for me it's very complicated. I ins
How can i plot the "scaled TTT-transform" with R? And how can i plot "
Empirical Hazard function plot" ? Thank you in advance
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://sta
This follows up on Duncan Murdock's reply to Boris Steipe's question
about possible advantages to using RStudio.
I agree with Mr. Murdock's list of advantages of RStudio, but disagree
mildly with his comment about feeling that the tiled display provides
too little space. When I use RStudio, I
http://www.bioperl.org/wiki/HOWTOs
On Nov 29, 2014, at 3:00 AM, r-help-requ...@r-project.org wrote:
Subject: Re: [R] perl
On Friday, November 28, 2014, Noha Osman
mailto:nmo_...@usc.edu>> wrote:
Hi Folks
Iam a new user in perl and I have two questions .Hopefully I get any help
[[
[I sent this email to Rich and to the list after some private
communication with Rich. However it got held up for being too big,
presumably because of the pdf attachment. So I am re-sending it to the
list *without* the attachment.]
I resorted to actually trying the expedient of installing "c
On 01.07.2014 17:18, Andre Weeks wrote:
To whom it may concern:
I installed R 3.1 and I get this.
In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="\\network\users\aweeks\My Documents/R/win-library/3.1": Access
is denied
Is there any way to change this path? I have looked
To whom it may concern:
I installed R 3.1 and I get this.
In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="\\network\users\aweeks\My Documents/R/win-library/3.1": Access
is denied
Is there any way to change this path? I have looked it up on the internet
but cannot seem to fin
Hi,
It is better to use ?dput() to show the data.dput(dataset)
dat <-
structure(list(customer_id = c(8L, 33L, 12L), CountryName = c("US",
"CA", "UK"), RevenueWeekN00 = c(2.28, 0, 30.18), RevenueWeekN01 = c(9.57,
14.69, 43.9), RevenueWeekN02 = c(7.54, 3.31, 90.4), RevenueWeekN03 = c(8.99,
5.21
Hi,
Another way would be:
dat11 <- transform(dat[rep(1:nrow(dat),each=12),1:2],
weekdatesunday=rep(0:11,3), RevenueWeekN00=as.vector(t(dat[,-c(1:2)])))
row.names(dat11) <- 1:nrow(dat11)
dat22 <- unsplit(lapply(split(dat11,
with(dat11,list(customer_id,CountryName)),drop=TRUE),function(x) {m1 <-
Hi guys,
I ran the below R code:
> department <- c(rep("B", 2), rep("C", 2), rep("D", 2), rep("E", 2),
rep("F", 2))
> gender <- rep(c("Male", "Female"), 5)
> admitted <- c(353, 17, 120, 202, 138, 131, 53, 94, 22, 24)
> not.admitted <- c(207, 8, 205, 391, 279, 244, 138, 299, 351, 317)
> cbind(depa
un...@r-project.org>
> > [mailto:r-help-boun...@r-project.org<mailto:r-help-boun...@r-project.org>]
On
> > Behalf Of Jon Nash
> > Sent: Monday, March 10, 2014 1:59 AM
> > To: r-help@r-project.org<mailto:r-help@r-project.org>
> > Subject: [R] R Help
> >
&g
Hello,
It's better to keep this on the list, the odds of getting more and
better answers are greater.
You need to type getwd() with the parenthesis and no arguments. It
always returns something (the current wd).
Rui Barradas
Em 10-03-2014 18:00, Jon Nash escreveu:
Hi Rui,
Nothing of value i
t; z()
[1] ""
Bill Dunlap
TIBCO Software
wdunlap tibco.com
From: Jon Nash [mailto:jon.n...@hvhs.school.nz]
Sent: Monday, March 10, 2014 11:14 AM
To: William Dunlap
Subject: Re: [R] R Help
Hi Bill,
I start with a > prompt
I type the command in the syntax that appears to be correct
I im
at does typing
5:2
cause R to do?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
> Behalf
> Of Jon Nash
> Sent: Monday, March 10, 2014 1:59 AM
> To: r-help@r-project.org
&g
Hello,
The function setwd returns the previous working directory invisibly so
"nothing happens" might mean that there is no apparent feedback. You can
see if it changed the wd with getwd().
Hope this helps,
Rui Barradas
Em 10-03-2014 10:58, Pascal Oettli escreveu:
Hello,
And what are you
Hello,
And what are you expecting the command "setwd" to do?
Regards,
Pascal
On Mon, Mar 10, 2014 at 5:59 PM, Jon Nash wrote:
> I have just installed R 3.0.3 on Windows 7.
>
> I open up the GUI and type setwd("c:/users/jon") and press return. Nothing
> happens, Ive tried manuals, forums etc ...
I have just installed R 3.0.3 on Windows 7.
I open up the GUI and type setwd("c:/users/jon") and press return. Nothing
happens, Ive tried manuals, forums etc ...
An ex-student needs help using this program. I spent 7 years as an IT
consultant before becoming a maths teacher so Im better than ave
Hi,
If there are multiple max values, you will get only the first value with
?which.max().
Using dataset `a` as an example:
a <- structure(list(`1` = c("Mal", "Mahesh", "Tarak", "Pawan", "Charan",
"Prabhas", "Arjun", "Naresh", "Nithin", "Puri"), `2` = 1:10,
`3` = c("Layer", "Actor", "Actor
Hi,
Check the ?str() of my.table.
library(XML)
u='http://www.ininternet.org/calorie.htm'
tables1 = readHTMLTable(u)
my.table1=tables1[[9]]
with(my.table1,mean(PROTEINE))
#[1] NA
#Warning message:
#In mean.default(PROTEINE) :
# argument is not numeric or logical: returning NA
str(my.table1)
'
On Feb 16, 2014, at 11:54 PM, Michał Wajszczuk wrote:
> Hi,
>
> I just download R and R-studio. I have one problem and i can't make through
> it. I'm trying to use help function in R-studio but after typing something,
> error appears. I already searched in web and asked my friends but no
> one c
Hi,
I just download R and R-studio. I have one problem and i can't make through
it. I'm trying to use help function in R-studio but after typing something,
error appears. I already searched in web and asked my friends but no
one can help me.
Could you please help me or give any advise?
I have Win
Hi,
My solution was based on the input dataset you showed. If xy@12_g.com is
"xy1...@gmail.com" (or both of them exist in the dataset?? Not clear!)., then
try:
dat <- read.table(text="Emails
mal...@gmail.com
mah...@gmail.com
x...@gmail.com
ravi_...@yahoo.com
lavk@rediff.com
xy1...@g
Hi,
The pattern is not very clear.
Try:
dat <- read.table(text="Emails
mal...@gmail.com
mah...@gmail.com
x...@gmail.com
ravi_...@yahoo.com
lavk@rediff.com
xy@12_g.com",sep="",header=TRUE,stringsAsFactors=FALSE)
vec1 <-
gsub("\\.[[:alnum:]]+$","",gsub("^([[:alpha:]]+)(\\d+.*)","\\1_\\2",dat$
Hi,
YOu could use ?cut().
dat2 <- read.table(text="1 2
Mal 1
Ram 1000
Ramesh 12344",sep="",header=TRUE,stringsAsFactors=FALSE,check.names=FALSE)
res <-
setNames(as.data.frame(table(cut(dat2[,2],breaks=c(0,1000,10),labels=c("0-1000","1000-10",c("Bins","count"))
Hi,
If there are multiple max values, you will get only the first value with
?which.max().
Using dataset `a` as an example:
a <- structure(list(`1` = c("Mal", "Mahesh", "Tarak", "Pawan", "Charan",
"Prabhas", "Arjun", "Naresh", "Nithin", "Puri"), `2` = 1:10,
`3` = c("Layer", "Actor", "Acto
Hi,
Try:
dat <- read.table(text="Emails
mal...@gmail.com
mah...@gmail.com
x...@gmail.com
ravi_...@yahoo.com
lavk@rediff.com
xy@12_g.com",sep="",header=TRUE,stringsAsFactors=FALSE)
vec1 <-
gsub("\\.[[:alnum:]]+$","",gsub("^([[:alpha:]]+)(\\d+.*)","\\1_\\2",dat$Emails))
indx1 <- grep("[[:punct
HI,
I am not sure this is what you meant.
a <- read.table(text="1 2 3 4 5 6
1 Mal 1 Layer 22 M 10
2 Mahesh 2 Actor 45 M 15000
3 Tarak 3 Actor 30 M 15000
4 Pawan 4 Actor 47
Hi,
If you have .edu, .gov etc.
dat <- structure(list(Emails = c("mal...@gmail.com", "mah...@gmail.com",
"ravi_...@yahoo.com", "lavk@ufl.edu")), .Names = "Emails", class =
"data.frame", row.names = c(NA,
-4L))
res <-
setNames(cbind(dat,do.call(rbind,strsplit(gsub("\\.[[:alnum:]]+$","",gsu
Hi,
May be this helps:
dat <- read.table(text="Emails
mal...@gmail.com
mah...@gmail.com
ravi_...@yahoo.com
lavk@rediff.com",sep="",header=TRUE,stringsAsFactors=FALSE)
setNames(cbind(dat,do.call(rbind,strsplit(gsub(".com","",gsub("^([[:alpha:]]+)(\\d+.*)","\\1_\\2",dat$Emails)),"[_@.]"))),c
Hi,
Emails
mal...@gmail.com
mah...@gmail.com
ravi_...@yahoo.com
lavk@rediff.com
I need split firstname,lastname,domail(only gmail,not gmail.com),also 123 in
last name,so please give me help
Output is
Emails f.name l.namedomain
mal...@gmail.com
On Jan 14, 2014, at 10:29 AM, Vasco Cadavez wrote:
> Dear R Users,
>
> I'm searching for a Self Start function for Weibull function (3 parameters).
Have you looked at:
?selfStart # be sure to look at the links in the See Also section
--
David
>
> Somebody can help?
>
>
> Cheers,
>
Hello,
Maybe function ?SSweibull in package stats.
Hope this helps,
Rui Barradas
Em 14-01-2014 18:29, Vasco Cadavez escreveu:
Dear R Users,
I'm searching for a Self Start function for Weibull function (3
parameters).
Somebody can help?
Cheers,
Vasco Cadavez
On 14/01/14 11:00, r-help-
Dear R Users,
I'm searching for a Self Start function for Weibull function (3 parameters).
Somebody can help?
Cheers,
Vasco Cadavez
On 14/01/14 11:00, r-help-requ...@r-project.org wrote:
Send R-help mailing list submissions to
r-help@r-project.org
To subscribe or unsubscribe via
works ok with mock-up data. Can you give some code to reproduce this error?
kamil
On 2013-11-15 11:00, r-help-requ...@r-project.org wrote:
Message: 56
Date: Thu, 14 Nov 2013 18:01:27 -0800
From: Lilly Dethier
To:r-help@r-project.org
Subject: [R] Error in MuMIn "models are not all fitted to th
Second (perhaps with the slight addition indicated)
-- Bert
... And **amen!** to the sentiment expressed.
On Wed, Nov 6, 2013 at 2:08 PM, Rolf Turner wrote:
> On 11/07/13 10:57, David Winsemius wrote:
>
>
>>
>> I think you need to add a statistician to your [PhD] committee. The
>> diffic
On 11/07/13 10:57, David Winsemius wrote:
I think you need to add a statistician to your committee. The
difficulties you are facing (of which you appear to be unaware) are
not just related to being new to R.
Fortune?
cheers,
Rolf
__
On Nov 6, 2013, at 10:07 AM, Henderson, Robin Michelle wrote:
> Hi,
>
> I am a graduate student applying published R scripts to compare the
> classification accuracy of 2 predictive models, one built using discriminant
> function analysis and one using random forests (webpage link for these
>
Hi,
I am a graduate student applying published R scripts to compare the
classification accuracy of 2 predictive models, one built using discriminant
function analysis and one using random forests (webpage link for these scripts
is provided below). The purpose of these models is to predict the
Pavlos,
There are several ways to evaluate how well new data fit an old
regression.Part of the answer depends on what you are concerned about. For
example, if you are concerned about bias, you can test whether the mean of
the new data is within the expected range of the mean of that many new
valu
Re: Heteroscedasticity and mgcv. (Collin Lynch)
The GAMLSS package can model heterogeneity in the scale parameter (e.g.
standard deviastion) [and also heterogeity in skewness and kurtosis
parameters].of the response variable distribution.
For parametric models a generalized likelihood ratio test
hi john. I knew it wasn't that simple and was thinking of asking you to
comment. so thanks for commenting. any good references are appreciated
also. In the various texts I have, this issue is seldom talked about.
On Mon, Oct 21, 2013 at 8:43 AM, Prof J C Nash (U30A) wrote:
> This is one ar
Hi,
Try:
Gene[,-1] <- lapply(Gene[,-1],function(x) {x[sample(length(x),1)] <- NA;x})
A.K.
I got it guys
MeanofGenotype <-sapply(2:8, function(k) tapply(Gene[,k] , Gene$Genotype,
mean))
I was wondering if now you guys can help me on how to insert a random NA to
each column.
The question i
Hi,
(Please use ?dput() to share the example dataset. Avoid using images to show
dataset. Also, please read the posting guide esp. regarding home work,
assignments etc.)
res <- sapply(Gene[,-1],function(x) tapply(x,list(Gene$Genotype),mean))
#or
res2 <- aggregate(.~Genotype, data=Gene,mean)
Hi,The conditions are not very clear.
set.seed(285)
RN <- sample(1:100,20,replace=FALSE)
aList <- lapply(1:10,function(i) sample(RN,i,replace=FALSE))
sapply(aList,tail,1)
# [1] 87 60 96 87 60 67 42 96 73 24
A.K.
I was wondering if I could obtain some help on how to do this.
I feel as if
Why? I assume you posted because you want help with something, but it is going
to be very difficult to help if you don't know the most basic things about R or
this mailing list.
Spreadsheet: R can import data from a spreadsheet, but the corresponding native
terminology in R is "data.frame" or "m
Dear,
I want to use for loop and if..else condition together for
finding such value from a two column in a spreadsheet.
Thanks & Regards
Shameem Akhtar
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
Hi Peter,
The ssconvert tool (part of gnumeric) is very good at converting spreadsheets
to csv-files.
There is a wrapper in the "gnumeric" package on cran.
Cheers,
Thomas
> Date: Fri, 4 Oct 2013 09:08:50 +0100
> From: Barry Rowlingson
> To: Peter Maclean
> Cc: "r-help@r-project.org"
> Subjec
Hello,
Please stop to use "R help" for the subject of your mail. You already used
it several times.
You have been asked to stop to send e-mail in HTML.
You also have been asked to use dput() when you want to submit data to this
list.
For the current problem, there is no reproducible code, as it
Hi everone and thanks for this service,
I have a dataset which look like:
X. IE.2003 IE.2004 IE.2005 IE.2006 IE.2007 IE.2008 IE.2009 IE.2010
14560 118958 187 475 571 76410471203 715 807
12737 105571 935 942 917 948 991 861 NA 541
HI,
May be this helps:
library(Ckmeans.1d.dp)
set.seed(24)
RanNum1<-runif(20,9,12)
Ck1<-Ckmeans.1d.dp(RanNum1,4)
plot(RanNum1,col=Ck1$cluster)
abline(h=Ck1$centers,col=1:4,pch=8,cex=2)
Ck1$cluster
# [1] 2 2 3 3 3 4 2 4 4 2 3 2 3 3 2 4 2 1 3 1
which(Ck1$cluster==2,arr.ind=T)
#[1] 1 2 7
Hi,
I was using R arima and the results are stored. If I
need to print , is there a way to print the coeficient names
spd.ar2ma1=arima(spd_a,order=c(2,0,1))
write.table(sprintf("%s,%6.3f",spd.ar2ma1$coef),file='arma_results.txt',eol
="\n",append=FALSE,quote=FALSE,col.names=FALSE,row
Hi,
May be this helps:
A<- matrix(list(),3,3)
A[[1]]<- matrix(1,4,4)
A[[2]]<- matrix(1:15,3,5)
A[[3]]<- matrix(1:10,5,2)
---
str(A)
#List of 9
# $ : num [1:4, 1:4] 1 1 1 1 1 1 1 1 1 1 ...
# $ : int [1:3, 1:5] 1 2 3 4 5 6 7 8 9 10 ...
# $ : int [1:5, 1:2] 1 2 3 4 5 6 7
Hi everyone, I'm sorry for my questions, I'm sure they are totally stupig, but
I am completely new in this program and I am facing this "danger" alone
I have done imputation for one part of my data set, however I am not able for
doing in general.
this is part of my data set (cast2)
cast2[1:30
Dear Salaam,
In your ARIMA (2,3,0), you are telling R you are saying that the order of
differencing is 3. Have you chequed that you actually differenced the
series with d = 3?
Regards,
2013/8/5 Salaam Batur
> Dear R users,
>
> I picked up ARIMA(2,3,0) model for my time series analysis using
Dear R users,
I picked up ARIMA(2,3,0) model for my time series analysis using
auto.arima() function.
>From my understanding, the model should be in this shape:
[Y(hat)(t)-Y(t-1)]-2[Y(t-1)-Y(t-2)]+[Y(t-2)-Y(t-3)]=Theta(1){[(Y(t-1)-Y(t-2)]-2[(Y(t-2)-Y(t-3)]+[Y(t-3)-Y(t-4)]}+Theta(2){[Y(t-2)-Y(t-3
Hi,
My question is how to make panel sizes variable in box plots. I mean if a panel
has 10 box plots and another has only two, I need to make the later panel
thinner than the first.
Regards,
Fayez
Grad Student
UIUC, USA
__
R-help@r-project.org mailing
Greetings.
I am conducting a meta analyses that has Beta and SE values.
I am wondering how to place the command to split the analyses. Could you
assist me to develop the command within the syntax? I would also like to
add the N and Year values in the plot. I would like my plot to look like
the on
Hi Darren,
Take a look at the effects package. The documentation is good and
these articles will help you get oriented:
http://www.jstatsoft.org/v08/i15 http://www.jstatsoft.org/v32/i01
Best,
Ista
On Thu, Aug 1, 2013 at 1:56 AM, Darren Andrew Whitehead
wrote:
> Hello R Project,
> I am having a
Hello R Project,
I am having a little trouble with interpreting my GLM results and I wonder if
you may be able to help.
I am doing a generalised linear model in R studio by outcome variable is binary
either effected or not effected. I have my final model structure which has been
validated and fi
On 07/31/2013 10:03 PM, Mª Teresa Martinez Soriano wrote:
Hi
First of all, thanks for this service, it is being very useful for me. I am new
in R so I have a lot of doubts.
I have to do imputation in a data set, this is a sample of my data set which
looks like:
NUMERO Data1 Data
Hi
First of all, thanks for this service, it is being very useful for me. I am new
in R so I have a lot of doubts.
I have to do imputation in a data set, this is a sample of my data set which
looks like:
NUMERO Data1 Data2 IE.2003 IE.2004 IE.2005 IE.2006 IE.2007 IE.2008
IE.2009 IE
Dear R experts,
I know this is not the appropriate place to post but I already tried eco
(has not used ME) and geo (not available unit Aug 5), so please forgive me.
I fitted my spatial data to a glm.nb model. I decided to detect and correct
for spatial autocorrelation using ME{spdep}. I received
2 2
$ c: Factor w/ 2 levels "","xx": 1 2 2
The only real NA value which can be used for imputation is in first column.
Regards
Petr
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Ma Teresa
Hi
everyone,
I have
a dataset which I am handling with
R . Unfortunately I have two kinds of empty cells, one corresponds to missing
values and the other one is empty because it has to.
I m going
to put an example (just a part of my dataset ) to try to clarify my question:
missing
values are r
"Vallejo, Roger" asked:
I would like to know if we can estimate Rg between two binary traits
(disease status: alive vs. dead) with the R package.
My data: we have 100 full-sib (FS) families,
and two random samples (each with n= 200 FS fish) from each FS family
were evaluated for disease resis
And it could be that you should try nlmrt or minpack.lm.
I don't think you were at my talk in Jena May 23 -- might have been very
helpful to you.
JN
On 13-06-20 06:00 AM, r-help-requ...@r-project.org wrote:
Message: 47
Date: Wed, 19 Jun 2013 13:17:29 -0500
From: "Adams, Jean"
To: pakoun
Cc:
Dear R-User,
Appreciate any helps.
Given that I have a dataframe of tree population with three variable:
sp=species ,
d0=initial_size
grow=growth increment from initial size per year
How can I calculate the future growth of each tree for the next 10 years.
The following Rscript was written,
Folks,
Sorry for butting in here. I ran the code from John Kane below and it worked
fine.
I did however get a deprecation message suggesting the use of ggpairs from the
GGally package to make this chart.
Unfortunately I haven't found the correct incantation to get the diagonal to
display th
Hi everyone,
I have one problem with sparse matrix(package "SparseM"). I tried to
inverse a sparse matrix with solve function in SparseM package. But I
got warning:Error in .local(x, ...) : insufficient space.
p=solve(coeff,tmpmax=120*nrow(coeff))
Error in .local(x, ...) : insufficient s
Please, please do not use html formatted mail.
It is clearly requested by the mailing list
The code of your last mail is a mess and when replying it becomes even more of
a mess.
I told you to do
siml[g,] <- optm(perm=20)
See the comma after g.
and not what you are now doing with siml[g]<-op
On 07-06-2013, at 11:57, Laz wrote:
> Dear Berend,
>
> I have made some changes but I still get errors:
>
> For reproducibility,
> Rspatswap() is a function which originally returns a single value. For
> example Rspatswap(...) and you get 0.8
>
> So, run Rspatswap() 20 times and store all
Hi,
I am almost getting there, but still have errors. Thanks for your help.
I have tried improving but I get the following errors below:
>itn<-function(it){
+siml<-matrix(NA,ncol=5,nrow=it)
+for(g in 1:it){
+siml[g]<-optm(perm=20)[g]
+}
+siml
+}
>itn(3)
[,1] [,2] [,3] [,4] [,5]
[1,
Dear Berend,
For reproducibility,
Rspatswap() is a function which originally returns a single value. For
example Rspatswap(...) and you get 0.8
So, run Rspatswap() 20 times and store all the values.
Then from these 20 values, calculate the calculate average,
sd,se,min,max to get something si
101 - 200 of 656 matches
Mail list logo