> On 25 Apr 2017, at 08:21, catalin roibu wrote:
>
> Dear all,
>
> I have a problem with the newest R version. I'm trying to install a
> specific package dplR how need the gpm package and I have this error on my
> macbook (OS Sierra):
>
>> install.packages("dplR")
> also installing the depende
Dear all,
I have a problem with the newest R version. I'm trying to install a
specific package dplR how need the gpm package and I have this error on my
macbook (OS Sierra):
> install.packages("dplR")
also installing the dependency ‘gmp’
Packages which are only available in source form, and may
By 163863 "values" do you mean rows in the data frame? If so, please
read about indexing in any online R tutorial or the Intro to R
tutorial that ships with R. This is an absolutely basic R operation,
and if you are unwilling or unable to put in the time to learn about
it, you should probably consi
I have a data frame having 163863 values. I want to subset it so that each set
has 6069 values in it. for example 1:6069 as first, 6070: 6070+6068 as second.
how can I do that, preferably in a loop.
TIA
[[alternative HTML version deleted]]
_
This can be easily done in base R.
The solution below is pedestrian, transparent and explicit. Thus it's easy to
debug and validate(!) each step.
Prepare:
(1) Save your Excel spreadsheet as a text file with tab-separated values.
(2) Initialize a 128 * 128 matrix to hold your results. It should ha
There is no way that I have the tenacity to wade through your verbiage
(maybe other hardier souls will). However, it sounds like you are
trying to reinvent wheels. I think you want: ?substitute.
> f <- function(exp)substitute(exp)
> f(1:100)
1:100
see also ?delayedAssign for direct manipulation o
Dear Mustafa,
I'd recommend the packages readxls to import the data, tidyr to transform
the data into long format and dplyr to select the data.
1. read the data into R with read_excel()
2. transform sheet 1 into a long format with gather(). The result is one
row for each patient / drug combinatio
Hi, I’m playing around with ways of implementing lazy evaluation of
expressions. In R, function arguments are evaluated as promises but expressions
are evaluated immediately, so I am trying to wrap expressions in
thunks—functions with no arguments that evaluate an expression—to get something
th
Please don't cross post. You've send the message to the mixed models
mailing list as well (which more appropriate).
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance
Kliniekst
David:
Your code worked beautifully.
This little ditty should be high-profile for those who work big data,
which are virtually never accompanied with a data dictionary.
This code is the first step to grab the data at large to bring it down
in size.
Excellent.
Thank you.
Bruce
David L Carlso
David:
Sorry, of course I will show you the code:
Copy-Pasteable
PROC CONTENTS data=IN
out = vars (keep = name type) noprint;
run;
PROC SQL noprint;
select name into :varlist_is_here separated by ’ ’ from vars;
quit;
%put _global_ ;
Bruce Ratner, Ph.D.
The Significant Statistician™
(516) 791-3544
11 matches
Mail list logo