to 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
5, RAT = FALSE)
> Error in data.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 <kpmain...@gmail.com>
> wrote:
&g
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,
at 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
appreciated!
ᐧ
Postdoctoral Associate
Department of Biology
University of Maryland, College Park
On Mon, Jun 6, 2016 at 9:24 AM, Roger Bivand <roger.biv...@nhh.no> wrote:
> On Mon, 6 Jun 2016, Kumar Mainali wrote:
>
> I am trying to use unionSpatialPolygons() of maptools to e
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]]
___
>
>
>
> On Fri, Oct 9, 2015 at 5:49 PM, William Dunlap <wdun...@tibco.com> 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
> > sui
because of R's recycling)
> the first color in the sequence is c(1, 0, 0) or red ##FF and the
> second color is c(1, 1, 0) #00 or yellow.
>
> Sarah
>
> On Fri, Oct 9, 2015 at 11:16 AM, Kumar Mainali <kpmain...@gmail.com>
> wrote:
> > Hi Jim,
> >
uot;) OR
> cs1=c(1,0),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
>
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
), 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.org mailing list
=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 Mainali kpmain...@gmail.com
wrote:
I want to calculate phi coefficient
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
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 mailing list
https://stat.ethz.ch/mailman/listinfo/r
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 cond =
*1 â (2857
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 cond =
*1 â
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
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 Biology
University of Texas at Austin
Austin
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, type,
#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---
Sent from my phone. Please excuse my brevity.
Kumar Mainali kpmain...@gmail.com wrote:
I am trying to copy files to a password
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,
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 kri...@ymail.com wrote:
Hello,
?assign
assign(paste(plotroc_GBM_Trn_**, i, sep=), matrix(rnorm(100),10,10))
HTH,
Pascal
Le 30/01/2013 17:04, Kumar
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))
## Choose
Thank you every body for your suggestion. It does help.
On Fri, Apr 6, 2012 at 2:37 AM, windmagics_lsl shfu_...@163.com 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
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 do
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
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=All
28 matches
Mail list logo