[R] odfWeave

2010-08-31 Thread Michael Kubovy
Windows 7. Michael _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400 Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick Road Charlottesville, VA 22903 Office: B011

Re: [R] how to tell if its better to standardize your data matrix first when you do principal

2009-11-23 Thread Michael Kubovy
On Nov 22, 2009, at 10:22 AM, Uwe Ligges wrote: masterinex wrote: Hi guys , Im trying to do principal component analysis in R . There is 2 ways of doing it , I believe. One is doing principal component analysis right away the other way is standardizing the matrix first using s =

[R] odfWeave produces output file that OO can't open

2009-12-13 Thread Michael Kubovy
. __ Professor Michael Kubovy University of Virginia Department of Psychology for mail add: P.O.Box 400400 Charlottesville, VA 22904-4400 USA for FedEx or UPS add: Gilmer Hall, Room 102 McCormick Road Charlottesville, VA 22903 USA roomphone Office:B011 +1-434-982

[R] Gray level mosaic plot with shading_Friendly

2010-07-06 Thread Michael Kubovy
? Thanks, Michael __ Professor Michael Kubovy University of Virginia Department of Psychology for mail add: for FedEx or UPS add: P.O.Box 400400 Gilmer Hall, Room 102

Re: [R] Gray level mosaic plot with shading_Friendly

2010-07-07 Thread Michael Kubovy
On Jul 7, 2010, at 2:13 AM, Achim Zeileis wrote: On Tue, 6 Jul 2010, Michael Friendly wrote: 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

[R] Problem with two libraries

2007-10-12 Thread Michael Kubovy
these two in (2) and make (2) the default library (if that's adivsable) and how to make the upgrade to future versions of R as trouble-free as possible. _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville

[R] Selectively swapping labels between factors

2007-10-27 Thread Michael Kubovy
levels How do I then get the character vector of length r of the levels of fact1? Once I have that, is there anything else I need to know about swapping labels between factors in a df? _ Professor Michael Kubovy University of Virginia Department of Psychology USPS

[R] mosaic row and column order

2007-10-31 Thread Michael Kubovy
for a pointer toward the solution. Thanks, MK _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA

[R] ggplot2

2007-11-08 Thread Michael Kubovy
? _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA 22903 Office:B011+1-434-982-4729 Lab:B019+1-434-982-4751 Fax

[R] \ll and \gg in expression()

2008-02-09 Thread Michael Kubovy
How do I enter 'much greater than' and 'much less than' symbols in an expression? _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall

Re: [R] \ll and \gg in expression()

2008-02-09 Thread Michael Kubovy
On Feb 9, 2008, at 4:41 PM, Prof Brian Ripley wrote: On Sat, 9 Feb 2008, Michael Kubovy wrote: How do I enter 'much greater than' and 'much less than' symbols in an expression? Those are not in the Adobe Symbol encoding used for plotmath. Since you have not told us your platform

[R] grep etc.

2008-02-10 Thread Michael Kubovy
Dear R-helpers, How do I transform v - c('insd-otsd', 'sppr-unsp') into c('insd--otsd', 'sppr--unsp') ? _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102

Re: [R] re cognizing patterns

2008-02-12 Thread Michael Kubovy
it - perhaps I dreamed it up? Help, anyone? Best wishes Paul _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick Road

Re: [R] How to use a reserved word in italics in an expression

2008-02-17 Thread Michael Kubovy
Delightfully straightforward! Thanks. On Feb 16, 2008, at 5:15 PM, Duncan Murdoch wrote: On 16/02/2008 4:51 PM, Michael Kubovy wrote: Dear R-helpers, label2 - expression(paste(italic(attraction function:), 'slope')) Error: unexpected 'function' in label2 - expression(paste(italic

[R] Color of CI bars in Hmisc::Dotplot()

2008-02-24 Thread Michael Kubovy
= mypal[c(1, 2, 1)]) panel.abline(v = 50, col.line = 'red', lty = 2)} ) _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall

[R] Second subsequent calls to function fails. Please help debug.

