Hi I?m using bar plot function And I have in my data some zero, but my data are numerics and when i try to use bar plot i have a warning message of ? NA was introduced during the automatic conversion ? and i can?t see my bar plot. So if somebody have an idea for that? Thanks cl?mence
Le 10/01/2014 21:41, Clemence Germaine a ?crit :> Hi > > I?m using bar plot function > And I have in my data some zero, but my data are numerics and when i try to use bar plot i have a warning message of ? NA was introduced during the automatic conversion ? and i can?t see my bar plot. > > So if somebody have an idea for that? > > Thanks > > cl?mence > ______________________________________________ >barplot(c(9, 0, 7, 0, 9)) works perfectly for me. You must send a reproducible exemple to have some help. For example if you data are in dat object, perform: dput(dat) and send in the list the result of this command. Sincerely Marc Girondot
On 01/11/2014 07:41 AM, Clemence Germaine wrote:> Hi > > I?m using bar plot function > And I have in my data some zero, but my data are numerics and when i try to use bar plot i have a warning message of ? NA was introduced during the automatic conversion ? and i can?t see my bar plot. > > So if somebody have an idea for that? >Hi Cl?mence, A wild guess is that your data are not actually numeric, but factor. This can happen when at least one element of the data that have been read in cannot be coerced to a number, e.g.: 1 4 B 7 ... If you could send your data, or if too large or too confidential, a sample that shows the problem, we can probably offer better suggestions. Jim