Data Analysis and creating new columns
Budget: $30 – $50 USD
#1 In Rstudio
See the dimension of the dataframe “second table” I’ve created (secondtable$face_attractivness) Looks like this:
AF-201 5
AF-204 30
AF-214 6
AF-216 5
AF-217 4
AF-222 30
AF-230 9
etc.
Is it possible to get the same characters in the second table as in the dataframe named thirdtable? To filter out the ones that are not there.
Like this
AF-204 30
AF-222 30
AF-233 30
AF-240 30
#2 In a created data frame (first_table) there’s two columns, selected_face and feedbacked_face.
The characters of these two columns, represent the same stimulus as the column face_attractivness in the dataframe second_table, of task1, But is generetabed during another part of my experiment
Looks like this in first_table
feedbacked_face selected_face manip_cond detection id
WF-233 WF-009 third_other 0 585d139a460cb5000183f705
WF-030 WF-039 standard_cb 0 585d139a460cb5000183f705
WF-241 WF-203 standard_cb 0 585d139a460cb5000183f705
WF-237 WF-213 standard_cb 0 585d139a460cb5000183f705
AF-242 AF-233 third_other 0 585d139a460cb5000183f705
Is it possible to get the column “detection” 1 or 0, to appear in the newly created dataframe done in task 1, next to “attractivness_rating” and “face_attractivness” ?
That way I can compare detected = 0 or detected=1 groupwise.
Save this table as an object
See the dimension of the dataframe “second table” I’ve created (secondtable$face_attractivness) Looks like this:
AF-201 5
AF-204 30
AF-214 6
AF-216 5
AF-217 4
AF-222 30
AF-230 9
etc.
Is it possible to get the same characters in the second table as in the dataframe named thirdtable? To filter out the ones that are not there.
Like this
AF-204 30
AF-222 30
AF-233 30
AF-240 30
#2 In a created data frame (first_table) there’s two columns, selected_face and feedbacked_face.
The characters of these two columns, represent the same stimulus as the column face_attractivness in the dataframe second_table, of task1, But is generetabed during another part of my experiment
Looks like this in first_table
feedbacked_face selected_face manip_cond detection id
WF-233 WF-009 third_other 0 585d139a460cb5000183f705
WF-030 WF-039 standard_cb 0 585d139a460cb5000183f705
WF-241 WF-203 standard_cb 0 585d139a460cb5000183f705
WF-237 WF-213 standard_cb 0 585d139a460cb5000183f705
AF-242 AF-233 third_other 0 585d139a460cb5000183f705
Is it possible to get the column “detection” 1 or 0, to appear in the newly created dataframe done in task 1, next to “attractivness_rating” and “face_attractivness” ?
That way I can compare detected = 0 or detected=1 groupwise.
Save this table as an object
Related categories:
R Programming Language