2008-03-29 Thread Michael Kubovy
, subset = subs, weights = wgts) else lm(uf, data = dd, subset = subs, weights = wgts, na.action = naa) Browse[1] Error in parse(text = x) : unexpected symbol in yield ~ variety + preds(yield+variety +preds.sq)sq Advice? _ Professor Michael Kubovy University

[R] Clash between alr3 and AlgDesign. (Was: Re: Second subsequent calls to function fails. Please help debug.)

2008-03-30 Thread Michael Kubovy
? _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA 22903 Office:B011+1-434-982-4729 Lab

Re: [R] Clash between alr3 and AlgDesign. (Was: Re: Second subsequent calls to function fails. Please help debug.)

2008-03-30 Thread Michael Kubovy
() or pos). As a former student of mine (who has long since gone into business) once said: I avoid learning experiences like the plague. Thanks again, Michael On Mar 30, 2008, at 1:36 PM, Duncan Murdoch wrote: On 30/03/2008 10:06 AM, Michael Kubovy wrote: I've been trying to dynamically

Re: [R] graphs for pretest data

2008-08-23 Thread Michael Kubovy
= 6)), sub = c(1:7, 1:7, 8:13, 8:13)) xyplot(y ~ pp | sex, groups = sub, type = 'b', mwpp) _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer

[R] Sweave and/or beamer issue

2008-09-06 Thread Michael Kubovy
: * _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA 22903 Office:B011+1-434

[R] playwith package crashes on Mac

2008-07-15 Thread Michael Kubovy
_ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA 22903 Office:B011+1-434-982-4729 Lab:B019+1-434-982-4751 Fax

[R] Output design question

2008-07-16 Thread Michael Kubovy
Residual standard error: 0.6964 on 18 degrees of freedom Multiple R-squared: 0.07308,Adjusted R-squared: 0.02158 F-statistic: 1.419 on 1 and 18 DF, p-value: 0.249 Why notgroup Trt? _ Professor Michael Kubovy University of Virginia Department of Psychology USPS

Re: [R] an extremely simple question

2008-07-23 Thread Michael Kubovy
A cleaner approach than attach()---because you don't need to remember to detach()---is: my.df-data.frame(cbind(x=runif(100), y=rnorm(100))) head(my.df) with(my.df, plot(y~x)) _ Professor Michael Kubovy University of Virginia Department of Psychology USPS

Re: [R] Equivalent to a BY command in SAS

2008-04-14 Thread Michael Kubovy
You might also take a look at the doBy package. On Apr 14, 2008, at 7:30 AM, zerfetzen wrote: Thanks all. I will try to use both tapply and by, and have no idea how I missed the by function. Thanks again. _ Professor Michael Kubovy University of Virginia

[R] Don't understand error-message (from lattice, I think)

2008-04-16 Thread Michael Kubovy
a namespace (and not attached): [1] MASS_7.2-41 car_1.2-7 cluster_1.11.10 gdata_2.4.1 gtools_2.4.0 _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102

[R] Conditionally swap items in a data frame

2008-04-17 Thread Michael Kubovy
df1 - data.frame(a = LETTERS[1:2], b = LETTERS[3:4], c = 1:2) I am looking for an idiom that swaps the elements of df$a and df$b when (e.g.) df$c == 2, resulting in df2 - data.frame(a = LETTERS[c(1, 4)], b = LETTERS[c(3, 2)], c = 1:2) _ Professor Michael Kubovy

[R] Problem with JGR_1.5-18

2008-04-18 Thread Michael Kubovy
JavaGD_0.5-1 rJava_0.5-1 The following opens a JavaGD window and freezes JGR: super.sym - trellis.par.get(superpose.symbol) (from splom help page). _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville

Re: [R] Equivalent of intervals() in lmer

