RUE FALSE TRUE FALSE
ddTable[!duplicated(ddTable$Id),]
Id name
1 1 Paul
3 2 Bob
?duplicated
__
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
ect.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.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York
nfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (T
__
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.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23r
ntained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894
__
R-help@r-project.org mailing list
https://sta
ng 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.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel:
lp
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-
__
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.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org
00287
89.881 -89.75 89.88 0.8961858
89.882 0.00 89.88 0.1663938
89.883 89.75 89.88 0.9004246
179.751-89.75179.75 0.1340782
179.752 0.00179.75 0.1316141
179.753 89.75179.75 0.1052875
Many thanks,
Steve
______
R-help@r-project.or
t;Selenium",
"Silicon", "Sodium", "Sulfate", "TDS", "TIC", "TKN", "TOC", "TSS",
"TVSS", "Zinc"), row.names = 54:80, class = "data.frame")
library(prettyR)
library(moments)
Q25 <- fun
stinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (73
On 7/14/2008 11:03 AM, Erin Hodgess wrote:
Hi R People:
Could someone point out a reference for creating macros in R, please?
Thanks,
Erin
See Programmer’s Niche: Macros in R by Thomas Lumley:
http://www.r-project.org/doc/Rnews/Rnews_2001-3.pdf
--
Chuck Cleland, Ph.D.
NDRI, Inc
at.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.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th flo
On 7/15/2008 12:52 PM, stephen sefick wrote:
Does anyone know if there is a sunrise sunset calculator for R?
RSiteSearch("sunrise", restrict="function")
points to several related functions in the maptools package.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 W
__
> 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.
--
C
t.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894
an/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.c
me that there are not enough observations in x.
> Could anyone help me? That would be really great. Thank you,
> Lila
prop.test(x=c(40,100), n=c(200,300))
OR
prop.test(matrix(c(40,100,160,200), ncol=2))
?prop.test
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 We
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0
.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.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th flo
o/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732)
_
> 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.
--
Chuck C
cbinding the rownames to the data.frames.
> Mark
The details section of the help page for merge suggests you can use
either merge(..., by=0) or merge(..., by="row.names").
?merge
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
te
> 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.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 100
ix(iris[, 1:3]) ~ iris$Species)
Coefficients:
Sepal.Length Sepal.Width Petal.Length
(Intercept) 5.006 3.4281.462
iris$Speciesversicolor 0.930-0.6582.798
iris$Speciesvirginica1.582-0.454 4.090
> Thank you
> Kostas
--
Chuck Cl
mns have zero mean. any one
> know how to do that . Thanks
mymat <- matrix(runif(10*4), ncol=4)
colMeans(mymat)
[1] 0.4711083 0.4825977 0.4757448 0.3037873
newmat <- apply(mymat, 2, scale, scale=FALSE, center=TRUE)
colMeans(newmat)
[1] 1.110223e-17 -2.220446e-17 -1.110223e-17 1.11
> Thanks a lot in advance
>
> Thiemo
>
> __________
> 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
/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.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New Yor
__
>
>
> [[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
On 4/14/2008 6:35 AM, Chuck Cleland wrote:
> On 4/14/2008 6:21 AM, Louisa Hay wrote:
>>
>> Hi,
>> I am trying to create a power curve to show how the power of a t-test varies
>> depending on the mean. Any ideas how I should go about this?
>> Louisa
gt; [[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, minima
. How can I set it definitively to "C:/R/DATA" without having to redo
> it every session? Thanks
?Startup
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894
t; the above. The matrices are large, so I need a fast method.
>
> Thanks very much for any help.
>
> Bill Simpson
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the po
t[1]' I get 'F T F F', so it works for one item
> in the char vector flist.
> But, when I do 'data$label==flist' I get 'F F F F' while I expected 'F T F
> T'. It seems that I can't perform this action with a vector of charstrings?
>
>
self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894
__
R-help@r-project.org mai
Or this:
{if (mxx > mxy)
mxy <- mxx
else
mxx <- mxy}
__
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.
--
Chuck
ORE) : NaNs produced
You might divide the values by 100 prior to asin().
I'm at a loss here and I would greatly appreciate any guidance that could be
given me. Thank you!
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-449
nimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894
__
R-help@r-project.org mailing li
ternative 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, minimal, self-contained, reproducible code.
--
-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894
_
ble code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mail
e
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894
_
t;,"ab","bb","cat","cat","ab")
as.numeric(as.factor(X))
[1] 1 1 2 3 3 1
Thx,
Naira
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
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.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212)
sity
> Email: [EMAIL PROTECTED]
> tel: 410-516-8103
> __
> 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
>
__
> 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.
--
Chuck
rom the stats
package.
?smooth
--
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894
__
R-help@r-project.org mailing list
https://stat.ethz.
R
with(d, split(as.character(word), kind))
?split
> Cheers,
> Alexy
>
> __________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-
Alexy Khrabrov wrote:
> On Nov 24, 2007, at 2:07 PM, Chuck Cleland wrote:
>
>> with(d, split(word, kind))
>>
>> # OR
>>
>> with(d, split(as.character(word), kind))
>
> Awesome! Scoping: how do I get the result back to the top level?
>
> &
z.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.
--
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel:
n(rep(as.numeric(binname), freq))])
[1] "cat5"
> Thanks a lot
> Martin
>
> __
> 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, m
You might put the "result" and
remainder together in a function like this:
myfunc <- function(x,y){list(result = floor(x / y), remainder = x %% y)}
myfunc(x=50, y=12)
$result
[1] 4
$remainder
[1] 2
--
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
(as.numeric(binname), freq))])
[1] 1
To do essentially the same thing with a vector:
myvec <- c(1,10,100,1000,1)
myvec[median(rep(1:length(myvec), myvec))]
[1] 1
I'm sure I cannot explain levels() and rep() any better than the help
pages for those functions.
> Chuck Cl
ot;perc","bca"))
>>> But the output shows the next error:
>>>
>>> Error en if (ncol(boot.out$t) < max(index)) { :
>>>argumento tiene longitud cero
>>>
>>> I don't know what is wrong.
>>>
>>> I ho
trap replicate of statistic.
So you want something like this:
hist(x.boot$t)
> _Fede_
>
> Chuck Cleland wrote:
>> _Fede_ wrote:
>>> Hi again.
>>>
>>> Watching this example that appears in the help page
>>>
>>> ratio <- function(d
e 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, minimal, self-contained, r
> class(Ethnic_G.Recode)[1] "logical"> print(Ethnic_G.Recode) [1] NA NA NA NA
>> NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA>
>> #########
>
>
tinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0
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.
--
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-
B
1 0.3887178 0.2256608
2 0.2642189 0.2135938
3 0.3881635 0.2328115
4 0.9060760 0.1013091
5 0.4578424 0.8167602
I want the variable Y to be added to each data frame in mylist.
thanks,
Chuck
--
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 84
it
> could for instance be the string "eta". I have tried various ways of
> using agrep and grep, but so far I have not found anything that
> worked.
>
> Thankyou in advance for your help!
a <- c("Alpha", "Beta", "Gamma", "Beeta"
__
> 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.
--
Chuck Cleland,
[[alternative HTML version deleted]]
>
>
>
>
>
> ______
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do rea
CH-8008 Zurich
> Switzerland
> Mail: [EMAIL PROTECTED]
> Office: +41 44 384 26 66
> Mobile: +41 76 563 31 54
>
>
>
>
>
> [[alternative HTML version deleted]]
>
> _
t.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894
__
er attached packages:
> [1] MiscPsycho_1.2 lattice_0.17-13 statmod_1.3.6
>
> loaded via a namespace (and not attached):
> [1] grid_2.7.2
>
> __________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
>
RUE)
> is.na(Res) <- rowSums(is.na(testDat)) == ncol(testDat)
>
> HTH,
>
> Marc Schwartz
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://ww
; Stefan Fritsch
>
> __
> 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, rep
t; Viktor
>
> [[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
>
_
> 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.
--
Chuck Clel
regards,
> Lijiang
>
> --
>
> [[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-proje
> 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
odel. I
> would like to do this as well.
> Data:
> 1 0.9847
> 1 0,7653
> ...
> 0 0,2456
> 0 0,0457
> ...
>
> THanks a lot
RSiteSearch("Nagelkerke", restrict="function")
suggests lrm() in the Design package by Frank Harrell.
--
Chuck Clelan
n2 = 1971
sig.level = 0.05
power = 0.8017491
alternative = two.sided
NOTE: different sample sizes
> Thanks
>
> Dan
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel:
ight have something useful for this task. I can load the XML package
and supply the url as an argument to htmlTreeParse(), but I don't know
how to go from there.
thanks,
Chuck Cleland
> sessionInfo()
R version 2.8.0 Patched (2008-12-04 r47066)
i386-pc-mingw32
locale:
LC_COLLATE=English_U
r of rows.
As the Posting Guide asks, you can use RSiteSearch() or help.search()
before posting to search for functionality. For example:
RSiteSearch('merge', restrict='function')
The third hit points to merge(), which does what you want.
--
Chuck Cleland, Ph.D.
NDRI, Inc.
__
> 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.
--
Chuck
on on the help page for independence_test().
> Robert
>
> __
> 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
stinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
t
(matrix(c(.01,.32,
.01,.32,
.33,.65,
.33,.65,
.66,.99,
.66,.99), nrow=2)),
scales=list(y=list(relation="free")))
> It's not lat
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894
liminating the non-significant terms I understand step() does this
> but how would I do it by hand?
For the first part, try this:
lm(Z ~ (A + B + C + D)^3, data = mydata)
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
t
mas
Have a look at the following document by John Fox:
http://cran.r-project.org/doc/contrib/Fox-Companion/appendix-bootstrapping.pdf
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the post
> University of Cambridge.
> UK
>
> __
> 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,
S.E. Lower Upper t Pr(>|t|)
a -4.4308653 0.2731223 -4.9733098 -3.8884207 -16.22 0.
b -4.0635198 0.2782704 -4.6161888 -3.5108507 -14.60 0.
c -0.2998638 0.2772684 -0.8505427 0.2508151 -1.08 0.2823
Error d.f.= 92
> Cheers,
> Dylan
>
> _
pecies, data = iris), linfct =
mcp(Species = "Tukey")))
> Thanks in advance,
> Saeed
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (
e and
> recommend me some learning material?
Chapter 10 of "An Introduction to R" would be a good place to start.
http://cran.r-project.org/doc/manuals/R-intro.html
> Many Thanks
>
> Ted
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
t.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894
__
g guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438
do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-44
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0
MER:\ Sample Disclaimer added in a VBScript.\ \...{{dropped:6}}
>
> __
> 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-con
ct.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.
--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floo
<- data.frame(GRP = rep(LETTERS[1:4], each=25), Y = rchisq(100, 2))
mybp <- boxplot(Y ~ GRP, data=df)
which(df$Y %in% mybp$out)
[1] 8 12 47 66 88 93
mybp$out
[1] 5.919915 9.135578 5.723714 8.758584 8.502147 4.920513
df$Y[which(df$Y %in% mybp$out)]
[1] 5.919915 9.135578 5.723714 8.758584 8.502
help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-
at.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.
--
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel
ulations and is therefore arbitrary. If
> anyone knew a better way to get at the effect sizes I'm looking for or
> how I could also get confidence intervals for them, that would be
> greatly appreciated.
>
> Thanks,
>
> Christoph
>
>
quot;B" "B" "B" "B" "A" "B" "A"
[12] "A" "B" "A" "A" "A" "B" "B" "B" "A" "A" "B"
[23] "A" "B"
>
_
> 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.
--
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Stre
to do this with explicit looping, using
> rbind(), but it seems like reshape() is a natural tool. But I'm not
> getting it, so I'd appreciate some help.
>
> (in case anyone is wondering whether it makes sense to do this,
> height, weight, and age are just exam
101 - 200 of 250 matches
Mail list logo