Question: Identitying Complete Cases Often we wish to exclude subjects from some or all of our analysis if they have any missing values. Otherwise, comparing measurements
Identitying Complete Cases
Often we wish to exclude subjects from some or all of
our analysis if they have any missing values. Otherwise,
comparing measurements across timepoints could be
confounded by differences in group members.
To make a dataframe with only complete cases across
all variables we can again use the filter command on the
card dataframe, and this time we will pass in
"complete.casescard as an argument". This argument
will, as the name implies, return "TRUE" only for those
rows that have no missing values for any variable. Any
row with even a single missing value will return "FALSE"
and thus be eliminated by the filter command.
Use filter and the complete.casescard argument to
create a dataframe called "cardcpt Analyze this
dataframe and answer the question below.
Number of females with no missing values
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