2008-04-21 Thread Michael Kubovy
direction of the debate on NHST are offered.}, url = {http://search.epnet.com/login.aspx?direct=truedb=pdhan=met104397 } } _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room

Re: [R] Equivalent of intervals() in lmer

2008-04-21 Thread Michael Kubovy
. _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA 22903 Office:B011+1-434-982-4729 Lab:B019+1-434-982-4751

Re: [R] Equivalent of intervals() in lmer

2008-04-21 Thread Michael Kubovy
Sorry, I meant to say: For the moment I wonder if the solution is not to use CIs based on the two low SEs produced by the ~ time model, and to treat them as least-significant difference intervals. _ Professor Michael Kubovy University of Virginia Department

Re: [R] Equivalent of intervals() in lmer

2008-04-23 Thread Michael Kubovy
with interaction (say 2x2), choose which simple effects are of interest, get SEs for those; and then plot the four points with the CIs. These are not quite right for the difference between simple effects, but I don't know what to do about that. _ Professor Michael

Re: [R] boxplots

2008-04-29 Thread Michael Kubovy
?boxplot The boxplot does not show the mean but the median: median(c(0,15,0,60,0,0,0,0,0,60,60,0,60,0,30,0)) b - boxplot(c(0,15,0,60,0,0,0,0,0,60,60,0,60,0,30,0)) b$stats [,1] [1,]0 [2,]0 [3,]0 [4,] 45 [5,] 60 _ Professor Michael Kubovy

Re: [R] arcsine transformation

2008-04-30 Thread Michael Kubovy
Perhaps you need with(workingdata, asin(BEFORE)) or asin(workingdata$BEFORE) _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick

Re: [R] Lattice book

2008-05-02 Thread Michael Kubovy
. _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA 22903 Office:B011+1-434-982-4729 Lab:B019+1-434-982-4751 Fax

[R] xYplot error bands not working, was: Re: Lattice book

2008-05-02 Thread Michael Kubovy
, type=l) # this produces a bright red band at the top and a black band at the bottom I'll be happy to submit a bug report if this doesn't count and if you tell me how. _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400

Re: [R] combining bar and column graphs?

2008-05-12 Thread Michael Kubovy
Perhaps ?mosaic or ?mosaicplot _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA 22903 Office

Re: [R] Inconsistent linear model calculations

2008-05-15 Thread Michael Kubovy
that many people are eager to help beginners, as long as they give enough information about the problem they encountered. _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels

[R] Find cyclically identical binary sequences

2009-05-05 Thread Michael Kubovy
the larger of the two (if considered a binary number). Can someone suggest an algorithm? Thanks, Michael _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102

[R] Find cyclically identical binary sequences (corrected)

2009-05-05 Thread Michael Kubovy
of the two (if considered a binary number). Can someone suggest an algorithm? Thanks, Michael _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall

[R] Hmisc::latex() help

2009-05-07 Thread Michael Kubovy
of the columns. Suggestions for a fix? (I am also not clear on when R produces NA or NA Thanks, MK _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102

Re: [R] Can anyone suggest some r packages for Experimental Designs, specifically for choice and conjoint??? (or is intersted in helping me make 1)

2009-05-13 Thread Michael Kubovy
There are quite a few others. See: http://cran.r-project.org/web/views/ExperimentalDesign.html On May 12, 2009, at 7:44 PM, Chris Howden wrote: I've spent the last week or so looking at all the experimental design packages I can find in R. AlgDesign, design.conf and BHH2 being the best one

[R] Interaction plots as lines or bars?

2009-05-27 Thread Michael Kubovy
it seems to me that an interaction plot with lines is easier to read, and not likely to mislead. Does anyone know if and where this has been discussed? _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400

[R] SMACOF joint configuration plot with bread data?

2009-06-06 Thread Michael Kubovy
as mine: data(bread) res.uc - smacofIndDiff(bread, itmax = 1000) Thanks, _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick Road

[R] Designs with many periods

2007-11-28 Thread Michael Kubovy
-over trial}, publisher = {Chapman \ Hall/CRC}, year = {2003}, address = {Boca Raton, FL, USA}, edition = {2nd}, author = {Byron Jones and Michael G. Kenward} } _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box

Re: [R] Using expression in Hmisc Key()

