Hi Mark, It gives me num [1:5083]. I have used head also to see first 10 obs:
head(SFDC$case_age,10) [1] 24.84 0.05 13.38 0.15 11.11 4.16 8.13 0.07 3.61 0.00 Thanks. On Tue, Aug 30, 2016 at 10:05 PM, Mark Sharp <msh...@txbiomed.org> wrote: > What do you get from > str(SFDC$case_age) > > Mark > > R. Mark Sharp, Ph.D. > Director of Primate Records Database > Southwest National Primate Research Center > Texas Biomedical Research Institute > P.O. Box 760549 > San Antonio, TX 78245-0549 > Telephone: (210)258-9476 > e-mail: msh...@txbiomed.org > > > > > > > > > On Aug 30, 2016, at 11:24 AM, Shivi Bhatia <shivipm...@gmail.com> wrote: > > > > I know this question has been asked zillion times but even after > consulting > > Stack Overflow & other forum cant figure out the reason. > > > > I have one var in my data-set names case age. This variable is numeric > as: > > > > class(SFDC$case_age) > > > > *numeric* > > > > however it throws this error: > > > > <0 rows> (or 0-length row.names) > > As checked this only happens either there is some space at the end of the > > variable name, or there are no values whereas this is a numeric variable > > with no missing values and has a total of 5400 observations. > > > > This var has a range from 0 to 240 in number of days for case variable > > hence i need to do a logarithm transformation & make it use in the model. > > Total unique obs are around 1500. > > > > Please advice. > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/ > posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > CONFIDENTIALITY NOTICE: This e-mail and any files and/or attachments > transmitted, may contain privileged and confidential information and is > intended solely for the exclusive use of the individual or entity to whom > it is addressed. If you are not the intended recipient, you are hereby > notified that any review, dissemination, distribution or copying of this > e-mail and/or attachments is strictly prohibited. If you have received this > e-mail in error, please immediately notify the sender stating that this > transmission was misdirected; return the e-mail to sender; destroy all > paper copies and delete all electronic copies from your system without > disclosing its contents. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.