Displaying 2 results from an estimated 2 matches for "jangann".
Did you mean:
jangan
2004 Mar 15
0
Simple numeric
...he numeric columns as numbers.
You can also specify specific columns such as as.is=3:4 if you
want columns 3 and 4 to be character but other character columns
to be factors.
---
Date: Mon, 15 Mar 2004 11:04:08 -0500 (EST)
From: Tom Blackwell <tblackw at umich.edu>
To: Janet Gannon <jangann at mote.org>
Cc: <r-help at stat.math.ethz.ch>
Subject: Re: [R] Simple numeric "as.is" question
Janet -
Try x2 <- as.numeric(as.character(x))
hist(x2)
I'm not a Windows user, so I can't test this before sending.
It might solve the problem, might not.
(Flam...
2004 Mar 15
8
Simple numeric "as.is" question
I am reading a list of numbers from my clipboard, and have been
successful, except I can't make a histogram as R doesn't recognize my
variable as numeric. I know I need to use "as.is", but the specifics
escape me.
I have used x<-read.table("clipboard", header=F) to import from a txt
file. How do make this numeric? Thanks, J.