Hi!
I have this code which is working
formula <- function(x){
return(x)
}
For( x in names)
{
x5 <- rbind(x5,formula(x))
}
Now, I want to convert this code to parallel processing, so i am using
foreach function
foreach(x=names, .packages="checkpoint" ,.combine=
I have this code which is working
library("checkpoint")
library("gtrendsR")
library("doParallel")
cl<-makeCluster(4)
registerDoParallel(cl)
gconnect(usr = "em...@gmail.com", psw = "password", verbose = FALSE)
names <- c("apple","shit", "android", "rocks")
formula <- function(x){
x0 <- gtrends(x,
e National Laboratory
> 7000 East Ave., L-627
> Livermore, CA 94550
> 925-423-1062
>
>
>
>
>
> On 5/14/15, 5:07 AM, "samarvir singh" wrote:
>
> >I Have a data frame named BSE and CP is my independent variable
> >and here;s the error I get if
I Have a data frame named BSE and CP is my independent variable
and here;s the error I get if I try to run an lm function
any idea whats wrong
P.S - all my data is in numeric except company which is a factor. I have
2700 row and 450 variable
P.P.S - I have no missing data, I have 0 in Empty fiel
Hello,
I am working with some 2700 files in .xlsx format
Like the one attached below
I want to transform all tabular data to a single row as shown below in
example or in attachment
so that all data can be used as a variable.
and replicate all to make a single csv file which has all the data
EXAM
I installed CARET package, but when I try to load CARET. I see this error.
Please help. thank you
install.packages("caret")
trying URL '
http://cran.rstudio.com/bin/macosx/mavericks/contrib/3.1/caret_6.0-41.tgz'
Content type 'application/x-gzip' length 3997718 bytes (3.8 Mb)
opened URL
==
rd to copy and
> paste. Alternatively, don't post in HTML, because it screws up your
> code.
>
> On Wed, Apr 8, 2015 at 8:57 PM, samarvir singh
> wrote:
> > So I have a list that contains certain characters as shown below
> >
> > `list <- c("MY",&qu
So I have a list that contains certain characters as shown below
`list <- c("MY","GM+" ,"TY","RS","LG")`
And I have a variable named "CODE" in the data frame as follows
`code <- c("MY GM+", ,"LGTY", "RS","TY")`
'x <- c(1:5)
`df <- data.frame(x,code)`
df
x code
1 MY GM+
2
3 LGT
hello,
I am cleaning some large data with 4 million observation and 7 variable.
Of the 7 variables , 1 is name/string
I want to subset data, which have same name
Example-
Name var1 var2 var3 var4 var5 var6
aa- - - - --
ab
bd
ac
ad
af
ba
bd
aa
av
i want
9 matches
Mail list logo