Displaying 7 results from an estimated 7 matches similar to: "Apply a function according to factor levels."
2012 Aug 17
1
Linear mixed model using R
Dear all,
I am trying to use R to fit mixed models.
Take the following example, where ind is a random effect and
sample is fixed. I wanted to fit
Model 1: values = ind + sample
Model 2: values =ind * sample
Model 3: values=ind(sample) + sample
Tried to use the below for mod1, but it did not work. Can anyone give
some help on this. Thanks so much.
mod1 <- lme(values ~ sample +
2009 Sep 24
2
P-value and R-squared variable selection criteria
Hi R community
I have a question. I'll explain my situation. I have to build a climate model to obtain monthly and annual temperature from 2004 to 2008 from a specif area in Almeria (Spain). To build this climate model, I will use Multiple regression. My dependant variable will be monthly and annual temperature and independant variables will be Latitute, Longitude and Altitude and I will work
2006 Aug 05
0
cor of two matrices whose columns got shuffled
Hello,
I'm trying to take the correlation of two distance matrices and get
the r2 value
ex)
Ndisc PS1 Ntet Nsito NcB NcA PS3 NcC
NiB NiA
PS1
0.08945
Ntet 0.08601
0.02020
Nsito 0.09361 0.02780
0.02260
2003 Jul 16
1
The two chisq.test p values differ when the contingency table is transposed! (PR#3486)
Full_Name: Tao Shi
Version: 1.7.0
OS: Windows XP Professional
Submission from: (NULL) (149.142.163.65)
> x
[,1] [,2]
[1,] 149 151
[2,] 1 8
> c2x<-chisq.test(x, simulate.p.value=T, B=100000)$p.value
> for(i in (1:20)){c2x<-c(c2x,chisq.test(x,
simulate.p.value=T,B=100000)$p.value)}
> c2tx<-chisq.test(t(x), simulate.p.value=T, B=100000)$p.value
> for(i in
2007 Aug 16
0
Linear models and a simple time series
Working on modeling a wild animal population. Two data vectors: the herd
count from year to year (estimated by a
sampling procedure), and the number of animals killed by hunters. Task is
to find the natural growth rate of the herd
(A simplification, but preserves the essentials.)
My question is whether the R procedure lm() is an appropriate tool to
estimate the growth rate.
year
2003 Dec 07
5
RxFAX application
Hi all,
I have installed FAX app as described in several mails.
When a fax call is received, I get the following in the * console:
-- Starting simple switch on 'Zap/1-1'
-- Executing Answer("Zap/1-1", "") in new stack
-- Executing Ringing("Zap/1-1", "") in new stack
-- Executing Wait("Zap/1-1", "2") in new stack
2012 Nov 20
2
[PATCH][RFC] OpenUPS driver
Hi all,
I attached a driver for MiniBox openUPS device (
http://www.mini-box.com/OpenUPS) and a dump of the hid usages.
I had the possibility to make a few adjustments to the device firmware for
HID usages, and although I haven't managed to produce a good structure
many issues from previous firmware were at least fixed and new information
added.
ATM the driver only shows pertaining