[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,

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 = mat1,

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

[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,

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

2014-01-07 Thread PIKAL Petr
a 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 plotting data Hi all I

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

2014-01-07 Thread Baro
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 plotting data Hi all I have

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

2014-01-07 Thread jim holtman
, 2014 3:40 PM To: R help Subject: [R] NAs introduced by coercion warning, while plotting data 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

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

2014-01-07 Thread Baro
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 plotting data

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

2014-01-07 Thread Baro
straightforward! best daniel Feladó: r-help-boun...@r-project.org [r-help-boun...@r-project.org] ; meghatalmaz#243;: 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

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

2014-01-07 Thread Dániel Kehl
-boun...@r-project.org] ; meghatalmaz#243;: 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 wb

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

2014-01-07 Thread jim holtman
as plotting a 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

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

2014-01-07 Thread PIKAL Petr
...@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 - loadWorkbook(C:\\users\\Babak\\Desktop

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

2014-01-07 Thread Baro
-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 plotting data Hi all I have

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 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] 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

[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

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 data and