Re: [R] Zoom In/Out maps library

2019-03-07 Thread rmendelss gmail
world.map <- maps::map("world", plot = FALSE, fill = TRUE) p <- sf:: st_as_sf(world.map, coords = c('x', 'y')) map view::map view(p) HTH, -Roy > On Mar 6, 2019, at 1:44 PM, reichm...@sbcglobal.net wrote: > > R Help > > Anyone know if I can add a zoom In/Out function to the maps available via t

Re: [R] dplyr : row total for all groups in dplyr summarise

2016-07-06 Thread rmendelss gmail
> On Jul 6, 2016, at 9:36 AM, David Winsemius wrote: > > n this case the text was cut from the R session console text and pasted > without modification into Mail.app version 8.2. In replicating this action, I > see now that hitting "return" then unfortunately converts the final > double-quote

[R] glmer() -> corrected AUC optimism by bootstraping technic bootMer() [internal validation of a mixed-effects-model]

2016-03-24 Thread Andreu Ferrero Gmail
> > > I would like to do an internal validation of a discriminative ability of a > mixed effects models. > > Here is my scrip: > > ### > bootMer-> boot AUC# > ### > > library(lme4) > library(lattice) > data(cbpp) > > #fit a model > >

[R] Error running help.search("keywords")

2015-06-04 Thread Yo Gmail
Hi, When running help.search(“linear algebra”) or any other valid search keyword the following error is being returned: Error in help(db[i, "topic"], package = db[i, "Package"], lib.loc = lib, : 'topic' should be a name, length-one character vector or reserved word I have not installed the

[R] Extract random effect variances from lmer (lme4) model

2014-12-08 Thread GMAIL
I have a mer object that has fixed and random effects (lmer). How do I extract the variance or standard deviation estimates for the random and fixed effects? Here is a simplified version of my question: pcrpred <- lmer(PCR ~ (1|TIME) + (1|ID), data = mydataPCRlong) pcrpred This gives a long

Re: [R] Change data format query

2014-02-19 Thread drruddy gmail
appropriate reshape2 function. Hadley On Wed, Feb 19, 2014 at 9:18 AM, drruddy gmail wrote: > > # Data manipulation problem # > > Please my Git repo at <https://github.com/markruddy/RAD.git> > > Running RStudio 0.97.248 > > The dataset RYA13Report_t

Re: [R] Change data format query

2014-02-19 Thread drruddy gmail
. And knowledge is certainly not wisdom." H. Gilbert Welch On Wed, Feb 19, 2014 at 7:18 AM, drruddy gmail wrote: > > # Data manipulation problem # > > Please my Git repo at <https://github.com/markruddy/RAD.git> > > Running RStudio 0.97.248 > > The d

[R] Change data format query

2014-02-19 Thread drruddy gmail
# Data manipulation problem # Please my Git repo at Running RStudio 0.97.248 The dataset RYA13Report_transect_AB.csv is in a sort of 'longform' at the moment. Which I would like to change so that: 1. Each Pack_Name is a column 2. Each BH_Name is a row 3.

[R] Counting variables repeted in dataframe columns to create a presence-absence table

2013-11-28 Thread Gmail
Hi! I'm new in R and I'm writing you asking for some guidance. I had analyzed a comparative genomic microarray data of /56 Salmonella/ strains to identify absent genes in each of the serovars, and finally I got a matrix that looks like that: > data[1:5,1:5] Abortusovis07918 Agona08561 Anat

[R] need help for R's installation

2012-12-02 Thread 蔡良良的gmail邮箱
Hi everyone, I met a erro on the HP-UX system when I compile with the R-2.15.2.tar.gz. the command and erro are shown as follows, I try many times hope anyone can help me. Thanks! $ cd R-2.15.2 $ bash ./configure --with-readline=no --with-x=no checking build system type... ia64-hp-hpux

Re: [R] rjdbc identifier.quote

2011-02-09 Thread Armand Pirvu (gmail)
us that maybe I hit a snag in RJDBC ? Thanks A On Feb 9, 2011, at 9:50 PM, Gabor Grothendieck wrote: > On Wed, Feb 9, 2011 at 9:06 PM, Armand Pirvu (gmail) > wrote: >> Dear all >> >> >> Backend is Ingres DBMS >> I use RJDBC with Ingres JDBC driver >>

[R] rjdbc identifier.quote

2011-02-09 Thread Armand Pirvu (gmail)
Dear all Backend is Ingres DBMS I use RJDBC with Ingres JDBC driver I have this csv file "","Strategy","par1","m.1997.09.01" "1","ALF",2,0.1244 which I try to load it RJDBC require (RJDBC) drv <- JDBC("com.ingres.jdbc.IngresDriver","/home/ingres/ingresv1/ingres/lib/iijdbc.jar") conn <- dbC

[R] [Q] How to extract cross validation results from e1071's svm model

2010-09-11 Thread GMail (KU)
Dear all, Is it possible to extract cross-validation results from e1071's svm model? For example, the following R code shows the result from the 10 fold cross-validation. model = svm(spam ~ ., data = spam, cross = 10) summary(model) But, I could not figure out how to get to the accuracy values

[R] [Q] Goodness-of-fit test of a logistic regression model using rms package

2010-09-01 Thread GMail (KU)
Hello, I was looking for a way to evaluate the goodness-of-fit of a logistic regression model. After googling, I found that I could use "resid(fit, 'gof')" method implemented in the rms package. However, since I am not used to the "le Cessie-van Houwelingen normal test statistic," I do not know

[R] Doubt about a population competition function

2010-07-24 Thread Gmail
Hi, I'm doing a function that describe two populations in competition. that's the function that i wrote: exclusao<-function(n10, n20, k1, k2, alfa, beta, t){ n1<-k1-(alfa*n20) n2<-k2-(beta*n10) if(t==0){plot(t, n10, type='b', xlim=range(c(1:t),c (1:t)), ylim=range(n10, n20), xlab='tempo', ylab

Re: [R] order two dataframes by an integer column from either data frame

2010-02-19 Thread Paul Rigor (gmail)
Thanks, I ended up using that method! On Fri, Feb 19, 2010 at 7:53 AM, Dieter Menne wrote: > > > Paul Rigor (ucla) wrote: > > > > I have two data frames that share a common column, data1.name and > > data2.name. > > How would I be able to order the other based on an integer column from > > eithe

[R] error in function AMER

2009-09-30 Thread Marilia Gmail
Dear all, I am trying to reproduce the example in the vignette "Using lme4 to fit Generalized Additive Mixed Models" with my dataset. But... > exemplo <- read.table(exemplo.dat,header=T) > mod <- amer(pasvig ~ -1 + harvf + tp(dias,by=harvf) + (1 | pac), data=exemplo) Erro em if (from == to)

[R] problems in cross validation of SVM in pakage "e1071"

2007-10-27 Thread Gmail
Hi: I am a newer in using R for data mining, and find the "e1071" pakage an excellent tool in doing data mining work! what frustrated me recently is that when I using the function "svm" and using the "cross=10" parameters, I got all the "accuracies" of the model greater than 1. Isn't that the