Displaying 4 results from an estimated 4 matches for "obsid".
Did you mean:
obsd
2012 Mar 22
2
Order of terms in formula changes aov() results
Hello, This one is very perplexing. I have teacher observation data,
with factors teacher ID, observer ID, component, grade and subject. When
I do this,
aov(data=ratings.prin.22, rating ~ obsid.f + tid.f + subject.f + grade.f + comp.f)
I get this:
Terms:
obsid.f tid.f grade.f comp.f Residuals
Sum of Squares 306.23399 221.38173 1.70000 14.52831 279.05780
Deg. of Freedom 74 87 2 9 1406
This looks right. There are about 82...
2012 Apr 16
3
Select rows based on condition
...For example in the dataset below multiple observers recorded data at the
same point on the same date and the data was recorded on separate rows, but
I only need one of the rows of data. Is it possible to use grep to search
for rows that have matching PtName and Date and then select the row where
ObsID is the smallest with and if statement (i.e., keep the rows with an *
and remove the others)?
PtName Visit Date Obs ObsID
S2 1 6/8/2005 KB 3 *
S2 1 6/8/2005 JB 5
S3 1 6/8/2...
2011 May 09
2
Creating Observation ID
If I have a data frame something like:
Value=rnorm(30)
Group = sample(c('A','B','C'), 30, replace=TRUE)
df = data.frame(Value, Group)
It seems like it should be simple to create an 'ObsID' column which indicates the observation order of each Value within each of the 3 groups. Somehow, I can't quite see how to do it without manually sub-setting the parent data frame and then putting it back together again.
Anyone able to get me started on a cleaner (more R-like) approach?...
2008 Jul 12
1
a warning message from lmer
Hi all,
I have a problem when running lmer.
In my data set, Agree is a binary(0/1) response. WalkerID and ObsID is
the identification number of the subjects. the description of the
other variables are as follows:
> levels(regdat$Display)
[1] "Dynamic" "Static"
> levels(regdat$Survey)
[1] "HM1_A" "HM1_B" "HM1_C" "HM2_A" "HM2_B" "...