I have used foreach() for parallel computing but in the current problem, it
is not working. Given the volume and type of the data involved in the
analysis, I will try to give below the complete code without reproducible
example.
In short, each R environment will draw a set of separate files, perfo
ata.frame(values = unlist(unname(x)), ind, stringsAsFactors =
> FALSE) :
> arguments imply differing number of rows: 25, 0
>
> HTH,
>
> Peter
>
> On Wed, Dec 6, 2017 at 10:03 PM, Kumar Mainali
> wrote:
> > I have used foreach() for parallel computing but in the cur
use the usual location for
temp files in the internal HD.
Thanks in advance,
Kumar Mainali
--
Postdoctoral Associate
Department of Biology
University of Maryland, College Park
ᐧ
[[alternative HTML version deleted]]
__
R-help@r-project.org
the root). In the subsequent splits, this formula is
slightly different.
There probably is a function to get this done within R. Any help is
appreciated.
Thank you,
Kumar Mainali
--
Postdoctoral Associate
Department of Biology
University of Maryland, College Park
ᐧ
[[alternative HTML
raster}
(IDs <- p.ranges$style_id)
library(maptools)
unionSpatialPolygons(p.ranges, IDs = IDs, threshold = 1.5)
-- Kumar Mainali
Postdoctoral Associate
Department of Biology
University of Maryland, College Park
ᐧ
[[alternative HTML version deleted]]
___
appreciated!
ᐧ
Postdoctoral Associate
Department of Biology
University of Maryland, College Park
On Mon, Jun 6, 2016 at 9:24 AM, Roger Bivand wrote:
> On Mon, 6 Jun 2016, Kumar Mainali wrote:
>
> I am trying to use unionSpatialPolygons() of maptools to eliminate sliver
>> in species r
sample(c(0,1), 10, replace=TRUE)
df <- data.frame(x,y,z)
cor(df)
library(psych)
phi(df)
Thank you,
Kumar Mainali
Postdoctoral Associate
Department of Biology
University of Maryland
ᐧ
[[alternative HTML version deleted]]
__
R-help@r-project
t;-matrix(NA,nrow=xcol,ncol=xcol)
> for(i in 1:xcol) {
> for(j in 1:xcol) newx[i,j]<-phi(table(x[,i],x[,j]))
> }
> rownames(newx)<-colnames(newx)<-colnames(x)
> return(newx)
> }
> phimat(df)
>
> Jim
>
>
> On Wed, Apr 22, 2015 at 6:34 AM, Kumar Mai
number of
sets: [image: \{\{1, 2, 3\}, \{4, 5\}\}].
Thank you,
Kumar Mainali
Postdoctoral Fellow
Environmental Science Institute
The University of Texas at Austin
ᐧ
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To
green and other ranges.
Thanks,
Kumar Mainali
Postdoctoral Associate
Department of Biology
University of Maryland, College Park
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https
),cs2=(c(1,1),cs3=0
>
> Obviously the shades of colors that you want may differ from the above, so
> you have to play with the values to get the ones you want. In many cases,
> you will have to specify more than two numbers for the color specs to get
> the "in between" colors ri
ycling)
> the first color in the sequence is c(1, 0, 0) or red ##FF and the
> second color is c(1, 1, 0) #FFFF00 or yellow.
>
> Sarah
>
> On Fri, Oct 9, 2015 at 11:16 AM, Kumar Mainali
> wrote:
> > Hi Jim,
> >
> > Thank you! Your color code does work. I sti
, Oct 9, 2015 at 5:49 PM, William Dunlap wrote:
> > Try setting the na.color argument of color.scale to a color string,
> > not NA. "#0000" (alpha = 0 is the key part) is transparent so it it
> > might
> > suit your needs.
> >
> > Bill Dunlap
> >
I have a situation when I need to save matrix with file names that are
programmatically created.
for (i in levels(mergeTrn$Continent)) {
matrix here
# I want to save this matrix with a file name that carries "i" from for
loop. The following does not work.
paste("plotroc_GBM_Trn_", i,
Thank you Pascal and Greg for the suggestion. That is exactly what I needed!
- Kumar
On Wed, Jan 30, 2013 at 2:14 AM, Pascal Oettli wrote:
> Hello,
>
> ?assign
>
> assign(paste("plotroc_GBM_Trn_**", i, sep=""), matrix(rnorm(100),10,10))
>
> HTH,
I am trying to copy files to a password protected drive which is "Ranch" at
TACC from another network drive. I am logged in to the source drive and can
run R there. The following code does not even find the destination folder.
file.copy("sourcedrive/file.tar", "
usern...@ranch.tacc.utexas.edu/uniq
O.O#. #.O#. with
> /Software/Embedded Controllers) .OO#. .OO#. rocks...1k
> ---
> Sent from my phone. Please excuse my brevity.
>
> Kumar Mainali wrote:
>
> >I am trying to copy f
Hello,
I can draw a basic stress plot for NMDS with the following code in package
Vegan.
> stressplot(parth.mds, parth.dis)
When I try to specify the line and point types, it gives me error message.
> stressplot(parth.mds, parth.dis, pch=1, p.col="gray", lwd=2, l.col="red")
Error in plot.xy(xy, t
evels that delineate clusters.
dataEnvDist <- vegdist(dataEnv, method="bray") ## bray curtis dissimilarity
meanDist <- meandist(dataEnvDist, dataFact$Source_by_Type)
plot(meanDist, ylab="Mean dissimilarity")
Thanks in advance.
Kumar Mainali
--
Section of Integrative B
Some of the levels in my X factor has more than one word (e.g., North
America) which I would like to split into two lines so that my plot does
not get too wide. Any help is appreciated.
lineplot.CI(x.factor = Continent, response = PCC.PrsPts, group =
PointSource, data = master2, cex = 1.2,
xlab =
o tabulate deviance explained by all
variables. I cannot seem to find it. The function printcp gives you a nice
table with rel error which you can use to estimate R^2. But printcp gives
output for variously sized trees, not for variables entered into the model.
- Kumar Mainali
the deviance explained by co
e deviance explained by all
variables. I cannot seem to find it. The function printcp gives you a nice
table with rel error which you can use to estimate R^2. But printcp gives
output for variously sized trees, not for variables entered into the model.
- Kumar Mainali
the deviance explained by co
For instance, I did it manually for one variable in one split as
below:
the deviance explained by cond =
*1 â (2857+491)/3905.98 = 0.1426*
Thank you.
- Kumar Mainali
á§
[[alternative HTML version deleted]]
__
R-help@r-project.org mailin
Dear R users,
I cannot display ylab with the following code while trying to stack 7 rows
of 3 histograms each. Thanks in advance!
par(mfrow=c(7,3))
par(mar=c(2,2,2,2))
par(oma=c(5,5,0,0))
with (newdata <- subset(table, Month1 == "1"), hist(newdata$CarapWid,
breaks=5*(0:80), col="gray80", main="A
Greetings
I have a dataset with occurrence records of multiple species. I need to get
rid of multiple listings of the same occurrence point for a species (as you
see below in red and blue typeface). How do I create a dataset only with
unique set of longitude and latitude for each species? Thanks i
I am trying to find an efficient way to select certain text files from a
folder with thousands of text files. I used file.list function with a
specific "pattern" to obtain 70 files for each of the i's in 1:100. Next, I
need to select some files from this list of 70 files. The files to be
selected d
I have a bivariate plot of axis2 against axis1 (data below). I would like
to use different size, type and color for points in the plot for the point
coming from different region. For some reasons, I cannot get it done. Below
is my code.
col <- rep(c("blue", "red", "darkgreen"), c(16, 16, 16))
## C
Thank you every body for your suggestion. It does help.
On Fri, Apr 6, 2012 at 2:37 AM, windmagics_lsl wrote:
> I think there may 3 legends should be added in your plot
> the argument col, pch and pt.cex should be in the same length with legend,
> but the objects col, pch
> and cex you defined
28 matches
Mail list logo