--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
היי
תודה על התשובה.
יש לי בעיה שנכון לעכשיו אני לא מצליחה לפתור:
אני מנסה להשתמש בפונקציה quantile( ) יחד עם tapply אבל אני לא מצליחה לקבל את מה שאני רוצה.
יש לי קובץ תוצאות בצורת טבלה (בפורמט של CSV) מניסוי. כל נבדק עבר 4 תנאים ובכל תנאי הוא עשה 45 טריילים, סה"כ 180 טריילים עבור כל נבדק (המספר לא ממש משנה לעניינינו כרגע, אני רק מנסה להסביר איך הטבלה בנויה). המדד התלוי שלי הוא זמן תגובה. זה אומר שיש לי טבלה עם 180*15 שורות (כי יש לי 15 נבדקים), ו-4 טורים (אחד עבור כל תנאי).
מה שכבר הצלחתי לעשות זה לחשב עבור כל נבדק ממוצע (וגם חציון, סטיית תקן ועוד פרמטרים) עבור כל תנאי, כך שתהיה לי טבלה עם 15 שורות ו-4 טורים, כאשר בכל תא בטבלה יש לי את הממוצע של הנבדק עבור התנאי או כל פרמטר אחר שחישבתי.
אני רוצה לעשות אותו הדבר רק במקום לחשב ממוצע עבור כל נבדק עבור כל תנאי, אני רוצה לחשב את הערך ברבעון הראשון והשלישי, פרסנטילות שונות וכו'.
ניסיתי להשתמש ב-
tapply(rt_data$rt,list(rt_data$subject,rt_data$condition),quantile)
אבל זה נותן לי את הטבלה הבאה:
1_1 1_2 2_1 2_2
5013 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5020 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5021 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5022 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5023 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5024 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5101 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5102 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5104 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5105 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5106 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5107 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5108 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5109 Numeric,5 Numeric,5 Numeric,5 Numeric,5
5110 Numeric,5 Numeric,5 Numeric,5 Numeric,5
למישהו יש רעיון מה אני יכולה לעשות כדי לקבל את הערך שאני רוצה בכל תא?
תודה רבה על העזרה
אילה
Harmonic mean:1/mean(1/x)Quantiles:quantile( )
On Tue, May 7, 2013 at 2:27 PM, Ayala Allon <ayala...@gmail.com> wrote:
שלום,האם מישהו מכיר חבילה שיש בה פונקציה שמחשבתharmonic mean?וגם האם יש פונקציה שמחשבת רבעונים ו/או פרסנטילות?תודהאילה
--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-group+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
ן לעכשיו אני לא מצליחה לפתור:
אני מנסה להשתמ
--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-g...@googlegroups.com.
2013/5/22 amit gal <amit...@gmail.com>
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-group+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-group+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-group+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Israel R User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to israel-r-user-group+unsub...@googlegroups.com.