Re: [R] R ecuatia error

2013-04-07 Thread Rui Barradas
Hello, What is the output of str(pg)? Is pg a data.frame? Rui Barradas Em 07-04-2013 14:14, catalin roibu escreveu: Dear all! I have a problem when I use this equation with R. mpr <- 843.75*exp(-1.119*pg) Error in FUN(left, right) : non-numeric argument to binary operator pg 01 02 03 04

[R] R ecuatia error

2013-04-07 Thread catalin roibu
Dear all! I have a problem when I use this equation with R. mpr <- 843.75*exp(-1.119*pg) Error in FUN(left, right) : non-numeric argument to binary operator pg 01 02 03 04 05 06 07 08 09-236 10-63T 11 12 13 14 15 16 17-234 18 19 20 23 1592 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA N