Skip to content
Back to formatted view

Raw Message

Message-ID: <CAGsroM1s6FEDUzFD0MSaYL297hgXJ=u4Mdx1XJz7h_51CUjyUQ@mail.gmail.com>
Date: 2017-02-06T22:21:49Z
From: george brida
Subject: diff doesnot work

Dear R users,

I have a txt file entitled coc composed by one column of numeric values
without header and having 50 rows. This file is under the following path:

C:\\Users\\intel\\Documents\\TR

I have written the following lines:

xcx=read.table("C:\\Users\\intel\\Documents\\TR\\coc.txt",header=F)
xc=log(xcx)

I have obtained the series xc but when I wrote
x=diff(xc)

I obtained the following message:

data frame with 0 columns and 50 rows

I don't know where is the problem. Can you help me please

	[[alternative HTML version deleted]]