Hi
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Kirsten
> Green
> Sent: Tuesday, October 18, 2016 9:27 PM
> To: David L Carlson
> Cc: r-help@r-project.org
> Subject: Re: [R] MDS, line of best fit, and id of variables
>
> David,
>
> I have run the
Hello everyone,
I am trying to figure out if I can install R in a relative path? The reason I
need to do this is to send R along to a Hadoop cluster so that I can use sparkR
with the R version I shipped. The Hadoop cluster doesn't have R installed and
the admin won't install it.
I tried a few
You need to spend time with an R tutorial or two. Your error is due to
ignorance of basic R data structures.
Bert
On Oct 18, 2016 10:48 PM, "Kirsten Green" wrote:
> David,
>
> I have run the str() function and all my data is int (integer). So I am
> trying to change it to numeric using:
> str(m
David,
I have run the str() function and all my data is int (integer). So I am
trying to change it to numeric using:
str(mortdata)
class(mortdata)
is.numeric(mortdata)
mortdata.num <- as.numeric(data.frame(mortdata))
But I keep getting an error: > mortdata.num <- as.numeric(data.frame(
mortdata))
You do not need to change it to numeric if it is integer. But if you want to
change it, you need to follow the example I included and use sapply().
Here is my effort to replicate your error. Since I'm using random data, it
fails to converge, but I do not get the error message you are getting. T
What do you get with str(mortdata)? The error message indicates that at least
one of the variables is not numeric and the second suggests it is a factor. You
said the values were coded binomially, but they must be numeric, e.g. 0, 1 and
not "Present" "Absent" or something like that. If they are
On 10/18/16, 12:52 PM, "Duncan Murdoch" wrote:
>On 18/10/2016 12:38 PM, Roebuck,Paul L wrote:
>> Any reason untar() has an "exdir" argument (the equivalent of "tar -C"),
>> but tar() does not?
>
>Because you can specify the source directory in the files argument using
>list.files(). There's no n
On 18/10/2016 12:38 PM, Roebuck,Paul L wrote:
Any reason untar() has an "exdir" argument (the equivalent of "tar -C"),
but tar() does not?
Because you can specify the source directory in the files argument using
list.files(). There's no need to duplicate that in tar().
Duncan Murdoch
_
Hi,
I have created a dataset that includes 28 rows (burials) and 27 columns
(variables) that are coded binomially. I have gotten metaMDS to run in the
pst but now can't seem to get it run at all.
Error message:
> mortdata.mds <- metaMDS(mortdata)
Error in FUN(X[[i]], ...) :
only defined on a dat
On 10/14/16, 1:52 PM, "R-help on behalf of Anže Dejak" wrote:
>So, the thing with my version of R (I'm using RStudio for R x64 3.3.0 in,
>currently, Windows 7) is, that I'm able to set the working directory
>temporary (through using setwd() function), but once I try to set it
>permanently (through
Any reason untar() has an "exdir" argument (the equivalent of "tar -C"),
but tar() does not?
The information contained in this e-mail message may be privileged,
confidential, and/or protected from disclosure. This e-mail message may contain
protected health information (PHI); dissemination of PH
Dear Milu,
If your objective is to match the places from one table to the nearest
place in the second table, you can generally use knn algorithm for 1
nearest neighbourhood.
But please, check what David suggests first.
Best regards,
Michal
2016-10-16 19:24 GMT+02:00 David Winsemius :
>
> > On Oc
If those are in "ndjson" files or are indeed single records, `ndjson`
functions will be a few orders of magnitude faster and will produce
perfectly "flat" data frames. It's not intended to be a replacement
for `jsonlite` (a.k.a. the quintessential JSON pkg for R) but it's
tailor made for making qui
Hi!
18.10.2016, 14:38, Abhinaba Roy wrote:
Hi R helpers,
I have json inputs from an app which I want to convert to dataframes. Below
are the two inputs. Can someone help me in converting these to dataframes
[...]
IMHO, the best way is to use the package 'jsonlite', see:
* https://cran.r-pro
Hi R helpers,
I have json inputs from an app which I want to convert to dataframes. Below
are the two inputs. Can someone help me in converting these to dataframes
*Input1*
{"booking":{"id":"54092","createdOn":"2016-10-06T06:29:00.000+","bookingDateTime":"2016-10-08T06:45:00.000+
15 matches
Mail list logo