dim(Mental)
[1] 24 3
for all datasets in Item, giving a display like
Item class dim Title
Abortion table 2x2x2 Abortion Opinion Data
Mentaldata.frame 24x2Mental impariment and parents SES
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor
[,j]=v[,j]-u
}
Thanks,
Andrew
[[alternative HTML version deleted]]
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele StreetWeb: http://www.datavis.ca
This is a tableplot, available on R-Forge at
https://r-forge.r-project.org/projects/tableplot/
install.packages(tableplot, repos=http://R-Forge.R-project.org;)
will install, as long as you are using R 2.12.x; otherwise, you'll
have to download the source package and install from source.
Hi Stephan
Since early in November you have posted queries on R-help on 5 different
topics as you are trying to learn to use R. This is a good
thing, and many contributors to R-help have replied, taking pains
to provide explanations and examples to be helpful. But, in return,
it doesn't
You would get more helpful replies if you indicated which among
MONTHS, CEXPOSE.M and bf.m were factors vs. covariates, and
for which factor or factors you wanted to test the simple slopes.
You will find that linearHypothesis in the car package can test these
things, and the effects package can
in the null model.
Fit the model with loglm() or glm(), and use vcd::mosaic() to visualize
the outliers.
HTH
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele StreetWeb: http
‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele StreetWeb: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
As others have noted, you can use predict() to get the fitted values
and then plot them 'manually' using basic plotting functions in R.
However, you will probably find it easier to use the effects package,
which is designed for exactly this task. e.g.,
install.packages(effects) # if necessary
(2,3,2))
dimnames(x3)=list(R=letters[1:2], C=LETTERS[1:3], L=tail(letters,2))
# wanted for this case:
as.vector(outer(vecnames(x2), dimnames(x3)[[3]], paste, sep=':'))
[1] a:A:y b:A:y a:B:y b:B:y a:C:y b:C:y a:A:z b:A:z
a:B:z b:B:z a:C:z b:C:z
--
Michael Friendly Email: friendly AT yorku DOT
= :)
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele StreetWeb: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
__
R-help@r
http://adorio-research.org/wordpress/?p=262
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele StreetWeb: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
Bingo-- that's it exactly. Thanks!
On 11/29/2010 3:46 PM, Peter Ehlers wrote:
On 2010-11-29 12:29, Michael Friendly wrote:
I'm looking for an R equivalent of Beaton's (1964) Sweep algorithim for
partial inversion of a
matrix by pivoting.
...
Check swp() in pkg:ggm.
Peter Ehlers
figure out
where this might have come from.
Has anyone seen this before? Where might an S4 version of as.array be
found?
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele StreetWeb
simplify this?
Re-use of code chunks doesn't seem
to apply here.
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele StreetWeb: http://www.datavis.ca
Toronto, ONT M3J
, seg4)
if (!right)
bra - bra %*% diag(c(-1, 1))
bra - scale * bra %*% rot(-alpha)
bra - bra %*% diag(c(1/ux, 1/uy))
bra - t(t(bra) + c(x1, y1))
bra
}
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115
a look at that over the weekend.
-Peter Ehlers
On 2010-07-19 9:20, Michael Friendly wrote:
I inherited a function written either for an older version of R or SPlus
to draw a brace, {, in a graph. It uses par(uin) to determine the
scaling of the
quarter circles that make up segments of the brace
in advance.
Best,
John
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele StreetWeb: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
into a environment
.my.env - new.env()
sys.source('c:/perf/bin/perfmon.r', envir=.my.env) attach(.my.env)
Is there a way to do this directly in .Rprofile without sourcing from a
separate file? I've looked at
sys.source, but don't understand how it works.
--
Michael Friendly Email: friendly
://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.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736
to select canonical dimension in plot(candisc(), which=)
Version 0.5-18 (2010-7-27)
o Fixed predictor.names problem with car_2.0-0
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street
or indicate what non-ASCII
characters were found,
so the only way I can easily find the offending characters is to copy
the .Rd file to a linux machine
and run
od -c file.Rd |more
What commands can I run in R against a .Rd file to locate such non-ASCII
characters
--
Michael Friendly Email
and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
[[alternative HTML version deleted]]
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416
for this case that I've missed, or does
anyone have an interest in pursuing this topic?
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele StreetWeb: http://www.datavis.ca
://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.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115
, Michael Friendly wrote:
Just a follow-up on this thread, now with R 2.11.1. I was happy back then
to use Deepayan's solution for this, under earlier R versions; but it now
gives an error and the Sweave-generated .tex file no longer compiles.
ortho-xyplot1-code, keep.source=TRUE, eval=FALSE
na5.383479 2.096793 0.1940462
ss -0.345764 0.448199 -0.0725977
Warning message:
In 1:n : numerical expression has 32 elements: only the first used
So, how can I calculate leave-one-out coefficients (and other
quantities) efficiently
for mlm-s?
-Michael
--
Michael
-1.4351 0.4700
OR(HE2 - HairEyeColor[,,2])
Brown:Blue Blue:Hazel Hazel:Green
Black:Brown 0.7230 0.4287 0.1881
Brown:Red -0.1634 0.1591 0.7282
Red:Blond 3.5993-2.5494 0.4700
--
Michael Friendly Email: friendly AT yorku DOT ca
Replaced 408518185 118
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele StreetWeb: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
16
Male 3253 10
, , Eye = Blue
Hair
Sex Black Brown Red
Female 934 7
Male 1150 10
, , Eye = Hazel
Hair
Sex Black Brown Red
Female 529 7
Male 1025 7
--
Michael Friendly Email: friendly AT yorku DOT ca
and function objects, (b)
object-oriented methods (S3 S4); (c) function mapping over data with
*apply methods and plyr.
What other language features of R should be on this list? I would
welcome suggestions (and brief illustrative examples).
-Michael
--
Michael Friendly Email: friendly
to other aspects (plots, tables, etc.) is another
important R feature of
the type I'm considering. I would put this in the top 5!
-Michael
--
Michael Friendly Email: frien...@yorku.ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele
On 10/6/2010 6:07 PM, Ali S wrote:
Hi,
I am interested in running multivariate contrasts from manova. Here is the code
I have currently for a one-way Manova. I would like to run multivariate
contrasts for the Year factor.
Thanks!
#Reduced model
t14m1-manova(as.matrix(t14c[,4:10])~t14c$Year)
*. This is equivalent to
gnm( lambda ~ -1 + Subject Row + Col, family=poisson)
except that Subject parameters aren't estimated explicitly. See
vignette(gnmOverview)
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax
6 120
[7,] 7 618
[8,] 5 7 1
...
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca
Gabor Grothendieck wrote:
Try this (possibly after scaling the rows or columns to 1):
library(gplots)
with(as.data.frame.table(as.matrix(jevons[-1])), balloonplot(Var1, Var2, Freq))
Thanks, Gabor --
That's not bad as a first cut; I can work with that.
--
Michael Friendly Email
.RData
/ .rda file for them
to be found by R CMD check. Is this correct, or is there some way to
include them all
in a Minard.RData, via
save(Minard.troops, Minard.cities, Minard.temp, file=Minard.RData)
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology
?
* Is there someway I can 'hide' my custom functions like cd(),
short.path() so they don't appear in the global
environment but are available in my R session?
thanks
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736
, latI,
longI, latJ, longJ, latK, longK, latL, longL), row.names =
c(NA,
6L), class = data.frame)
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS
= direction, group = group))
Error in rename_aes(aes) : could not find function rename
Calls: ggplot - ggplot.data.frame - inherits - aes - rename_aes
Execution halted
--- end 00check.log ---
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University
the choices
of eps/pdf = {TRUE/FALSE}.
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3 CANADA
State University
3211 Snedecor Hall, Ames, IA
On Fri, Nov 13, 2009 at 10:02 AM, Michael Friendly frien...@yorku.ca wrote:
In a package I'm working on there is a vignette with a number of graphs that
result in huge .pdf files, so
the .pdf for the vignette is around 17 Mb. If these graphs
= factor(dt1), y=Deaths, fill = Cause)) +
geom_bar(width = 1, position=identity, color=black) +
scale_y_sqrt()
cxc1 + coord_polar(start=3*pi/2) + opts(title=Causes of Mortality in
the Army in the East) + xlab()
-Michael
--
Michael Friendly Email: frien...@yorku.ca
Professor, Psychology
Achim Zeileis wrote:
On Fri, 13 Nov 2009, Michael Friendly wrote:
Alternatively, is there a way to generate .png graphs from the .Rnw
file so that those are used in building
the .pdf for the package? AFAICS, \SweaveOpts{} offers only the
choices of eps/pdf = {TRUE/FALSE}.
Yes, but you can
in formula
I still don't understand how to manipulate formulas in functions. Can
someone help?
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS
mod0 - update(mod, .~1)
models - c(list(mod0), models)
names(models) - paste(mod, 0:order, sep = .)
class(models) - glmlist
models
}
mods - Kway(Freq ~ A + B + C, data=df, family=poisson)
Best wishes,
Heather
Michael Friendly wrote:
For the vcdExtra package, I'm exploring
by the functions glmlist(), loglmlist()
summarize() methods, Kway() for fitting all k-way glm() models, etc.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp
for
rgl. Any plans for this?
One note: With Adobe Acrobat Pro 9.3.1, the U3D and PRC images display
on screen, but do not print (replaced by the filename). Is this your
experience too?
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York
this for
rgl exists that I haven't found.
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3 CANADA
Duncan Murdoch wrote:
On 04/05/2010 4:19 PM, David Winsemius wrote:
On May 4, 2010, at 4:09 PM, Michael Friendly wrote:
For use with rgl, I'm looking for a function to draw a plane in an
rgl scene that would function
sort of like abline(a, b) does in base graphics, where abline(0, 1
Hi Yves
lavaan looks like a very nice package. From the tutorial introduction
I see you create path diagrams for some of the models you describe.
How did you do this? I don't see a function for this in the package.
I know there is a path.diagram function in the sem package that uses
dot to
graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] extracat_1.0-1 MASS_7.3-6 reshape_0.8.3 plyr_0.1.9
loaded via a namespace (and not attached):
[1] tools_2.10.1
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept
the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele
.bib file
writeLines(do.call(c, lapply(b, as.character)), Rpackages.bib)
hth,
Z
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
(,coefs)$norm2
[1] 1.000 3.000 2.000 0.667
attr(,class)
[1] poly matrix
I've read the code for poly(), but $alpha and $norm2 are undocumented,
and I still still can't see the inverse
transformation
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor
}
\usepackage{bm}
Does this ring a bell for anyone?
thanks,
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3
Prof Brian Ripley wrote:
On Tue, 22 Dec 2009, Michael Friendly wrote:
[Environment: Win Xp, Miktex 2.7, R 2.9.2]
If you want to set R output in a TeX font that (as most are) is very
limited in its coverage, try options(useFancyQuotes = FALSE).
Perfect, and all I need! Thanks so much
the change in help is a step back.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3 CANADA
- options(device.ask.default = TRUE)
on.exit(options(op), add = TRUE)
}
...
So, how can I restore the previous state of plotting w/out prompting?
--
Michael Friendly Email: frien...@yorku.ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736
[Environment: Win XP, R 2.10.1]
In my Rprofile I have startup code to do various things, intended for
when I use the Rgui console.
Some of these are causing problems in JGR now that I've installed it.
How can I test for R
running with Rgui to do some of these things only there?
--
Michael
Duncan Murdoch wrote:
Michael Friendly wrote:
[Environment: Win XP, R 2.10.1]
In my Rprofile I have startup code to do various things, intended for
when I use the Rgui console.
Some of these are causing problems in JGR now that I've installed
it. How can I test for R
running with Rgui
[[alternative HTML version deleted]]
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele StreetWeb: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
-of-insects.blogspot.com
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street Web: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
- lme(distance ~ age * Sex, data=Orthodont,
random = ~ 1 + age | Subject,
correlation = corAR1 (form = ~ 1 | Subject))
TIA,
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
= grid) :
Cannot evaluate groups for desired levels on newdata
Deepayan Sarkar wrote:
On Tue, Jun 22, 2010 at 9:30 AM, Michael Friendly frien...@yorku.ca wrote:
Consider the following plot that shows separate regression lines ~ age for
each subject in the Pothoff-Roy Orthodont data
))
panel.lmline(x, y, ..., lwd = 3, col = 'red')
})
Perfectly. Thanks to you and to Deepayan for the help on this.
HTH,
Dennis
On Wed, Jun 23, 2010 at 11:05 AM, Michael Friendly frien...@yorku.ca
mailto:frien...@yorku.ca wrote:
Thanks, Deepayan
I read your
,
level=0))
xyplot(distance ~ age, data=fm.mix1, groups=Sex, type=b, pch=c(15,16),
cex=1.2,
auto.key=list(text=c(Male, Female), points = TRUE, x=8, y=26),
main=Linear mixed model: predicted growth)
Can someone help?
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Michael Kubovy wrote:
Suppose we start with
data(Titanic)
mosaic(Titanic, shade = TRUE)
How do I combine the dashed box contours of shading_Friendly to indicate negative
residuals, with three levels of gray: dark for abs(Pearson Resid) 4, lighter for 4
abs(Pearson Resid) 2, and lightest
in the example.
@Achim:
It would be worthwhile combining the generality of your version with the
overlay capability of the arm version, which is extremely useful for
model comparison. However, the arm version uses S4 methods.
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Within-group standard error:
lowerest. upper
1.07081 1.31004 1.60272
Peter Ehlers wrote:
On 2010-07-02 9:37, Michael Friendly wrote:
I have two questions related to plotting predicted values for a linear
mixed model using xyplot:
1: With a groups= argument, I can't seem to get the key
Try scatterplot() in the car package. It draws boxplots for X Y in
the margins, auto scaled to the axes
fsch wrote:
Hello-
I'm new to R, coding and stats. (Oh no.)
Anyway, I have about 12000 data points in a data.frame (dealing with
dimensions and geological stage information for fossil
of 4
..$ shape: num 2
..$ cell.fill: chr green
..$ back.fill: chr white
..$ scale.max: num 3
How can I do this in general?
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street
)
lapply(split(x - as.data.frame(testlist), 1:nrow(x)), as.list)
On Fri, Jan 15, 2010 at 11:09 AM, Michael Friendly frien...@yorku.ca wrote:
I have a list of vectors, all forced to be the same length:
testlist - list(
shape=c(0, 0, 2),
cell.fill=c(red,blue,green),
back.fill=rep(white,3
Barret Schloerke wrote:
GGally: a companion to GGplot2.
Where is it available? I don't find it on CRAN or R-Forge
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp
() indices are returned
by the function.
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3 CANADA
Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstraße 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
[[alternative HTML version deleted]]
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice
,
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3 CANADA
__
R-help@r
\TeachingDemos\html contains
only 00Index.html.
All the links therein are to .html files in the same directory, so of course
are wrong.
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele
[Env: WinXp, R 2.9.2]
In my .Rprofile, I define a number of utility functions I'd like to have
available in my R session, but don't want them
to be *normally* listed by ls(), or more importantly, saved if I save my
session variables/functions.
How can I do this?
--
Michael Friendly Email
] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rgl_0.89 heplots_0.8-11 car_1.2-16
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp
Duncan Murdoch wrote:
On 10/02/2010 9:33 AM, Michael Friendly wrote:
[Env: Tested under Win Xp, R 2.9.2 and R 2.10.1; sessionInfo() at end]
This is probably a bug in rgl, and I can reproduce it. Bugs in
contributed packages are best sent to the maintainer of the package,
because
),
hypotheses=ContourSlope)
should have supplied a named list for hypotheses:
heplot3d(soils.mod, variables=c(Mg, Ca, Na),
hypotheses=list(C1=ContourSlope))
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249
hadley wickham wrote:
On 9/29/07, hadley wickham [EMAIL PROTECTED] wrote:
On 9/29/07, Michael Friendly [EMAIL PROTECTED] wrote:
hadley wickham wrote:
I was interested to see that you have code for drawing scatterplots
with multiple y-axes. As far as I know the only legitimate use
because it's one more
thing to update with each new version.]
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT
__
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.
--
Michael Friendly
, indeed. Stigler himself attributes the idea to Robert Merton,
and cites his title, 'Stigler's Law of Eponomy' as a perfect example.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele
/Langren/Verdadera-spanish-stripped.doc;
langren.txt - scan(langren.sp.file, encoding=latin1)
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines,
na.strings, :
scan() expected 'a real', got 'ÐÏࡱá'
Can someone help?
--
Michael Friendly Email: friendly AT yorku DOT ca
want, copy them
to a folder on the server, and
tell them
A. start R, and from the R Console, choose Packages - Install
packages from local zip file(s)...
B. select all, OK, have a coffee.
what is most likely to be fool-proof?
thanks,
-Michael
--
Michael Friendly Email: friendly
come up before, but searching the usual sources
hasn't turned up anything
useful.
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS
Thanks, Gabor
For the record, what I was looking for is accomplished by
source(c:/R/mosaics/strucplot-MF.R)
assignInNamespace(strucplot,strucplot, ns=vcd)
-Michael
Gabor Grothendieck wrote:
Check out:
?assignInNamespace
On Sun, Aug 17, 2008 at 12:42 PM, Michael Friendly [EMAIL PROTECTED
)
#in the old version to get a list of packages you installed. Then in the
#new version,
load(c:/R/installed.rda)
install.packages(installedpkgs)
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
22.821 1045.15 1674.36 3966.08 25072.9
49.1538 17.3128 4.09487 82.256
The complete data is at:
http://www.math.yorku.ca/SCS/viscollin/data/linthall.dat
thanks,
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115
this is a keeper. Can someone help me improve on the following
is.discrete.glm() function.
It works for mod.glm, but isn't very general ;-)
is.discrete.glm - function(model) {
TRUE
}
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416
) %*% PC$loadings
for (j in 1:3) {
mat - rbind(mu, vec[j,])
segments3d(mat, col=red)
}
Can someone help?
thanks,
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street
the original axes, the points labels axes x, y, z
plot3d( ellipse3d(cov, centre=mu, level=0.68, box=FALSE, col=pink,
alpha=0.2, add = TRUE, axes=FALSE))
-Michael
On Wed, Sep 17, 2008 at 8:34 PM, Michael Friendly [EMAIL PROTECTED] wrote:
Hi
I'm trying to make a 3d plot showing a point cloud
, 1:384] 1 195 99 196 51 197 99 195 27 198 ...
$ primitivetype: chr quad
$ homogeneous : logi TRUE
$ material : list()
$ normals : num [1:4, 1:386] 0.290 -0.902 -0.320 1.000 0.635 ...
- attr(*, class)= chr qmesh3d
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3 CANADA
__
R-help@r
Murdoch
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3 CANADA
_
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
Toronto, ONT M3J 1P3 CANADA
this helps,
-Michael
John Fox wrote:
Dear Tanya,
If I follow correctly what you're trying to do, you're in effect doing a
one-way MANOVA of 17 response variables on a six-level factor, with only 20
observations. That's not enough data. I'm copying to Michael Friendly in
case he hasn't seen your posting
any attempt at calling the headers in the MANOVA table.
Any thoughts?
Mike
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Streethttp://www.math.yorku.ca/SCS/friendly.html
1 - 100 of 430 matches
Mail list logo