gression. For example, I used the “regression” function of Microsoft
Excel 2003 and intercept is -0.01894 and X is 0.185758. I think that if I
can catch “test” (Y) values and “concentration” (X) values into a dataframe,
then I can use “lm” to fit linear models. So, how to catch all “test”
values fro
o fit linear models. So, how to catch all “test” values from
different dataframes? Or what should I do?
Best regards,
Hsin-Ya Lee
--
View this message in context:
http://www.nabble.com/How-to-catch-data-from-the-different-dataframes-and-lm-problem--tp14521967p14554872.html
Sent from the R help
Hi,
I would like to know how to plot the implicit function. For example,
f(x,y)=0. I'd like to plot x-y figure.
Thanks,
Ying
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www
I was trying to fit a linear mixed model with a user specified correlation
structure with lme (package nlme). In the book of Pinheiro and Bates
(2000), it was mentioned that new corStruct classes can be added, and the
corAR1 constructor and methods can serve as templates. But I am just too
dumb t
Dear R users,
I want to fit a model with within-subject correlations but with no random
effects. So I could use gls to set correlation=corSymm(~1 | group). Here
the problem I encountered is that I have 90 groups, and for the first,
second and third 30 groups I want them to have three different
u
library, but this is not what
I'm looking for
Thanks in advance
Dae-Jin
--
______
Dae-Jin Lee
Office/Despacho: 7.3.J04
Phone/Tlfno:+34 91 624 9175
Fax: +34 91 624 9430
Departamento de Estadística
Av. Universidad 30, Ed. Juan Benet
28911 Leganés (Madrid), SPA
corr_x #
cor(a_x,lag(col.W,a_x))
[,1]
[1,] 0.06929324
# ==
I don't know if I'm simulating correctly the CAR,
any help?
Thanks in advance
2008/2/15, Henrique Dallazuanna <[EMAIL PROTECTED]>:
>
> See spautolm
Hi all R users !
I'm using gamm function from Simon Wood's mgcv package, to fit a spatial
regression Generalized Additive Mixed Model, as covariates I have the
geographical longitude and latitude locations of indexed data. I include a
random effect for each district (dist) so the code is
fit <- g
Dear useRs,
I'm pleased to announce that version 1.1.0 of lambda.r is now available on CRAN
(http://cran.r-project.org/web/packages/lambda.r/). This package provides a
complete functional programming environment within R (and is backwards
compatible with S3). Lambda.r introduces many concepts i
To whom it may concern,
I have tried to plot some numbers against time with the time on the X-axis
shown as "Jan", "Feb", etc.
I used the following commands:
Raw<-structure(list(Date = structure(c(6L, 7L, 2L, 4L, 12L, 9L, 7L,
2L, 4L, 12L), .Label = c("1/10", "1/11", "11/11", "12/11", "13/10",
To whom it may help,
I am new to R.
I have been tring to have a lattice plot in two strip levels: 4 stations in 2
years.
I type in:
histogram(~Raw.no10$Width|Raw.no10$Station*Raw.no10$Year, data=Raw.no10,
layout=c(4,2),nin=30,xlab="Prosomal Width (mm)",
strip=strip.custom(bg='white'),ylab=
has gone wrong?
Many thanks.
Regards,
Christine
2015年4月6日 星期一,Michael Dewey 寫道﹕
主題: Re: [R] strip levels
收件人: "Sarah Goslee" , "Chr
副本(CC): "r-help"
日期: 2015年4月6日,星期一,下午11:15
See inline
On 06/04/2015 15:39, Sarah
Goslee wrote:
> Hi,
>
istine
2015年4月7日 星期二,Duncan Mackay 寫道﹕
主題: RE: [R] strip levels
收件人: "R" , "'Christine Lee'"
日期: 2015年4月7日,星期二,上午8:57
Hi
also have a look at useOuterStrips in the
latticeExtra package if you want
station x
time conditioning
useOu
Thanks Mr. Turner, This puzzles me. Why do we come out with different axis
labels with the same command? Is this because of my R version or my computer?
Regards,Christine
Rolf Turner 於 2015年08月18日 (週二) 2:02 PM 寫道﹕
See inline below.
On 18/08/15 16:15, Christine Lee via R-help
ion
to get them
names(trellis.par.get() )
and going further
trellis.par.get()$superpose.symbol
will give you the values for
superpose.symbol
Beware: Do
not make the labels etc so big that the axis labels are hard
to
read. Think of final size
Regards
Duncan
Duncan
Mackay
Department of Agronomy a
Dear All,
I have tried to plot graphs of one row of four figures for each station. In
each graph, black points indicate data in the year of 2002, denoted as Y2002,
whereas grey points indicate data in the year of 2014, denoted as Y2014. I
ended up with 2x2 plots with all data points in black.
Dear all,
I want to draw a line at DI=1 across all four graphs in the xy plot, I have
used panel.abline, but I failed to do so, does any one has an idea of what has
went wrong?
structure(list(Date = structure(c(6L, 7L, 2L, 4L, 13L, 17L, 5L,
12L, 4L, 11L, 14L, 9L, 7L, 2L, 4L, 13L, 10L, 17L, 5L,
panel.xyplot(x,y, ...)
panel.abline(h=1,lty=2,lwd=3)
}
)
Regards
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 [mailto:r-help-boun...@r-project.org] On
Dear All,
I have an embarssing question, I want to put a black line as a rim on the grey
symbol in the xyplot, to no avail.
. I thought it was easy, by changing the pch code from 16 to 21. I was
surpised that I ran into difficulty.
My original script is as follows:
library(lattice)
xyplot(A
quot;, fill=c("gray","black"),
xlab=list("Month",cex=1.5), ylab=list("Abundance",cex=1.5),
index.cond=list(c(1,2,3,4)), auto.key = T, layout=c(4,1))
Jim
On Tue, Dec 1, 2015 at 5:20 PM, Christine Lee via R-help
wrote:
(Also posted on StackExchange but submitting to R-help to reach more potential
experts)I am using the gamm function in the mgcv package in R to specify a
model that predicts abundance with respect to elevation and year based on
repeated measures from several sites. My overarching question is how
Hello useRs:
Does anyone have thoughts on the lifecycle of older releases of R? I
know that currently the 2.8.x and 2.9.x releases seem to be actively
"supported" on the mailing lists, but what about older releases, say
2.4.x? Curious to hear when people think older versions of R become
obsolete a
user base.
Brian
-Original Message-
From: Thomas Lumley [mailto:tlum...@u.washington.edu]
Sent: Thursday, June 25, 2009 12:50 PM
To: Rowe, Brian Lee Yung (Portfolio Analytics)
Cc: r-h...@stat.math.ethz.ch
Subject: Re: [R] Software lifecycle for R releases (aka practical limits
of support
Hello,
I want to use seq with multiple from values and am getting unexpected
(to me) behavior. I'm wondering if this behavior is intentional or not.
> seq(2, by=3, length.out=4)
[1] 2 5 8 11
> seq(3, by=3, length.out=4)
[1] 3 6 9 12
Now if I want the combined sequence, I thought I could p
-built function to do this, I'm all eyes.
Brian
PS if this is unclear, flame away, and I'll post some code
-Original Message-
From: Peter Dalgaard [mailto:p.dalga...@biostat.ku.dk]
Sent: Friday, May 22, 2009 6:20 AM
To: Rowe, Brian Lee Yung (Portfolio Analytics)
Cc: r-help@r-proj
Brilliant! Thanks, Brian
-Original Message-
From: Gabor Grothendieck [mailto:ggrothendi...@gmail.com]
Sent: Friday, May 22, 2009 11:20 AM
To: Rowe, Brian Lee Yung (Portfolio Analytics)
Cc: Peter Dalgaard; r-help@r-project.org
Subject: Re: [R] Behavior of seq with vector from
Try it
It's unclear to me what your expected output is. If you are trying to
add additional data sets to an existing plot then ?lines should be
sufficient.
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Mohan Singh
Sent: Wednesday, March 2
Aren't you missing a sep='' in your last call to paste?
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Steve Murray
Sent: Wednesday, March 25, 2009 1:58 PM
To: r-help@r-project.org
Subject: [R] Manual sort in a for loop
Dear all,
Try this to generate your year/month combinations:
> expand.grid(year=1986:1995, month=1:12)
Obviously you'll have to format the months.
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Steve Murray
Sent: Thursday, March 26, 2009 2
Is this what you want:
> d1[which(id != 4),]
id xy
[1,] 1 1 0.00
[2,] 1 2 0.10
[3,] 1 3 0.50
[4,] 1 4 0.40
[5,] 1 5 0.20
[6,] 2 1 0.00
[7,] 2 2 0.10
[8,] 2 3 0.50
[9,] 2 4 0.40
[10,] 2 5 0.12
[11,] 3 1 0.00
[12,] 3 2 0.10
[13,] 3 3 0.50
[14,] 3 4 0.55
[15,] 3 5 0.2
Hi Antonio,
Sounds like your .RData file might be corrupt. Did you try deleting it
(or renaming it) and starting R again?
The .RData file should be in the directory where you started R.
HTH,
Brian
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org
Mark,
I think ?rbind should work for you.
Regards,
Brian
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Mark Heckmann
Sent: Monday, December 29, 2008 9:18 AM
To: r-help@r-project.org
Subject: [R] Merge or combine data frames with
You can use zoo to do this:
library(zoo)
DA <- c("1991q1", "1993q2")
as.Date(as.yearqtr(DA))
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Shruthi Jayaram
Sent: Thursday, January 08, 2009 1:46 PM
To: r-help@r-project.org
Subject:
How about this:
> runif(1,0,0.5)
[1] 0.4806179
> runif(1,0,0.7)
[1] 0.1789742
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Vie
Sent: Monday, February 09, 2009 9:41 AM
To: r-help@r-project.org
Subject: [R] Choosing a random numb
Did you try the forums on Knime? That might be a better bet.
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Antje
Sent: Tuesday, February 10, 2009 12:24 PM
To: r-h...@stat.math.ethz.ch
Subject: Re: [R] R running as a server on wind
Did you verify that all your apps/libraries are all 64-bit compatible?
If your dll indeed exists in the directory it complains about, I would
venture that it's a mismatch between 32-bit and 64-bit libraries (R,
rJava, Java).
HTH,
Brian
-Original Message-
From: r-help-boun...@r-project.org
Try this:
> dummy
id code value
1 1 hi 10.3
2 1 lo 5.2
3 2 hi 19.4
4 3 hi 20.0
5 3 lo 12.0
6 4 lo 5.8
> reshape(dummy, idvar='id', timevar='code', direction='wide')
id value.hi value.lo
1 1 10.3 5.2
3 2 19.4 NA
4 3 20.0 12.0
6 4 N
Did you set a system property for java.libary.path that points to the
native library as the error message instructs?
I'm not familiar with NetBeans, but in Eclipse you can set the JVM
properties in a dialog. Otherwise you can always pass it in via the
command line: -Djava.library.path=
HTH,
Brian
You didn't really provide enough detail on how you wanted the data
reshaped, but I'll take a guess:
> reshape(dat.1, direction='long',
varying=paste('X',c(0,3,6,12,25,50),sep=''), sep='')
Grp time X id
1.0 C0 0.5326517 1
2.0 C0 0.4715917 2
3.0 C0 0.5021
Try this:
d1[,intersect(names(d1),names(d2))]
HTH, Brian
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Josh B
Sent: Friday, February 27, 2009 12:28 PM
To: R Help
Subject: [R] Filtering a dataset's columns by another dataset's col
I get the same error message when I do this:
> read.table('NA',header=TRUE,stringsAsFactors=FALSE)
Error in file(file, "r") : unable to open connection
In addition: Warning message:
In file(file, "r") :
cannot open file 'NA', reason 'No such file or directory'
I get this error when I call list.
301 - 341 of 341 matches
Mail list logo