2007-12-06 Thread Michael Kubovy
/fichestd/tdr75.pdf On Dec 6, 2007, at 2:17 AM, Dieter Menne wrote: Michael Kubovy kubovy at virginia.edu writes: Dear r-helpers, How do I tell xYplot() and Key() that I want the labels in italic? Key(x = 0.667, y = 0.833, other = list(title = expression(italic(v)), cex.title = 1

[R] Random Bernoulli sequences with given point-biserial correlation?

2008-01-02 Thread Michael Kubovy
Dear R-listers, Can someone suggest a method for generating a finite Bernoulli sequence that is likely to have a given point-biserial correlation with an existing Bernoulli sequence? _ Professor Michael Kubovy University of Virginia Department of Psychology USPS

[R] Can a dynamic graphic produced by rgl be saved?

2008-01-06 Thread Michael Kubovy
Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA 22903 Office:B011+1-434-982-4729 Lab:B019+1-434-982-4751 Fax:+1

[R] Lattice equivalent of par(mfrow = )

2008-01-12 Thread Michael Kubovy
Dear r-helpers, Does anyone have a straightforward example of putting together three unrelated (expect for a common y-axis) xyplot() figures in what would be in base graphics a par(mfrow = c(1, 3)) arrangement? _ Professor Michael Kubovy University of Virginia

Re: [R] Lattice equivalent of par(mfrow = )

2008-01-13 Thread Michael Kubovy
Dear R-helpers, On Jan 12, 2008, at 5:17 PM, Deepayan Sarkar wrote: On 1/12/08, Michael Kubovy [EMAIL PROTECTED] wrote: Dear r-helpers, Does anyone have a straightforward example of putting together three unrelated (expect for a common y-axis) xyplot() figures in what would be in base

[R] Change R localization

2008-01-17 Thread Michael Kubovy
, _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA 22903 Office:B011+1-434-982-4729 Lab

[R] Read stata file from internet?

2008-01-26 Thread Michael Kubovy
in read.dta(risk.dta) : not a Stata version 5-8 .dta file But that presumably garbled the file. (Indeed, StatTransfer told me so.) Would it be appropriate to request this as a feature of foreign::read.dta()? (Thomas Lumley is the author.) _ Professor Michael Kubovy

[R] Package simex

2008-01-27 Thread Michael Kubovy
? _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA 22903 Office:B011+1-434-982-4729 Lab:B019+1-434-982-4751 Fax

Re: [R] Package simex

2008-01-28 Thread Michael Kubovy
On Jan 28, 2008, at 11:30 AM, Liaw, Andy wrote: The original paper is: Cook, J. R. Stefanski L. A. (1994) Simulation--extrapolation estimation in parametric measurement error models. Journal of the American Statistical Association, 89, 1314-1328. From: Michael Kubovy Dear R-helpers

[R] Inconsistency in alphabetization of documenation

2009-03-18 Thread Michael Kubovy
. _ Professor Michael Kubovy University of Virginia Department of Psychology Postal Address: P.O.Box 400400, Charlottesville, VA 22904-4400 Express Parcels Address: Gilmer Hall, Room 102, McCormick Road, Charlottesville, VA 22903 Office:B011;Phone

[R] Calling R from Java (trying the R interface to Omegahat and Java)

2009-03-20 Thread Michael Kubovy
this is a matter of some urgency, I would be grateful if you also cc-ed my email address. _ Professor Michael Kubovy University of Virginia Department of Psychology Postal Address: P.O.Box 400400, Charlottesville, VA 22904-4400 Express Parcels Address: Gilmer Hall

Re: [R] Calling R from Java (trying the R interface to Omegahat and Java)

2009-03-20 Thread Michael Kubovy
Thanks for the tip. I'll start with rJava, and see if that easier approach works. On Mar 20, 2009, at 10:50 PM, Martin Morgan wrote: Michael Kubovy kub...@virginia.edu writes: Dear R-helpers, I run R version 2.8.1 (2008-12-22) on i386-apple-darwin8.11.1 I would like to call R from Java

Re: [R] newton method

2009-03-22 Thread Michael Kubovy
Take a look at the functionsnlm(), optim() in the stats package and maxNR() in the maxLik package. On Mar 22, 2009, at 11:15 PM, Roslina Zakaria wrote: Does R has a topic on newton's method? _ Professor Michael Kubovy University of Virginia Department

[R] Problem with circular::plot.circular()

2009-03-29 Thread Michael Kubovy
require(circular) c - circular(rep(0, 20), zero = pi/2, rotation = 'clock') plot(c, stack = TRUE, shrink = 1.5) Can anyone tell me why the stack is offset from 0? _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400

Re: [R] Problem with circular::plot.circular()

2009-03-29 Thread Michael Kubovy
)) plot(c2, stack = TRUE, bins = 1, main = expression(pi/2 + .1)) par(opar) On Mar 29, 2009, at 8:09 AM, Duncan Murdoch wrote: On 29/03/2009 7:39 AM, Michael Kubovy wrote: require(circular) c - circular(rep(0, 20), zero = pi/2, rotation = 'clock') plot(c, stack = TRUE, shrink = 1.5) Can

