Closed kmezhoud closed 7 years ago
The issue is that the name variable has a level called Date
. When you try to make a table where Date
is a column name and the levels of Name
are column names you get this problem. I'm not sure there is an easy solution for this.
I just need to rename Date by date. Thanks
You can indeed change your data :) What I meant was, there is not an easy way to address this issue in the code
@vnijs I can't reproduce the issue using diamonds data set. I am using dosimetry.rda. Case study: I would like to visualize the cumulative doses (sum) of 4 samples of each person. 4 samples means I have 4 sampling dates. Categorical variables: Name (factor) + Date (date) numeric variable: DCE (numeric) apply function: sum
If I invert the order of categorical variable: Date (date) + Name (factor), the error is avoided.
error