Displaying 4 results from an estimated 4 matches for "q22".
Did you mean:
22
2011 Nov 20
2
Adding two or more columns of a data frame for each row when NAs are present.
...or each row in
mySum? NA should be treated as a 0. Please, note, I do not want to sum all
the columns, as I think rowSums would do, just the selected ones.
Thanks for your help.
Ian,
> yy <- read.table( header = T, sep=",", text = ## to create a data frame
+ "Q20, Q21, Q22, Q23, Q24
+ 0,1, 2,3,4
+ 1,NA,2,3,4
+ 2,1, 2,3,4")
+ yy
Q20 Q21 Q22 Q23 Q24
1 0 1 2 3 4
2 1 NA 2 3 4
3 2 1 2 3 4
> x <- transform( yy, ############## Example 1
+ mySum = as.numeric(Q20) + as.numeric(Q22) + as.numeric(Q24),
+ myCount =
as.n...
2007 Feb 20
0
Standardized residual variances in SEM
...0.0e+00 Q17 <--- G
param18 0.63 0.059 10.7 0.0e+00 Q18 <--- G
param19 0.75 0.062 12.2 0.0e+00 Q19 <--- G
param20 0.68 0.060 11.4 0.0e+00 Q20 <--- G
param21 0.64 0.068 9.3 0.0e+00 Q21 <--- G
param22 0.63 0.065 9.7 0.0e+00 Q22 <--- G
param23 0.71 0.065 10.9 0.0e+00 Q23 <--- G
param24 0.70 0.052 13.7 0.0e+00 Q24 <--- G
param25 0.41 0.066 6.3 3.4e-10 Q25 <--- G
param26 0.98 0.091 10.8 0.0e+00 Q1 <--> Q1
param27 0.72 0.068 10.6 0.0e+00 Q2 <--&...
2009 Nov 12
1
Transforming a dataframe into a response/predictor matrix
...stname 1213 **@uark.edu ## 10295236 9/3/2008
Xattempts Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 Q19
1 1 1 1 0 0 0 0 0 0 0 1 0 0 1 1 0 1 1 0 1
2 1 1 1 1 1 1 0 1 0 0 1 1 0 0 1 0 0 0 0 1
Q20 Q21 Q22 Q23 Q24 Q25 Q26 Q27 Q28 Q29 Q30 Q31 Q32 Score Form CRSE_GRADE_OFF
1 0 0 0 0 0 0 0 0 0 1 0 0 0 9 E D
2 0 0 0 0 0 0 0 0 0 0 1 1 0 13 G D
Each student took a pre- and post- test indicated by the date under &quo...
2013 Sep 10
1
Error: BUG: Worker sent reply with id 393, expected 394
...ult): Error: BUG: Worker sent reply with id 32, expected 33
Sep 10 09:05:22 auth(default): Error: worker-server(q99 at t.com,10.12.80.3): Aborted: Worker is buggy
Sep 10 09:05:22 auth(default): Error: BUG: Worker sent reply with id 29, expected 30
Sep 10 09:05:22 auth(default): Error: worker-server(q22 at t.com,10.12.80.3): Aborted: Worker is buggy
Sep 10 09:05:22 imap-login: Info: Internal login failure (auth failed, 1 attempts): user=<q3 at t.com>, method=PLAIN, rip=10.12.80.3, lip=10.12.80.6