Re: [R] Should there be an R-beginners list?

2013-11-27 Thread Joris Meys
you completely. > > cheers, > > Rolf Turner > > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/ > posting-guide.html

Re: [R] Tinn-R user guide (latex sources) available on GitHub

2013-11-27 Thread Joris Meys
ing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Eng

Re: [R] Problems when Apply a script to a list

2010-08-27 Thread Joris Meys
*\nEstimation \n\nDataset > Sim : ", >          i ) > Thank you in advance > Evgenia > Joris Meys writes: >> >> Answers below. >> On Thu, Aug 26, 2010 at 11:20 AM, Evgenia wrote: >>> >>> Dear users, >>> ***

[R] Passing arguments between S4 methods fails within a function:bug? example with raster package.

2010-08-26 Thread Joris Meys
if (method=='bilinear') { return(.bilinearValue(object, xy)) } else if (method=='simple') { cells <- cellFromXY(object, xy) return(.readCells(object, cells)) } else {

Re: [R] Problems when Apply a script to a list

2010-08-26 Thread Joris Meys
this message in context: > http://r.789695.n4.nabble.com/Problems-when-Apply-a-script-to-a-list-tp2339403p2339403.html > Sent from the R help mailing list archive at Nabble.com. > > ______ > R-help@r-project.org mailing list > https://stat.ethz

Re: [R] Change value of a slot of an S4 object within a method.

2010-08-26 Thread Joris Meys
Cornell University > Contact Info: http://cbio.mskcc.org/~lianos/contact > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control tel : +32 9 264 59 87 joris.m...@ugent.be ---

Re: [R] Change value of a slot of an S4 object within a method.

2010-08-25 Thread Joris Meys
should become : eval( eval( substitute( expression(obj...@extra[[name]] <<- value) ,env=parent.frame(1) ) ) ) Tried it out and it works. Cheers Joris On Wed, Aug 25, 2010 at 6:21 PM, Steve Lianoglou wrote: > Hi Joris, > > On Wed, Aug 25, 2010 at 11:5

[R] Change value of a slot of an S4 object within a method.

2010-08-25 Thread Joris Meys
have to remember to assign that one each time to the original name. Basically I'm trying to do some call by reference with S4, but don't see how I should do that. How would I be able to tackle this problem in an efficient and elegant way? Thank you in advance Cheers Joris -- Jori

Re: [R] strange error : isS4(x) in gamm function (mgcv package). Variable in data-frame not recognized???

2010-07-28 Thread Joris Meys
, 2010 at 2:27 PM, Joris Meys wrote: > Dear all, > > it gets even more weird. After restarting R, the code I used works > just fine. The call is generated in a function that I debugged using > browser(). Problem is solved, but I have no clue whatsoever how that > error came a

Re: [R] strange error : isS4(x) in gamm function (mgcv package). Variable in data-frame not recognized???

2010-07-28 Thread Joris Meys
dark. I tried to regenerate the error, but didn't succeed. Somebody an idea as to where I have to look for a cause? Cheers Joris On Wed, Jul 28, 2010 at 1:16 PM, Joris Meys wrote: > Dear all, > > I run a gamm with following call : > > result <- try(gamm(values~ s( VM

[R] strange error : isS4(x) in gamm function (mgcv package). Variable in data-frame not recognized???

2010-07-28 Thread Joris Meys
uot;<"<2.5mm"<..: 1 1 1 1 1 1 1 1 1 1 ... - attr(*, "means")= num Any idea what I'm missing here? Cheers Joris -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and pro

Re: [R] random sample from arrays

2010-07-09 Thread Joris Meys
> but replicate function just fine. I can even replicate the whole array > lines. > > THX > > Assa > > On Thu, Jul 8, 2010 at 15:20, Joris Meys wrote: >> >> Don't know what exactly you're trying to do, but you make a matrix >> with 11 columns and

Re: [R] split with list

2010-07-09 Thread Joris Meys
gt; VAR2                       45                        45                       >       76 > > > This is because I next run xtable on my list in order to get a table in > Latex, which I woud like to be in a nice format. > Thanks a lot for your attention! > > > > > &

Re: [R] Non-parametric regression

2010-07-09 Thread Joris Meys
thz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > >        [[alternative HTML version deleted]] > > ______ >

Re: [R] R^2 in loess and predict?

2010-07-09 Thread Joris Meys
ject.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control te

Re: [R] package installation for Windows 7

2010-07-08 Thread Joris Meys
so changing the Rprofile.site becomes a hassle, as so many other tweaks. Actually, the only programs getting there are Microsoft related applications. If there's no strict need to place a program there, I stay away from that folder as far as possible. Vista has the same problem by the way, and ob

Re: [R] Using nlm or optim

2010-07-08 Thread Joris Meys
; Thanks for your help, > Anita. > >        [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-proj

Re: [R] random sample from arrays

2010-07-08 Thread Joris Meys
k with them? > > Thanks a lot > > Assa > >        [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-pr

Re: [R] package installation for Windows 7

2010-07-08 Thread Joris Meys
; Change using chooseBioCmirror(). >> Warning messages: >> 1: In safeSource() : Redefining ‘biocinstall’ >> 2: In safeSource() : Redefining ‘biocinstallPkgGroups’ >> 3: In safeSource() : Redefining ‘biocinstallRepos’ >>  > biocLite("Biobase") >> Using

Re: [R] strsplit("dia ma", "\\b") splits characterwise

2010-07-08 Thread Joris Meys
"a" " " "m" "a" > >> gregexpr("\\b", "dia ma") > [[1]] > [1] 1 4 5 7 > attr(,"match.length") > [1] 0 0 0 0 > >> gregexpr("\\b", "dia ma", perl=TRUE) > [[1]] > [1] 1 4 5 7

Re: [R] how to determine order of arima bt acf and pacf

2010-07-08 Thread Joris Meys
rg mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bio

Re: [R] package installation for Windows 7

2010-07-08 Thread Joris Meys
tallLocal() # "Install package(s) from local zip files..." > Error in if (ok) { : missing value where TRUE/FALSE needed > >> utils:::menuInstallPkgs() # "Install package(s)..." > --- Please select a CRAN mirror for use in this session --- > Error in if (ok) { : missing value where TRUE/FALSE needed >

Re: [R] relation in aggregated data

2010-07-08 Thread Joris Meys
campaigns > per year and sometimes there is apparent relationship in aggregated data > sometimes is not. My opinion is that I can not say much about exact > relations until I have other clues or ways like expected underlaying laws > of physics. > > Thanks again > > Best regards

Re: [R] when all I have is a contingency table....

2010-07-07 Thread Joris Meys
info/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathem

Re: [R] problems with write.table, involving loops & paste statement

2010-07-07 Thread Joris Meys
; A_var_df[i,1], "/k.csv", sep=""), sep=",", row.names=F, quote=F) ) > } > > ** > > -- > Thanks, > CC > >        [[alternative HTML version deleted]] > > __ > R-help@r-project.org ma

