(Rohwer.mod, m=2)
hatvalues(Rohwer.mod, infl=mlm.influence(Rohwer.mod,m=2))
Can someone help me understand what is wrong and how to make the .mlm
method allow m= to be passed
directly to the infl= computation?
thx,
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor
confidence
ellipsoids for a model with projections on the XY and other planes
is handled by the p3d package, only on R-Forge
https://r-forge.r-project.org/projects/p3d/
It is in alpha development, and not completely documented.
HTH
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
(foo2, FUN=tr)
trA trB trC
1 118 65 80
2 62 85 99
3 108 86 98
4 110 23 129
--
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
processing, but I don't see a
transformation in the tm package that
handles this nicely. Is there something I've missed?
-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
inquiries about the Program, please contact Dr.
Bryn Greer-Wootten via sp...@yorku.ca.
--
Michael Friendly Email: frien...@yorku.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
On 1/16/2012 4:20 PM, Ramiro Barrantes wrote:
Hello,
I tried looking for a Sweave-specific list but didn't find one, nor did I find
an answer via google, so will send this question to the general R list. Please
feel free to point me in the right direction.
I am using Sweave and would like
Is there an R implementation anywhere for the generalizations of
leverage, residual and influence
measures to the multivariate regression context, e.g., as described by
Barrett Ling (1992), JASA, 87(417), 184--191
?
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor
On 1/7/2012 5:48 AM, drflxms wrote:
Hi everybody,
as I am dealing with complex confusion matrices, I wonder whether there
might be a way to colour text/tabular data in R. I.e. imagine
highlighting the true positive values or certain classes in a table.
I know how to colour text in graphical
and EBIDTA crossed with 4 time points each, you might want to look
at the vignette HE Plots for Repeated Measures Designs in the heplots
package for theory and examples
vignette(repeated, package=heplots)
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York
The latest AmStatNews caught my eye with a list of student internships,
including 6 positions with Google
requiring 'high proficiency with R' among other things.
www.google.com/intl/en/jobs/students/tech/internships/uscanada
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor
On 12/28/2011 1:17 PM, David Winsemius wrote:
Along those lines, Thompson's R accompaniment to Agresti's text on
Categorical Data Analysis is simply wonderful:
https://home.comcast.net/~lthompson221/SplusDiscrete.PDF
It's not surprising that Agresti recommends it on the book's homepage:
On 12/30/2011 2:33 PM, Duncan Murdoch wrote:
Remember that that list is not exhaustive, since it is an open-ended
format. For example, the rgl package implements a driver that adds an
option delay. (It also uses resolution, but other drivers use that
too.) I imagine odfWeave has its own
AM, Michael Friendly wrote:
I'm trying to make a set of contour plots of bivariate kernel density
estimates, showing three such plots overlaid,
similar to this plot
http://euclid.psych.yorku.ca/SCS/Private/Test/ridge-boot2.pdf
except that I would like to have the contours *filled* (using
: num [1:51, 1:51] 2.08e-04 1.60e-04 5.88e-05 1.08e-05 1.20e-06 ...
Any ideas?
-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
them in a (2400=800x3) x 6
matrix or data.frame
corresponding to stacking the matrices like the above for each bootstrap
sample?
thanks,
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736
, ...) {
arrows(xy[1], xy[2], xy[1]+lenxy[,1], xy[2]+lenxy[,2],
length=length, angle=angle, ...)
}
## How to determine scale so that vectors ~ fill the bounding box???
scale - 14
Arrows(origin, scale*vectors)
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor
(norm.beta), max(log.det), Variance vs. Shrinkage,
cex=1.5, pos=4)
})
# How to find the (x,y) positions for these values of lambda along the
curve of log.det ~ norm.beta ?
lambda.HKB - 0.004275357
lambda.LW - 0.03229531
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor
, however.
I hope this helps,
John
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Michael Friendly
Sent: December-05-11 9:16 AM
To: R-help
Subject: [R] finding interpolated values along an empirical parametric
curve
Given
, .04, .08)
--
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
that drew them with proportional areas.
-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 1P3 CANADA
slashes in path
names. Otherwise,
?normalizePath
may 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 StreetWeb: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
and starting number
imgname - 'test'
imgnum - 1
imgtype - NULL # screen output
img()
plot(1:10, main=paste(imgtype:, imgtype))
img.off()
imgtype - pdf
img()
plot(10:1, main=paste(imgtype:, imgtype))
img.off()
}
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept
, b, pos=4)
})
From the latter, I get:
Warning message:
'newdata' had 3 rows but variable(s) found have 10 rows
--
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
=blue, lwd=2)
})
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 StreetWeb: http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
'),
values = c('green', 'red')) +
opts(legend.position = c(0.14, 0.885),
legend.background = theme_rect(fill = 'white'))
HTH,
Dennis
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736
, 3.625, 7, 3, 9.375,
7.5, -6)), row.names = c(NA, -15L), .Names = c(pair, pot,
cross, self, diff), 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 Street Web: http
, right?
I mean to calculate
mean (sign * abs(diff))
where sign is a vector of length 15 composed of some combination of (-1,
+1).
This is actually what Fisher did. It corresponds to assigning one
member of each pair to cross / self
--
Michael Friendly Email: friendly AT yorku DOT ca
hist(allmeans, breaks=64, xlab=Mean difference, cross-self,
main=Histogram of all mean differences)
abline(v=mean(ZeaMays$diff), col=red, lwd=2)
abline(v=-mean(ZeaMays$diff), col=red, lwd=2, lty=2)
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York
On 10/9/2011 6:18 AM, Prof Brian Ripley wrote:
Sometimes it is better not to document things than try to give precise
details which may get changed *and* there will be useRs who misread (and
maybe even file bug reports on their misreadings). The source is the
ultimate documentation.
I can't
On 9/30/2011 9:08 AM, syrvn wrote:
Hi Duncan,
I use Eclipse and StatET plus TexClipse and Sweave which comes with the
StatET package.
So fore me it is basically one click as well to produce the pdf from the
.Rnw file.
I installed the MacTex live 2011 version on my computer and thought it might
.
-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 1P3 CANADA
__
R-help@r
No   153
8  H H No   266
9  L L Yes    35
10 L H Yes   133
11 LM L Yes    38
12 LM H Yes   303
13 UM L Yes    37
14 UM H Yes   467
15 H L Yes    26
16 H H Yes   800
[[alternative HTML version deleted]]
--
Michael Friendly
[[alternative HTML version deleted]]
[[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
Read TeamsFranchises.csv rows: 120 cols: 4
Read TeamsHalf.csv rows: 52 cols: 10
Read Xref_Stats.csvrows: 2753 cols: 3
ls()
[1] files i inp name
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736
:
On Sep 9, 2011, at 10:39 AM, Michael Friendly wrote:
I have a collection of .csv files in a directory, and want to read
them into R data.frames whose names
are the same as the file names, without the .csv extension
e.g., from
(files - list.files(pattern=*.csv))
[1] Allstar.csv
male2 20 22
female121 21
female230 19
Any help most appreciated.
Drew
--
View this message in context:
http://r.789695.n4.nabble.com/Lmer-plot-help-tp3788613p3788613.html
Sent from the R help mailing list archive at Nabble.com.
--
Michael Friendly Email
, lib.loc, verbose = verbose) :
there is no package called 'foobar'
ddtry
[1] Error in find.package(package, lib.loc, verbose = verbose) : \n
there is no package called 'foobar'\n
attr(,class)
[1] try-error
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept
in find.package(package, lib.loc, verbose = verbose) :
\n there
is no package called 'foobar'\n
attr(,class)
[1] try-error
--
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 documentation
for ols refers to ?lrm for the description.
Third, other ridge estimators (e.g., ElemStatLearn::simple.ridge also
give slightly different results for the same data due to differences in
the way scaling is handled.
hth,
-Michael
--
Michael Friendly Email: friendly AT yorku
-0.002499936
0.020 0.009346751
0.040 0.030743969
0.080 0.054575402
--
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
Patched (2011-07-22 r56481) ...
Package up to date. Not building ...
--
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
...
--
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
[[alternative HTML version deleted
On 7/7/2011 9:14 PM, michael.laviole...@dhhs.state.nh.us wrote:
Are there any packages with functions that can fit quasi-symmetry and
quasi-indepedence models to square contingency tables?
M. Laviolette
Yes.
See the gnm package for convenience functions that work with
glm() and gnm().
See
as whether
there are any influential observations that are driving the estimated
coefficients.
--
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
.
e.g., I tried using convert at in a command prompt window,
convert -delay 1x8 coffee-av3D-1*.png coffee-av3D-1.mov
but it seems that only one frame was used.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax
\dontrun{}.
I take it that the times are relative rather than absolute, and time is
scaled according to duration and
fps when the scene is play3d()'d. Yes? If so, the description for
time= could also be clarified.
best,
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
On 6/7/2011 12:36 PM, Duncan Murdoch wrote:
On 07/06/2011 12:22 PM, Michael Friendly wrote:
On 6/7/2011 10:52 AM, Duncan Murdoch wrote:
Something like this works:
play3d(par3dinterp(times=c(0,5,6,11,12,17),
userMatrix=list(m1,m1,m2,m2,m3,m3),
method=linear
.x
--
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-project.org
Under Windows (and maybe others) you can use file.choose() as a
substitute for an explicit file=
argument in most places.
Is there an analog for what I'll call dir.choose(), so that I can say
setwd(dir.choose())
thx,
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor
[2,] -0.1242431 2.480197 7.496188 3.140649 11.473915
[3,] 3.4688356 -0.415469 5.709368 8.188018 6.832460
[4,] -1.1691558 6.579454 2.153095 10.607982 9.053140
[5,] 0.8722773 5.121265 2.168577 7.392535 6.557844
[6,] 7.2737826 2.583776 9.490320 8.144200 11.243709
--
Michael Friendly
On 04/13/2011 05:06 PM, Ben Bolker wrote:
Thomas Lumleytlumleyat uw.edu writes:
On Thu, Apr 14, 2011 at 5:30 AM,
Michael Friendlyfriendlyat yorku.ca wrote:
I have a diagram to be included in latex, where all my figures are .eps
graphics (so pdflatex is not an option)
You could use
On 4/28/2011 8:43 AM, Singmann wrote:
Dear all,
I (and a colleague) have been working on our first package (for fitting a
certain type of cognitive models:
http://www.psychologie.uni-freiburg.de/Members/singmann/R/mptinr) for quite
a while now and have the feeling, that it is good to go. That
On 4/14/2011 7:22 PM, Dirk Eddelbuettel wrote:
Sorry, but this is the r-help list. The 'R Spam' list is over at /dev/null.
Clearly a fortune candidate!
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax
high resolution to make the real diagram legible.
It might suffice to use hcl() colors to approximate what I've done with
transparency,
but I don't know how to start with a given color (lightblue) and
achieve roughly
similar resuts.
--
Michael Friendly Email: friendly AT yorku DOT ca
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 StreetWeb: http://www.datavis.ca
Toronto, ONT M3J 1P3
points() and lines() after the call.
I can send that to you if you like.
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://www.datavis.ca
Toronto, ONT M3J 1P3
7.3 11.3 12.7 11.2 10.49.9 4.2 . . .
9 Pur15.4 11.5 12.9 11.7 10.89.4 8.4 4.5. .
10 Pur25.0 11.5 10.7 10.2 10.6 10.1 8.1 6.43 .
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York
))
}
result = lapply(as.data.frame(helm.raw),onecol)
Thank you so much for this. Using the onecol function was the main
trick I couldn't see.
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416
is considered the dark-side of
SAS-L. You know of the existence of SAS-L, but you haven't counted
that traffic, AFAICS.
-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
On 3/19/2011 8:32 PM, Sally Luo wrote:
Also, is it possible to draw a historical map of European countries using R?
If you want a map of France ~ 1830, see
http://www.datavis.ca/gallery/guerry/guerrymap.html
__
R-help@r-project.org mailing list
, the best short answer is: No.
This is just the flexibility of R. I've just discovered a new class of
geometries based on
pi - 2.3
?Constants
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
)
search() # displays package names in quotes
detach(packages:Hmisc) # just as search displayed it
FWIW, the style for JSS now enforces (via Achimitization) the use of
quotes as you show above.
-Michael
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York
.541
.447 .432.401 .381.402 .288
.541 .537.534 .35.367 .32 .555
.38 .358.359 .424.446 .325 .598 .452
@
\end{frame}
\end{document}
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University
On 2/11/2011 2:52 AM, Dr. Michael Wolf wrote:
Dear R colleagues,
...
From the point of the costs e. g. I had to learn writing help files in
a TeX-like language. But I'm the typical Word user. My last TeX writings
were done in the 1990s! If I'm changing only a letter in a source file
(r-file
60
[2,] 29 34 39 44 49 54 59 64
Regards,
Martin Maechler, ETH Zurich
--
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
on lor.CM.df$Age would give me either the lower
limits (here: seq(25, 60, by = 5)) or midpoints of these Age intervals
(here: seq(27, 62, by = 5))?
best,
-Michael
On 12/16/2010 9:43 AM, Michael Friendly wrote:
In the vcdExtra package on R-Forge, I have functions and generic methods
for calculating log
graphical
software provides
even today.
best,
-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 1P3 CANADA
I'm looking for an icon to represent an R package. Perhaps something like
http://cdn2.iconfinder.com/data/icons/DarkGlass_Reworked/128x128/apps/package.png
but with the R logo rather than KDE.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University
On 12/29/2010 11:02 AM, David Winsemius wrote:
On Dec 29, 2010, at 10:03 AM, Michael Friendly wrote:
I'm looking for an icon to represent an R package. Perhaps something
like
http://cdn2.iconfinder.com/data/icons/DarkGlass_Reworked/128x128/apps/package.png
but with the R logo rather
file manager application.
Regards,
Marc Schwartz
--
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
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
web: socserv.mcmaster.ca/jfox
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On
Behalf Of Michael Friendly
Sent: December-29-10 12:32 PM
To: David Winsemius
Cc: r-help@r
in general, because the expression
x[,which(t 20 t 80),] relies on the prior knowledge that the
time dimension is the second one of three.
Any ideas?
Thanks!
Roy
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax
2
mosaic3d(HEC, type=expected)
# present this in the same orientation
par3d(userMatrix=M1a)
--
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
, fung.lor.df)
1: lor(LOR ~ strain + sex, fung.lor.df)
How can I make this work?
--
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
. and Groenen, P.: Modern Multidimensional Scaling: theory and
applications (2nd ed.), Springer-Verlag New York, 2005
--
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
) - environment(latex)
--
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
/file311f289a.dvi),
intern=TRUE)
system(paste(yap, C:/WINDOWS/TEMP/Rtmpz0QkT8/file311f289a.dvi))
However, both of these result in the same behavior -- R console hangs
until I press ESC.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University
Hi Rich,
I was looking for something that I could make general, as a latex.ftable
method for ftable objects. I realize you showed how to do this for a
particular case, but I'm having a bit of trouble translating this into
a general solution for 1 or more row variables and 1 or more col
like other latex() methods, but that shouldn't be too hard.
-M
--
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
will
list the S4 methods (possibly none).
Does the warning mean that I cannot (or should not) have an S3 as.array
method in a package?
The method works in my context, but the warning will create problems
when I submit to CRAN, so I would rather avoid it.
--
Michael Friendly Email: friendly
On 12/2/2010 8:58 AM, Michael Friendly wrote:
Under ?methods the Note says
Functions can have both S3 and S4 methods, and function showMethods will
list the S4 methods (possibly none).
Does the warning mean that I cannot (or should not) have an S3 as.array
method in a package?
The method works
= math.row.names, math.col.names =
math.col.names,
double.slash = double.slash, ...)
2: latex.default(UCB)
1: latex(UCB)
--
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
{tabular}
\end{center}
\end{table}
--
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
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
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
= :)
--
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
(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
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
‘***’ 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
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
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
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.
[,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
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
*. 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
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
201 - 300 of 430 matches
Mail list logo