tag:blogger.com,1999:blog-542053665666511781.post254740273626726423..comments2023-09-27T18:03:58.903+05:30Comments on ~Krishna Dagli: Learning Statistics using R : Exploring DatasetUnknownnoreply@blogger.comBlogger3125tag:blogger.com,1999:blog-542053665666511781.post-60308643770177326762008-11-14T11:21:00.000+05:302008-11-14T11:21:00.000+05:30i could not solve, it say :> as.factor(bird.df)...i could not solve, it say :<BR/>> as.factor(bird.df)<BR/>Error in sort.list(unique.default(x), na.last = TRUE) : <BR/> 'x' must be atomic for 'sort.list'<BR/>Have you called 'sort' on a list?<BR/>> <BR/>i don't understand what is this<BR/><BR/>thank youmadanksuwalhttps://www.blogger.com/profile/10313795256700621742noreply@blogger.comtag:blogger.com,1999:blog-542053665666511781.post-10340499420234947562008-11-14T09:07:00.000+05:302008-11-14T09:07:00.000+05:30see ?as.factor> a <- matrix(1:10, 2)> a ...see ?as.factor<BR/><BR/>> a <- matrix(1:10, 2)<BR/>> a<BR/> [,1] [,2] [,3] [,4] [,5]<BR/>[1,] 1 3 5 7 9<BR/>[2,] 2 4 6 8 10<BR/>> as.factor(a)<BR/> [1] 1 2 3 4 5 6 7 8 9 10<BR/>Levels: 1 2 3 4 5 6 7 8 9 10Krishna Daglihttps://www.blogger.com/profile/09833920910697389555noreply@blogger.comtag:blogger.com,1999:blog-542053665666511781.post-87541675325516526512008-11-13T19:29:00.000+05:302008-11-13T19:29:00.000+05:30hido i need to change the numeric data to factoria...hi<BR/>do i need to change the numeric data to factorial (the presence/ absence data) for ordination study<BR/>the matrix is too big<BR/>how to change the how matrix to factorial from numeric at once, not column by column <BR/>please help me (urgent)<BR/><BR/>email id: loginms@hotmail.commadanksuwalhttps://www.blogger.com/profile/10313795256700621742noreply@blogger.com