Hi guys,
we have a data table as a txt file we are importing in RStudio.
The data table has multiple columns as the one called reactionTime
which has countless lines of float values.
We are desparately trying to save the column as a list or vector into a variable but it always gets imported as an integer.
We can't use subset() as we want the whole column to be imported.
When we combine two variables, correctOnes
(a subset of all lines of the column accuracy
that have the value 1) and reactionTime
using correctOnes$reactionTime
we get NULL and when trying to barplot them we get the 'height must be a vector or matrix' error.
So the struggle is how to accurately import the line reactionTime
from the data table without using barplot().
Any help is appreciated, thanks in advance!
Malte & Vanessa