Hi,

I was wondering what the best way is to create a new dataframe based on an
existing dataframe with only the unique available levels for each column (22
columns in total) in it.

If some columns have less unique values than others, then those columns can
be filled with blanks for the remaining part. Is it possible to make it a
generic function, which is independent from the column names?

Thx for helping me out.

 

Kind regards,

Bert

 

 

 


        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to