Re: [R] relation in aggregated data

2010-07-07 Thread Joris Meys
pply(yn, fac, mean) > plot(xprumn, yprumn) > > Here you can see perfect relation which is only due to aggregation factor. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do

Re: [R] Different goodness of fit tests leads to contradictory conclusions

2010-07-07 Thread Joris Meys
t; > >        [[alternative HTML version deleted]] > > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide c

Re: [R] PCA and Regression

2010-07-06 Thread Joris Meys
> R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Gh

Re: [R] Help With ANOVA

2010-07-06 Thread Joris Meys
;, "Sample"), row.names = > c("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", > "11", "12", "13", "14", "15", "16", "1

Re: [R] Help With ANOVA

2010-07-06 Thread Joris Meys
t;, "8", "9", "10", > "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", > "21", "22", "23", "24", "25", &qu

Re: [R] calculation on series with different time-steps

2010-07-06 Thread Joris Meys
list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of

Re: [R] timeseries

2010-07-06 Thread Joris Meys
read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and pro

Re: [R] acf

2010-07-06 Thread Joris Meys
research > Head land Sada > Vasco da Gamma > Goa-403804 > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and

Re: [R] S4 classes and debugging - Is there a summary?

2010-07-02 Thread Joris Meys
pages are not always that clear. Which is one of the reasons why S4 gets me frustrated so easily. I also have Chamber's book and Gentleman's book is here on the department as well. I'll go again through the relevant chapters. Thanks Joris -- Joris Meys Statistical consultant Ghent Univ

Re: [R] S4 classes and debugging - Is there a summary?

2010-07-02 Thread Joris Meys
manual on S4 that anybody likes to mention, please go ahead. I find bits and pieces on the internet, but haven't found an overview yet dealing with all peculiarities of these classes. Cheers Joris On Fri, Jul 2, 2010 at 2:05 PM, Joris Meys wrote: > Dear all, > > I'm getting more

[R] S4 classes and debugging - Is there a summary?

2010-07-02 Thread Joris Meys
g for without strolling through the complete source? Sorry if I sound frustrated, but this is costing me huge amounts of time, to that extent that I rather write a custom function than use one in an S4 package if I'm not absolutely sure about what it does and how it achieves it. Cheers

Re: [R] left end or right end

2010-07-01 Thread Joris Meys
t > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering

Re: [R] run R

2010-06-30 Thread Joris Meys
man/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applie

Re: [R] Use of processor by R 32bit on a 64bit machine

2010-06-29 Thread Joris Meys
*slaps forehead* Thanks. So out it goes, that hyperthreading. Who invented hyperthreading on a quad-core anyway? Cheers Joris 2010/6/29 Uwe Ligges : > > > On 29.06.2010 15:30, Joris Meys wrote: >> >> Dear all, >> >> I've recently purchased a new

[R] Use of processor by R 32bit on a 64bit machine

2010-06-29 Thread Joris Meys
base other attached packages: [1] svSocket_0.9-48 TinnR_1.0.3 R2HTML_2.0.0Hmisc_3.7-0 survival_2.35-7 loaded via a namespace (and not attached): [1] cluster_1.12.3 grid_2.10.1lattice_0.18-3 svMisc_0.9-57 tools_2.10.1 -- Joris Meys Statistical consultant Ghent University F

Re: [R] (New) Popularity of R, SAS, SPSS, Stata...

2010-06-28 Thread Joris Meys
; John Fox, Marc Schwartz, Duncan Murdoch, Martin Weiss, John (Jiangtang) > HU, Andre Wielki, Kjetil Halvorsen, Dario Solari, Joris Meys, Keo > Ormsby, Karl Rexer, and Gregory Piatetsky-Shapiro. > > If anyone can think of other angles, please let me know. > > Cheers, > Bob &

Re: [R] Different standard errors from R and other software

2010-06-26 Thread Joris Meys
[[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-25 Thread Joris Meys
; rid >>of. >> >>Thanks for getting me back on a topic that I had given up on! >> >>Bob >> >>>-Original Message- >>>From: r-help-boun...@r-project.org >>[mailto:r-help-boun...@r-project.org] >>>On Behalf Of Joris Meys >>

Re: [R] All a column to a data frame with a specific condition

2010-06-25 Thread Joris Meys
_____ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >

Re: [R] Average 2 Columns when possible, or return available value

2010-06-25 Thread Joris Meys
n-available-value-tp2269049p2269049.html > Sent from the R help mailing list archive at Nabble.com. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://ww

Re: [R] Euclidean Distance Matrix Analysis (EDMA) in R?

2010-06-25 Thread Joris Meys
h/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/

Re: [R] Wilcoxon signed rank test and its requirements

2010-06-25 Thread Joris Meys
in the case of equal and unequal sample sizes For these reasons, I would personally use the t-test for comparing two samples from the described population. Your mileage may vary. Cheers Joris > > On 06/25/2010 04:29 AM, Joris Meys wrote: >> As a remark on your histogram : use less bre

Re: [R] i want create script

2010-06-25 Thread Joris Meys
e posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control te

Re: [R] Optimizing given two vectors of data

2010-06-25 Thread Joris Meys
p mailing list archive at Nabble.com. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, mini

Re: [R] Euclidean Distance Matrix Analysis (EDMA) in R?

2010-06-25 Thread Joris Meys
> R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultan

Re: [R] Wilcoxon signed rank test and its requirements

2010-06-25 Thread Joris Meys
id asked: why on earth do you want to test that? cheers Joris -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control tel : +32 9 264 59 87 joris.m...@ugent.be --- Di

Re: [R] Simple qqplot question

2010-06-25 Thread Joris Meys
m getting perfect S-shaped curves (??) for both distributions. Am I > something missing here? > > | > |                               *  *   *  * > |                           * > |                        * > |                    * > |               * > |            * > |         * >

Re: [R] write a loop for tallies

2010-06-24 Thread Joris Meys
", u <- r+1, > ifelse(n[i] == "7000", v <- r+1, NA))))) > } > cat("r = ", r, "\n") > cat("s = ", s, "\n") > cat("t = ", t, "\n") > cat("u = ", u, "\n") > cat("v = ", v, &qu

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-24 Thread Joris Meys
dangit, tab in the way... On Fri, Jun 25, 2010 at 1:56 AM, Joris Meys wrote: > Nice idea, but quite sensitive to search terms, if you compare your > result on "... code" with "... code for": > http://www.google.com/insights/search/#q=r%20code%20for%2Csas%20code%20f

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-24 Thread Joris Meys
arning needs - Example1), other can > be biased by the tarditional use of that software (in SPSS usually you > don't manipulate graph, i think) > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help >

Re: [R] Install package automatically if not there?

2010-06-24 Thread Joris Meys
> >>>>> is it possible for a script to check if a library has been installed? >>>>> I want to automatically install it if it is missing to avoid scripts >>>>> to crash when running on a new machine... >>>>> >>>>> Ralf >>

Re: [R] Install package automatically if not there?

2010-06-24 Thread Joris Meys
st > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engine

Re: [R] Simple qqplot question

2010-06-24 Thread Joris Meys
problems of being mammals. >> >>                                                                -K. Mullis >> > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the po

Re: [R] help, bifurcation diagram efficiency

2010-06-24 Thread Joris Meys
001) { > > points(alphas[i], Y[j], pch = ".") > >  } > > } > > } > >        [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https

Re: [R] Wilcoxon signed rank test and its requirements

2010-06-24 Thread Joris Meys
On Fri, Jun 25, 2010 at 12:17 AM, David Winsemius wrote: > > On Jun 24, 2010, at 6:09 PM, Joris Meys wrote: > >> I do agree that one should not trust solely on sources like wikipedia >> and graphpad, although they contain a lot of valuable information. >> >> This

Re: [R] Wilcoxon signed rank test and its requirements

2010-06-24 Thread Joris Meys
quotation is highly > inaccurate. > > -- > David. > >> -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control tel : +32 9 264 59 87 joris.m...@ugent.be

Re: [R] PD: ?to calculate sth for groups defined between points in one variable (string), / value separating/ spliting variable into groups by i.e. between start, NA, NA, stop1, start2, NA, stop2

2010-06-24 Thread Joris Meys
[i,1:2])) out 2010/6/24 Eugeniusz Kałuża : > Dear useRs, > > Thanks for advice from Joris Meys, > Now will try to think how to make it working for less specyfic case, > to make the problem more general. > Then the result should be displayed for every group between non empty s

