Displaying 20 results from an estimated 154 matches for "dalhousie".
2008 Jul 10
2
Lattice: merged strips?
...) ] yields the following shingle
structure:
|_A_|_A_|_B_|_B_|
|_X_|_Y_|_X_|_Y_|
However, I'm wondering if it is possible to merge the upper shingle
within levels of that factor, as in:
|___A___|___B___|
|_X_|_Y_|_X_|_Y_|
Mike
--
Mike Lawrence
Graduate Student, Department of Psychology, Dalhousie University
www.memetic.ca
"The road to wisdom? Well, it's plain and simple to express:
Err and err and err again, but less and less and less."
- Piet Hein
2007 May 24
2
Calculation of ratio distribution properties
...ee (from wikipedia:
http://en.wikipedia.org/wiki/
Ratio_distribution#Gaussian_ratio_distribution) that this calculation
is quite involved, so I'm hoping that someone has already coded a
function to achieve this.
Thanks,
Mike
--
Mike Lawrence
Graduate Student, Department of Psychology, Dalhousie University
Website: http://myweb.dal.ca/mc973993
Public calendar: http://icalx.com/public/informavore/Public
"The road to wisdom? Well, it's plain and simple to express:
Err and err and err again, but less and less and less."
- Piet Hein
2009 Feb 10
2
Mixed ANCOVA with between-Ss covariate?
...ate[a$id==i]= rnorm(1)
}
#make sure id, iv1, and iv2 are factorized
a$id=factor(a$id)
a$iv1=factor(a$iv1)
a$iv2=factor(a$iv2)
#run ANCOVA
covariate_aov = aov(dv~covariate+group*iv1*iv2+Error(id/(iv1*iv2)),data=a)
summary(covariate_aov)
--
Mike Lawrence
Graduate Student
Department of Psychology
Dalhousie University
www.thatmike.com
Looking to arrange a meeting? Check my public calendar:
http://www.thatmike.com/mikes-public-calendar
~ Certainty is folly... I think. ~
2012 Mar 14
3
Export a plot/figure to excel or word?
...s with box plots.
I am not sure if I can do this... Is this possible? I've tried the capture.output command, but I get a blank MS Word document.
Thank you very much in advance,
Best,
Aurelie
Aurelie Cosandey-Godin
Ph.D. student, Department of Biology
Industrial Graduate Fellow, WWF-Canada
Dalhousie University | Biology Dept. | 1459 Oxford Street |Halifax, NS | Canada B3H 4R2
Phone: 1-902-494-2146 | cell: 1-902-412-3404 |Fax: 1-902-494-3736
Email: godina@dal.ca | Skype: aureliegodinco | Web: wormlab.biology.dal.ca
-----------------------------------------------------------------------------...
2010 Mar 18
2
recommendations on use of -> operator
...h the rest of the code block.
Q1: is there a convention, informal or otherwise, on when to use the -> operator?
Q2: if there is no convention, but if people think a convention might help, what would that convention be?
Dan Kelley, PhD
Professor and Graduate Coordinator
Dept. Oceanography, Dalhousie University, Halifax NS B3H 4J1
kelley.dan@gmail.com (1-minute path on US server) or Dan.Kelley@Dal.Ca (2-hour path on Cdn server)
Phone 902 494 1694; Fax 902 494 3877
[[alternative HTML version deleted]]
2004 Mar 19
0
Fwd: osx/fink: cannot do "R INSTALL" (library mixup)
...;>> ** Removing '/Applications/StartR.app/RAqua.app/Contents/pspline'
>>>
>>> $ locate frtbegin
>>> /sw/lib/libfrtbegin.a
>>>
>>> Dan E. Kelley, Associate Professor phone:(902)494-1694
>>> Oceanography Department, Dalhousie University fax:(902)494-2885
>>> Halifax, Nova Scotia mailto:Dan.Kelley at Dal.CA
>>> Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html
>>>
>>> ______________________________________________
>>> R-help at...
2007 Jul 13
2
Suggestion to extend aggregate() to return multiple and/or named values
...turns an error
agg(z,Ind,summary) #returns named columns
#Make a function that returns multiple unnamed values
summary2=function(x){
s=summary(x)
names(s)=NULL
return(s)
}
agg(z,Ind,summary2) #returns multiple columns, default names
--
Mike Lawrence
Graduate Student, Department of Psychology, Dalhousie University
Website: http://memetic.ca
Public calendar: http://icalx.com/public/informavore/Public
"The road to wisdom? Well, it's plain and simple to express:
Err and err and err again, but less and less and less."
- Piet Hein
2005 Jul 30
1
xyplot auto.key issue
...= T,
size = 7,
border = T,
cex.title = 1.2,
title = "Expected Tau",
text = c("30 ms", "80 ms", "130 ms", "180 ms", "230 ms"),
space = "right",
)
)
--
Mike Lawrence, BA(Hons)
Research Assistant to Dr. Gail Eskes
Dalhousie University & QEII Health Sciences Centre (Psychiatry)
Mike.Lawrence at Dal.Ca
"The road to Wisdom? Well, it's plain and simple to express:
Err and err and err again, but less and less and less."
- Piet Hein
2007 Oct 01
3
optimize() stuck in local plateau ?
...known formal descriptions
as above (I'm exploring a large number of 'black boxes'). I do know
that the maximum must occur between -1 and 1 for all however. Please
advise on how I might use optimize more usefully.
Mike
--
Mike Lawrence
Graduate Student, Department of Psychology, Dalhousie University
Website: http://memetic.ca
Public calendar: http://icalx.com/public/informavore/Public
"The road to wisdom? Well, it's plain and simple to express:
Err and err and err again, but less and less and less."
- Piet Hein
2007 Sep 27
3
Aggregate factor names
...ames = c
('one.iv','another.iv','yet.another.iv','x') when this seems more
economical:
with(
my.data
,aggregate(
my.dv
,list(
one.iv
,another.iv
,yet.another.iv
)
,some.function
)
)
--
Mike Lawrence
Graduate Student, Department of Psychology, Dalhousie University
Website: http://memetic.ca
Public calendar: http://icalx.com/public/informavore/Public
"The road to wisdom? Well, it's plain and simple to express:
Err and err and err again, but less and less and less."
- Piet Hein
2008 Jul 17
2
Sampling distribution (PDF & CDF) of correlation
...& CDF
par(mfrow=c(1,2))
hist(mc.rs,prob=T,xlab='Observed correlation')
probs = seq(0,1,.01)
plot(quantile(mc.rs,probs=probs),probs,type='l',xlab='Observed
correlation',ylab='Cumulative probability')
--
Mike Lawrence
Graduate Student, Department of Psychology, Dalhousie University
www.memetic.ca
"The road to wisdom? Well, it's plain and simple to express:
Err and err and err again, but less and less and less."
- Piet Hein
2007 Jun 16
0
Fwd: How to set degrees of freedom in cor.test?
...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.
>
> --
> Mike Lawrence
> Graduate Student, Department of Psychology, Dalhousie University
>
> Website: http://myweb.dal.ca/mc973993
> Public calendar: http://icalx.com/public/informavore/Public
>
> "The road to wisdom? Well, it's plain and simple to express:
> Err and err and err again, but less and less and less."
> - Piet Hein
>
--
Mi...
2008 Jul 12
2
Quick plotmath question
...ves:
?i >> 0
and while:
expression(Delta*i>0)
comes close, I'd prefer to have the >> (denoting "very much greater
than"). Maybe >> is a non-standard expression and therefore not
supported?
Mike
--
Mike Lawrence
Graduate Student, Department of Psychology, Dalhousie University
www.memetic.ca
"The road to wisdom? Well, it's plain and simple to express:
Err and err and err again, but less and less and less."
- Piet Hein
2008 Dec 19
1
can a function alter the "..." argument and passed the result to another function?
..." be a formal argument of 'parent', and
I'm happy to do that, but I'm still in the learning stages with R, and
so I'm trying to become more familiar with as much R syntax as I can,
even if I end up doing things differently later on.
D. Kelley
Oceanography Department, Dalhousie University
Halifax, Nova Scotia, Canada
2008 Dec 24
1
ggplot2's qplot() not rendering title descender
On my machine (Mac OS 10.5.6, R 2.8.1) the following plot is drawn such that
a substantial portion of the descender of the title is covered by the plot:
library(ggplot2)
qplot(x=1:10,y=1:10,main='p q j g')
--
Mike Lawrence
Graduate Student
Department of Psychology
Dalhousie University
www.thatmike.com
Looking to arrange a meeting? Do so at:
http://www.timetomeet.info/with/mike/
~ Certainty is folly... I think. ~
[[alternative HTML version deleted]]
2011 Nov 06
1
Combining some duplicated rows & summing one of their column
...um their "catch". I've been trying a few things with the plyr package... but can't find a rather straightforward command.
Any tips would be much appreciated! Thank you very much!
Aurelie Cosandey-Godin
Ph.D. student, Department of Biology
Industrial Graduate Fellow, WWF-Canada
Dalhousie University | Email: godina@dal.ca
[[alternative HTML version deleted]]
2012 Mar 17
1
how to pass 'raw' values with cfunction()?
I am having trouble handing "raw" data to a C function, using "cfunction", as demonstrated in the function and output pasted below. Can anyone suggest what I'm doing incorrectly? Thanks. Dan Kelley [Dalhousie University].
1. TEST FILE
library(inline)
code <- 'Rprintf("inside f(), b is 0X%x\\n", *b);'
f <- cfunction(sig=signature(b="raw"),
body=code,
convention=".C")
b <- as.raw(0x0f)
for (i in 1:5)
f(b)
2. SAMPLE OUT...
2009 Nov 09
1
Quickly generate all possible combinations of 2 groups
...useful as a starting point for a
subsequent EM or simplex search, but I thought I might double check
with the list to see if there's a computationally efficient solution
to the "test all combinations" scheme.
Cheers,
Mike
--
Mike Lawrence
Graduate Student
Department of Psychology
Dalhousie University
Looking to arrange a meeting? Check my public calendar:
http://tr.im/mikes_public_calendar
~ Certainty is folly... I think. ~
2009 Nov 07
1
EM algorithm to fit circular mix of uniform+Von Mises
...n 0, so the only
free parameters is the mixing proportion and the kappa of the Von
Mises. I couldn't find anything in the contributed packages that
seemed to suit this purpose. Any pointers would be greatly
appreciated!
Cheers,
Mike
--
Mike Lawrence
Graduate Student
Department of Psychology
Dalhousie University
Looking to arrange a meeting? Check my public calendar:
http://tr.im/mikes_public_calendar
~ Certainty is folly... I think. ~
2007 Sep 17
1
Create correlated data with skew
...0.217740460
[10,] -0.1937206 -0.564203311
> cor(a)
[,1] [,2]
[1,] 1.0 0.5
[2,] 0.5 1.0
But I'm looking to create data where the variables are non-normally
distributed (i.e. somewhat skewed). Any suggestions?
Mike
--
Mike Lawrence
Graduate Student, Department of Psychology, Dalhousie University
Website: http://memetic.ca
Public calendar: http://icalx.com/public/informavore/Public
"The road to wisdom? Well, it's plain and simple to express:
Err and err and err again, but less and less and less."
- Piet Hein