Re: [R] NAs introduced by coercion

2016-01-08 Thread Jim Lemon
Hi Manish, Most likely there are one or more negative numbers in mat1. Jim On Fri, Jan 8, 2016 at 7:35 PM, Manish MAHESHWARI wrote: > Hi, > > In glmnet, while using a matrix as an input, I get an error of NA's > introduced by coercion. However in the input there is no NA value. > > cvfit = cv.

Re: [R] NAs introduced by coercion

2016-01-08 Thread PIKAL Petr
6 AM > To: r-help@r-project.org > Subject: [R] NAs introduced by coercion > > Hi, > > In glmnet, while using a matrix as an input, I get an error of NA's > introduced by coercion. However in the input there is no NA value. > > cvfit = cv.glmnet( x =

[R] NAs introduced by coercion

2016-01-08 Thread Manish MAHESHWARI
Hi, In glmnet, while using a matrix as an input, I get an error of NA's introduced by coercion. However in the input there is no NA value. cvfit = cv.glmnet( x = mat1, y = train$response,family="multinomial", type.multinomial = "grouped", parallel = TRUE) Error in lognet(x, is.sparse, ix, jx, y

Re: [R] NAs introduced by coercion warning, while plotting data

2014-01-07 Thread Baro
-0.549641, 0.435662, -0.328995, > >> >> 0.0869976, -0.0851428, -0.191019, 0.188799, -0.373707, 0.434814, > >> >> -0.51979, 0.61944, -0.554766, 0.662571, -0.557779, 0.543724, > >> >> -0.452397, 0.293651, -0.248438, 0.0532787, -0.0185775, -0.176117, > >> &

Re: [R] NAs introduced by coercion warning, while plotting data

2014-01-07 Thread PIKAL Petr
rom: Baro [mailto:babak...@gmail.com] Sent: Tuesday, January 07, 2014 4:02 PM To: PIKAL Petr Cc: R help Subject: Re: [R] NAs introduced by coercion warning, while plotting data thank you for your answer, I am reading my Data from an excel File. This is my R code: srow<-2421 wb <- loadWorkbo

Re: [R] NAs introduced by coercion warning, while plotting data

2014-01-07 Thread jim holtman
1979, 0.61944, -0.554766, 0.662571, -0.557779, 0.543724, >> >> -0.452397, 0.293651, -0.248438, 0.0532787, -0.0185775, -0.176117, >> >> 0.222021, -0.34723, 0.407796, -0.416123, 0.497159, -0.435225, >> >> 0.473375, -0.370811, 0.33683, -0.273933, 0.149871, -0.142623, >> &

Re: [R] NAs introduced by coercion warning, while plotting data

2014-01-07 Thread Baro
re straightforward! > > best > daniel > > Feladó: r-help-boun...@r-project.org [r-help-boun...@r-project.org] ; > meghatalmazó: Baro [babak...@gmail.com] > Küldve: 2014. január 7. 16:01 > To: PIKAL Petr > Cc: R help > Tárgy: R

Re: [R] NAs introduced by coercion warning, while plotting data

2014-01-07 Thread Dániel Kehl
-boun...@r-project.org] ; meghatalmazó: Baro [babak...@gmail.com] Küldve: 2014. január 7. 16:01 To: PIKAL Petr Cc: R help Tárgy: Re: [R] NAs introduced by coercion warning, while plotting data thank you for your answer, I am reading my Data from an excel File. This is my R code: srow<-2421

Re: [R] NAs introduced by coercion warning, while plotting data

2014-01-07 Thread Baro
0.016594, 0.0363428, -0.0533603, > >> 0.106158, -0.129363, 0.131993, -0.134909, 0.135686, -0.125387, > >> 0.0866545, -0.0668686, 0.043161, -0.0229738) > >> > >> You shall explain more clearly what you did (code) and what are your > data > >> (dput) >

Re: [R] NAs introduced by coercion warning, while plotting data

2014-01-07 Thread jim holtman
;> >> You shall explain more clearly what you did (code) and what are your data >> (dput) >> >> I presume that the story is not as simple as plotting a vector as you have >> suggested. >> >> Petr >> >> > -Original Message- >> &

Re: [R] NAs introduced by coercion warning, while plotting data

2014-01-07 Thread Baro
ain more clearly what you did (code) and what are your data > (dput) > > I presume that the story is not as simple as plotting a vector as you have > suggested. > > Petr > > > -Original Message- > > From: r-help-boun...@r-project.org [mailto:r-help-bo

Re: [R] NAs introduced by coercion warning, while plotting data

2014-01-07 Thread PIKAL Petr
vector as you have suggested. Petr > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Baro > Sent: Tuesday, January 07, 2014 3:40 PM > To: R help > Subject: [R] NAs introduced by coercion warning, while plo

[R] NAs introduced by coercion warning, while plotting data

2014-01-07 Thread Baro
Hi all I have such a Data and I want to plot them but I get this warning Warning message: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion " 7.0121, -0.673354, 0.749622, -0.549641, 0.435662, -0.328995, 0.0869976, -0.0851428, -0.191019, 0.188799, -0.373707, 0.434814, -0.51979

Re: [R] NAs introduced by coercion warning?

2009-11-24 Thread Don MacQueen
In my experience, it is generally due to something like this example: as.numeric(c('1','b','2')) [1] 1 NA 2 Warning message: NAs introduced by coercion There may be other operations that generate that error, I can't say for sure. But the above example illustrates what I look for when I

[R] NAs introduced by coercion

2009-11-23 Thread post009
I'm running cluster analysis on a data frame but when I calculate the distance I get this warning "NAs introduced by coercion". What does this mean? -- View this message in context: http://old.nabble.com/NAs-introduced-by-coercion-tp26482683p26482683.html Sent from the R help mailing list archi

[R] NAs introduced by coercion warning?

2009-11-23 Thread Omar Gonzalez Post
I'm running cluster analysis on a data frame but when I calculate the distance I get this warning "NAs introduced by coercion". What does this mean? [[alternative HTML version deleted]] __ R-help

Re: [R] NAs introduced by coercion

2008-03-11 Thread David Winsemius
Wim Bertels <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Hallo, > > i get a warning message that NAs are introduced by coercion, > so my idea is to write a function to see which values are turned > into NA > > For this i need to write a function to go through (loop) the > original da

[R] NAs introduced by coercion

2008-03-11 Thread Wim Bertels
Hallo, i get a warning message that NAs are introduced by coercion, so my idea is to write a function to see which values are turned into NA For this i need to write a function to go through (loop) the original data and the transformed (with the introduced na) to see which data were transformed