Re: [R] How to say "if error"

2010-06-24 Thread Joris Meys
-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statist

Re: [R] Averaging half hourly data to hourly

2010-06-24 Thread Joris Meys
istinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics

Re: [R] "If-error-resume-next"

2010-06-24 Thread Joris Meys
posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and proces

Re: [R] How to say "if error"

2010-06-24 Thread Joris Meys
rg mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience

Re: [R] Question on WLS (gls vs lm)

2010-06-24 Thread Joris Meys
ty, P.O. Box 616         Room B2.01 (second floor) > 6200 MD Maastricht, The Netherlands         Debyeplein 1 (Randwyck) > > > Original Message > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Stats Wolf Sent: > Thursday, June 24, 2010 1

Re: [R] ?to calculate sth for groups defined between points in one variable (string), / value separating/ spliting variable into groups by i.e. between start, NA, NA, stop1, start2, NA, stop2

2010-06-24 Thread Joris Meys
na.rm=T) > #max: >         c1     c3    c4           c5 >        50  Start1 Stop1 Start1-Stop1 >        60  Start2 Stop2 Start2-Stop2 > > # place of max  (in Start1-Stop1: 4 th element in gruop Start1-Stop1 > # place of max  (in Start1-Stop1: 2 nd element in gruop Start1-St

