Re: [R] a few scatter plots for a specific correlation value

2009-03-05 Thread Chuck Cleland
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 __ R-help@r-project.org

Re: [R] Doubt Linear Regression

2009-03-05 Thread Chuck Cleland
, 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 __ R-help@r-project.org

Re: [R] Chi-Square Test Disagreement

2008-11-26 Thread Chuck Cleland
-squared test in SPSS (16.0.2), I get p=0.04787, so the results do match if you do the same Chi-squared test. thanks --andy -- 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

Re: [R] simple question with table()

2008-11-30 Thread Chuck Cleland
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/mailman

Re: [R] stuck with repeated values

2008-12-03 Thread Chuck Cleland
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 __ R-help@r

Re: [R] Howto Add Labels Next To Markers in Scatter Plot

2008-12-04 Thread Chuck Cleland
-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

Re: [R] Logical inconsistency

2008-12-05 Thread Chuck Cleland
://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) 845

Re: [R] Power calculations where two samples are of unequal size

2008-12-09 Thread Chuck Cleland
, 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 __ R-help@r-project.org

Re: [R] tapply within a data.frame: a simpler alternative?

2008-12-10 Thread Chuck Cleland
@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 23rd Street, 8th

Re: [R] Cochran-Armitage

2008-12-12 Thread Chuck Cleland
-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 23rd Street, 8th

[R] Extract Data from a Webpage

2008-12-16 Thread Chuck Cleland
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_United States.1252

Re: [R] Merging two data frame with different nrows

2008-12-21 Thread Chuck Cleland
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. (www.ndri.org) 71 West 23rd Street, 8th floor

Re: [R] Applying 'lm' in each group

2009-01-10 Thread Chuck Cleland
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 __ R-help@r

Re: [R] Extraction from an output

2009-01-12 Thread Chuck Cleland
://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) 845

Re: [R] anova() or aov()?

2009-01-12 Thread Chuck Cleland
://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

Re: [R] lattice question: independent per-row or per-column scaling?

2009-01-19 Thread Chuck Cleland
, .66,.99), nrow=2)), scales=list(y=list(relation=free))) It's not lattice, but you can do this with ggplot2 - see the examples for http://had.co.nz/ggplot2/facet_grid.html Regards, Hadley -- Chuck Cleland, Ph.D. NDRI, Inc. (www.ndri.org) 71 West 23rd

Re: [R] creating a list of matrices or data frames

2009-01-20 Thread Chuck Cleland
. __ 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

Re: [R] R stepping through multiplie interactions

2009-01-23 Thread Chuck Cleland
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) tel: (732) 512-0171 (M, W, F

Re: [R] post hoc test after lme

2009-08-14 Thread Chuck Cleland
(Orthodont) fm2 - lme(distance ~ AGECAT + Sex, random = ~ 1 | Subject) summary(glht(fm2, linfct=mcp(AGECAT = Tukey))) Error in as.vector(x, mode) : invalid 'mode' argument -- Chuck Cleland, Ph.D. NDRI, Inc. (www.ndri.org) 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu

Re: [R] vector replacement 1/0 to P/A

2009-08-18 Thread Chuck Cleland
A __ 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 23rd

Re: [R] Lattice xyplot: modify line width of plot lines

2009-08-24 Thread Chuck Cleland
, 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

Re: [R] how to merge the fitted values from a linear model?

2009-09-01 Thread Chuck Cleland
-1.18675102 0 -0.8160565 12 0.38076816 NA NA 13 -1.31518961 0 -0.8160565 14 -1.07973072 1 -0.3521876 15 0.00431749 3 0.5755502 16 0.49820163 3 0.5755502 17 -0.21377954 1 -0.3521876 18 -1.03107537 2 0.1116813 19 -1.23459162 0 -0.8160565 20 -0.05666561 0 -0.8160565 -- Chuck Cleland

Re: [R] cycles in a graphical model

2009-09-16 Thread Chuck Cleland
-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

Re: [R] xyplot lmline: error message.

2009-09-28 Thread Chuck Cleland
){ panel.grid(h=-1, v=-1) panel.xyplot(x,y,cex=1.0) panel.lmline(x,y) }) http://www.nabble.com/file/p25641684/rwpk.csv rwpk.csv -- 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

Re: [R] Remove single entries

2009-09-28 Thread Chuck Cleland
/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) 845-4495 (Tu, Th) tel: (732

Re: [R] setting the steps for x axis labels on plot

2010-03-01 Thread Chuck Cleland
. __ 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

Re: [R] sem package and growth curves

2010-03-03 Thread Chuck Cleland
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-0171 (M, W, F) fax: (917) 438

Re: [R] sem package and growth curves

2010-03-03 Thread Chuck Cleland
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Chuck Cleland Sent: March-03-10 9:03 AM To: Daniel Nordlund Cc: 'r-help' Subject: Re: [R] sem package and growth curves On 3/2/2010 1:43 AM, Daniel Nordlund wrote: I have

Re: [R] TukeyHSD model thing

2010-03-06 Thread Chuck Cleland
-- 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/mailman/listinfo

Re: [R] Randomly sampling subsets of dataframe variable

2010-03-12 Thread Chuck Cleland
-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

Re: [R] Stacking matrices

2010-03-15 Thread Chuck Cleland
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 __ R-help

Re: [R] Finding common an unique elements in character vectors

2010-03-29 Thread Chuck Cleland
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 __ R-help@r

<    1   2   3