Re: [R] Sweave and executive summaries

2009-04-15 Thread Michael Kubovy
the sections/pages? Currently I'm doing all the coding in a big block up front but that waste much of the advantage of weaving to me. HTH, MK _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA

[R] Color of title in legend()

2008-10-06 Thread Michael Kubovy
') _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA 22903 Office:B011+1-434-982-4729 Lab:B019+1-434-982-4751

Re: [R] Turn factors to numeric

2008-10-09 Thread Michael Kubovy
). _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels:Room 102Gilmer Hall McCormick RoadCharlottesville, VA 22903 Office:B011+1-434-982-4729 Lab:B019+1-434-982-4751 Fax

[R] gamlss.dist

2008-11-06 Thread Michael Kubovy
) But this does: y- rexGAUS(100, mu=300, nu=100, sigma=35) m1-gamlss(y~1, family=exGAUS) curve(dexGAUS(y=x, mu=300 ,sigma=35,nu=100), 100, 600, main = The ex- GAUS density mu=300 ,sigma=35,nu=100) _ Professor Michael Kubovy University of Virginia Department

[R] Help with dudi.pca

2009-01-23 Thread Michael Kubovy
it? I would be happy to send the two data files, if you were willing to help. Thanks, MK _ Professor Michael Kubovy University of Virginia Department of Psychology Postal Address: P.O.Box 400400, Charlottesville, VA 22904-4400 Express Parcels Address

[R] Using help()

2009-01-24 Thread Michael Kubovy
a list of pages. Advice? It seems to me that if the output of help() listed base functions first, it would go a long way toward improving the usefulness of this function. _ Professor Michael Kubovy University of Virginia Department of Psychology Postal Address

[R] Problem with JGR. Was: Re: Using help()

2009-01-25 Thread Michael Kubovy
, Michael Kubovy wrote: … (1) If I type ?normal because I forgot the name dnorm() I get a long list of relevant pages. Getting to right page is laborious. (2) If I remember dnorm() and want to be reminded of the call, I also get a list of pages. … … If you type ``?normal'' you get

[R] Extracting coordinates for cluster::clusplot()

2009-01-30 Thread Michael Kubovy
Dear Friends, require(cluster) x - rbind(cbind(rnorm(10, 0, 0.5), rnorm(10, 0, 0.5)), cbind(rnorm(15, 5, 0.5), rnorm(15, 5, 0.5))) plot(pp - pam(x, 2), which.plots = 1) How can I extract the coordinates used in the plot? _ Professor Michael Kubovy University

[R] How to add direction of time to plot.circular()

2009-02-16 Thread Michael Kubovy
, running from 0 to 315 deg. I also thought that adding a short horizontal line at its beginning might be helpful. I would appreciate advice on how best to do this or anything else that would provide the required information. _ Professor Michael Kubovy University

Re: [R] assuming AR(1) residuals in OLS