Re: [R] Question on WLS (gls vs lm)

2010-06-24 Thread Joris Meys
ed says: "The method leading to this > result is called Generalized Least Squares estimation (GLS), of which > WLS is just a special case"? > > Best, > Stats Wolf > > > > On Thu, Jun 24, 2010 at 12:49 PM, Joris Meys wrote: >> Isn't that exactly what you wo

Re: [R] Wilcoxon signed rank test and its requirements

2010-06-24 Thread Joris Meys
> "The Wilcoxon signed-rank test is a _non-parametric_ statistical >> > hypothesis test for... " >> > it also talks about the assumptions. >> > >> > > What can we say according these results? >> > > p-value for the "less" is 0.999.

Re: [R] Question on WLS (gls vs lm)

2010-06-24 Thread Joris Meys
; https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering D

Re: [R] count data with a specific range

2010-06-24 Thread Joris Meys
s as (0,10]. > > Is there a way to change it into the format 0-10? > Thanks. > > On Wed, Jun 23, 2010 at 6:12 PM, Joris Meys wrote: >> >> see ?cut >> >> Cheers >> Joris >> >> On Thu, Jun 24, 2010 at 2:57 AM, Yi wrote: >> > I would li

Re: [R] count data with a specific range

2010-06-23 Thread Joris Meys
https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Dep

