Displaying 1 result from an estimated 1 matches for "sappily".
Did you mean:
happily
2013 May 25
3
When creating a data frame with data.frame() transforms "integers" into "factors"
...user,posts
1,user1,581
2,user2,281
3,user3,196
4,user4,150
5,user5,282
6,user6,184
7,user7,90
8,user8,74
9,user9,45
10,user10,20
11,user11,3
12,user12,1
13,user13,345
14,user14,123
i imported the file into R using : ' df <- read.csv('file.csv')
to confirm the data types i did : 'sappily(df, class) '
that returns "userID" --> "integer" ; "user" ---> "factor" ; "posts" --->
"integer"
then i try to create another data frame with the number of posts and its
frequencies,
so i did: 'postFreqCount<-data.frame...