search for: test2df

Displaying 1 result from an estimated 1 matches for "test2df".

Did you mean: test2_df
2011 Mar 05
1
generating factors from the edit function
Dear R People: If I use the fix or edit function for a new data frame, I would like to have my character data as factors. Is there a "built in" way to do this, please? Here is what I did: > test2.df <- data.frame() > test2.df <- fix(test2.df,factor.mode="character") > str(test2.df) 'data.frame': 5 obs. of 2 variables: $ var1: num 1 2 3 4 5 $