Re: [R] problem to building R (datasets)

2010-06-23 Thread Joris Meys
uggestions >>> will be appreciated. >>> >>> Thank you. >>> >>> Lee. >>> >> > >        [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > http

Re: [R] Beginning Eigen System question.

2010-06-23 Thread Joris Meys
On Thu, Jun 24, 2010 at 12:41 AM, Joris Meys wrote: > Which other Linear Algebra system, and which function did you use in R? > Cheers > Joris Never mind, off course you used "eigen()"... Eigenvectors are only determined up to a constant. If I'm not mistaken (but check

Re: [R] Beginning Eigen System question.

2010-06-23 Thread Joris Meys
LEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process co

Re: [R] list operation

2010-06-23 Thread Joris Meys
can I get list elements that include a given subset? for example, >> for given subset {'a','c'}, the answer should be 'm' and 'n'. >> >> thanks >> Yu >> >> >> >>       [[alternati

Re: [R] Probabilities from survfit.coxph:

2010-06-23 Thread Joris Meys
ead the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics

Re: [R] Wilcoxon signed rank test and its requirements

2010-06-23 Thread Joris Meys
seem to sum up to one, and that the p-value of greater is half of that for two-sided. You shouldn't ask what we can say. You should ask yourself "What was the question and is this test giving me an answer on that question?" Cheers Joris -- Joris Meys Statistical consultant G

Re: [R] Comparing distributions

2010-06-23 Thread Joris Meys
All I can > say from eye-balling is that they seem to follow each other and it > appears that one distribution is shifted by a amount from the other. > Any ideas? > > Ralf > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEAS

Re: [R] question about a program

2010-06-23 Thread Joris Meys
              {cc_z[i] <- qmvnorm((k*(k-1))/((m-i+k)*(m-i+k-1))*alpha, > tail="upper", sigma=var)$quantile} >               } > crit_cons <- 1-pnorm(cc_z) > > k=0 > while((k k=k+1 > } > return(m-k) > } > #####

Re: [R] (help) This is an R workspace memory processing question

2010-06-23 Thread Joris Meys
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, b

Re: [R] "save scores" from sem

2010-06-23 Thread Joris Meys
Steve > > www.promente.org | skype stevepowell99 | +387 61 215 997 > > > > > On Tue, Jun 22, 2010 at 7:08 PM, Joris Meys wrote: >> PCA and factor analysis is implemented in the core R distribution, no >> extra packages needed. When using princomp, they're

Re: [R] Mahalanobis distance

2010-06-22 Thread Joris Meys
> https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering D

Re: [R] How to 'understand' R functions besides reading R codes

2010-06-22 Thread Joris Meys
posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control t

Re: [R] Verify the linear regression model used in R ( fundamental theory)

2010-06-22 Thread Joris Meys
. > > Thanks > > Yi > >        [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-g

Re: [R] glm

2010-06-22 Thread Joris Meys
.816168 15.805171 1 512 5mg 2.781063 8.123436 1 612 10mg 5.642667 18.221007 1 Watch the standard errors on the predicted values. No, you shouldn't predict outside your data space, especially when using splines. And when interested in 15mg, well

Re: [R] "save scores" from sem

2010-06-22 Thread Joris Meys
h/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied

Re: [R] Duplicate dates in zoo objects

2010-06-22 Thread Joris Meys
ue, 22 Jun 2010, Joris Meys wrote: > >> Try this : >>> >>> x.Date <- as.Date("2003-02-01") + c(1, 3, 7, 7, 14) - 1 >> >>> x <- zoo(1:5, x.Date) >> >>> x >> >> 2003-02-01 2003-02-03 2003-02-07 2003-02-07 2003-02-14 >

Re: [R] Duplicate dates in zoo objects

2010-06-22 Thread Joris Meys
same dates. > > Many thanks in advance, > Costas > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provi

Re: [R] replication time series using permutations of the each "y" values

2010-06-22 Thread Joris Meys
e a hint (suggestion) to make this using a > function in R. > > thank you so much > > best regards > > -- > Josue Polanco > > ______ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help &

Re: [R] How do you install R package?

2010-06-22 Thread Joris Meys
commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control tel : +32 9 264 59 87 joris.m...@ugent.be --- Di

Re: [R] Project

2010-06-22 Thread Joris Meys
___ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Joris Meys Statistical c

Re: [R] {Spam?} RE: {Spam?} RE: {Spam?} Re: mgcv, testing gamm vs lme, which degrees of freedom?

2010-06-22 Thread Joris Meys
ny idea of > which bases could work? > > Finally thansk for the tip regarding gamm4, unfortunately I need to fit a > bivariate smooth so I cannot use it. > > Best wishes, > > Carlo > > > > -- Joris Meys Statistical consultant Ghent University Faculty

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-22 Thread Joris Meys
vast majority of statistics is actually > done in Excel.  Is Excel a statistics program? > I don't think many people think that -- neither > statisticians nor non-statisticians. > > Pat > > > On 21/06/2010 10:32, Joris Meys wrote: >> >> On Mon, Jun 21, 2

Re: [R] {Spam?} Re: mgcv, testing gamm vs lme, which degrees of freedom?

2010-06-22 Thread Joris Meys
ation. This does not mean that the b-coefficients for the random effects cannot be obtained. They are just not part of the minimalization in the likelihood function. Or, as Wood said about random effects : you don't estimate them, although you might want to predict them. Cheers Joris -- Joris

Re: [R] {Spam?} Re: mgcv, testing gamm vs lme, which degrees of freedom?

2010-06-21 Thread Joris Meys
of freedom (df) for the gam, for instance in the example I copied >>>>>>> below >>>>>>> the df for the "gamm" are equal to the ones for the "lme", but the >>>>>>> summary(model.gam) seems to indicate a much high

Re: [R] ctree

2010-06-21 Thread Joris Meys
___ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproduci

Re: [R] Return value associated with a factor

2010-06-21 Thread Joris Meys
ml > Sent from the R help mailing list archive at Nabble.com. > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and p

Re: [R] Replacing elements of a list over a certain threshold

2010-06-21 Thread Joris Meys
l: Free, trusted and rich email service. > >        [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do rea

  1   2   3   4   5   >