Displaying 6 results from an estimated 6 matches for "lilia".
Did you mean:
ilia
2013 Mar 13
3
Assign the number to each group of multiple rows
...1 1 1 1
2 2 1 2
3 3 1 3
4 4 2 1
5 5 2 2
6 6 2 3
7 7 1 1
8 8 1 2
9 9 2 1
10 10 2 2
but I can’t assign the numbers to the groups (the parameter "trip.id")... I
would appreciate any help.
Regards,
Lilia
[[alternative HTML version deleted]]
2010 Mar 11
2
as.integer and indexes error
...for
as.integer((uno[j,2]-round(uno))*11) since it is equal to 1 when male and
2 when female.
I noticed this problem when trying to use
other.matrix[j, (uno[j,2]-round(uno))*10)]
for a matrix with information with first information about males and second
column about females.
Thank you kindly.
Lilia
[[alternative HTML version deleted]]
2011 May 16
1
pam() clustering for large data sets
Hello everyone,
I need to do k-medoids clustering for data which consists of 50,000
observations. I have computed distances between the observations
separately and tried to use those with pam().
I got the "cannot allocate vector of length" error and I realize this
job is too memory intensive. I am at a bit of a loss on what to do at
this point.
I can't use clara(), because I
2023 Apr 04
1
Simple Stacking of Two Columns
I may be missing something but using the plain old c() combine function
seems to work fine:
df <- data.frame(left = 1:5, right = 6:10)
df.combined <- data.frame(comb = c(df$left, df$right))
df
left right
1 1 6
2 2 7
3 3 8
4 4 9
5 5 10
df.combined
comb
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
-----Original
2012 Aug 17
0
GEE with R: "double" overdispersion?
Dear R users,
I work with a descrete variable (sclae 0 - 27) which is highly skwed to the right (many zeros and small numbers). I measure this variable on a control and intervention cohort 5 times a year. When I analyze analyze this varoable at each time point separately and use GLM with family quasi-Poisson (descrete outcome and two binary variables, gender and cohort, are predictors), I observe
2012 Sep 08
0
reshape and geeglm problem
Dear R users,
could you please help me figure out why I am getting an error?
Initially my data looks like this:
> attributes(compl)$names
[1] "UserID" "compl_bin" "Sex.x" "PHQ_base" "PHQ_Surv1" "PHQ_Surv2" "PHQ_Surv3"
[8] "PHQ_Surv4" "EFE"