2009-02-16 Thread Michael Kubovy
?gls On Feb 16, 2009, at 12:28 PM, constantine wrote: In other statistical software, such as Eviews, it is possible to regress a model with the Least Squares method, assuming that the residuals follow an AR(q) process. For example the resulting regression is something like y = 1.2154 +

[R] ggplot2::qplot() -- arbitary transformations of coordinate system?

2009-09-05 Thread Michael Kubovy
Hi, Does anyone know how to do a coord_trans() in which the y-axis is tranformed into (for example) -1000/y? Thanks, _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Charlottesville, VA 22904-4400 Parcels

Re: [R] ggplot2::qplot() -- arbitary transformations of coordinate system?

2009-09-06 Thread Michael Kubovy
Kubovykub...@virginia.edu wrote: Hi, Does anyone know how to do a coord_trans() in which the y-axis is tranformed into (for example) -1000/y? Stephen Sefick _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400

[R] Problem with R 2.13.0 Task Views (on Mac)

2011-04-14 Thread Michael Kubovy
(views = views, coreOnly = coreOnly, : CRAN task view Graphics not available Thanks, __ Professor Michael Kubovy University of Virginia Department of Psychology for mail add: for FedEx or UPS add: P.O.Box 400400

[R] Sexpr not getting expanded in Sweave

2012-02-23 Thread Michael Kubovy
2011/06/27 Any thought? Please CC me when replying. Michael Kubovy [[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

[R] Packages 'effects' loads 'name' which conflicts with 'lme4'

2012-03-07 Thread Michael Kubovy
? __ Professor Michael Kubovy University of Virginia Department of Psychology for mail add: for FedEx or UPS add: P.O.Box 400400 Gilmer Hall, Room 102 Charlottesville, VA 22904-4400 485 McCormick Road USA

Re: [R] Packages 'effects' loads 'name' which conflicts with 'lme4' [corrected subject: Package 'effects' loads 'nlme' which conflicts with 'lme4']

2012-03-08 Thread Michael Kubovy
John Fox Sen. William McMaster Prof. of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada http://socserv.mcmaster.ca/jfox/ On Wed, 7 Mar 2012 20:53:20 -0500 Michael Kubovy kub...@virginia.edu wrote: Hi, I would like

Re: [R] Packages 'effects' loads 'name' which conflicts with 'lme4' [corrected subject: Package 'effects' loads 'nlme' which conflicts with 'lme4']

2012-03-08 Thread Michael Kubovy
in situations like this and not have to worry about name conflicts later?) Thanks, Spencer On 3/8/2012 4:19 AM, Michael Kubovy wrote: Dear John, Thanks for the quick response. It works perfectly. Michael On Mar 7, 2012, at 9:19 PM, John Fox wrote: Dear Michael

Re: [R] Packages 'effects' loads 'name' which conflicts with 'lme4' [corrected subject: Package 'effects' loads 'nlme' which conflicts with 'lme4']

2012-03-08 Thread Michael Kubovy
, neither package is loaded along with effects. Best, John On Thu, 8 Mar 2012 20:45:37 -0500 Michael Kubovy kub...@virginia.edu wrote: Hi Spencer, In an Sweave script, which would take me too long to boil down to a reproducible example, lme4 was loaded before effects, and a calculation

[R] Change in behavior of update.views()?

2012-03-16 Thread Michael Kubovy
brew_1.0-6 Hmisc_3.9-2 survival_2.36-12 [9] MASS_7.3-17 loaded via a namespace (and not attached): [1] cluster_1.14.2 grid_2.14.2lattice_0.20-0 tools_2.14.2 __ Professor Michael Kubovy University of Virginia Department

[R] Problem with effects package

2012-04-11 Thread Michael Kubovy
) ~ age, family = binomial, data = unempw ) library( effects ) modt.ef - effect( 'age', modt ) # works! modw.ef - effect( 'age', modw ) # doesn't work! # Error in eval(expr, envir, enclos) : object 'age' not found # end __ Professor Michael Kubovy University