Displaying 20 results from an estimated 100 matches similar to: "how to convert strings back to values?"
2005 Nov 10
2
error in rowSums:'x' must be numeric
Dear All,
It's Eszter again from Hungary. I could not solve my problem form
yesterday, so I still have to ask your help.
I have a binary dataset of vegetation samples and species as a comma
separated file. I would like to calculate the Jaccard distance of the
dataset. I have the following error message:
Error in rowSums(x, prod(dn), p, na.rm) : 'x' must be numeric
In addition:
2005 Sep 13
6
form_tag & form_remote_tag html id attribute
Hello,
Is there a way to set the html element id for the form_tag and
form_remote_tag on the server side?
I want to have this resultant html...
<form id=''something'' ...
...
</form>
Thank you,
Brian Takita
2013 Apr 11
1
Ordination Plotting: Warning: Species scores not available
Hi,
I am working with a species-by-trait .csv file (columns=traits, rows=species) and get the following warning message when trying to plot results of both metaMDS and pcoa:
"Warning message:
In ordiplot(x, choices = choices, type = type, display = display, :
Species scores not available"
I am using a Gower's transformation in both procedures within the metaMDS or pcoa
2005 Oct 04
3
[Q] file_column help needed
Hi all,
I''m trying to use file_column to upload a picture but
I''m getting the following error:
"cannot convert nil into String"
caused by the last line in
FileColumnHelper::url_for_file_column(object_name,
method)
url << object.send("#{method}_relative_path")
I don''t have any images uploaded for existing entries
so does this not
2005 Mar 14
1
Significance of Principal Coordinates
Dear all,
I was looking for methods in R that allow assessing the number of
significant principal coordinates. Unfortunatly I was not very
successful. I expanded my search to the web and Current Contents,
however, the information I found is very limited.
Therefore, I tried to write code for doing a randomization. I would
highly appriciate if somebody could comment on the following approach.
2007 Sep 24
1
save 3dplot to file
I think it is an easy question but i haven´t found a solution since I
am r beginner.
I did this
plot3d(PCoA, type="p", col=rainbow(1000),size=5)
text3d(PCoA, text=Nam)
How can I save it including the labels to a jpg-file?
Thanks in advance.
Birgit
Birgit Lemcke
Institut für Systematische Botanik
Zollikerstrasse 107
CH-8008 Zürich
Switzerland
Ph: +41 (0)44 634 8351
2007 Oct 22
1
plot3d with more than 8 colors
Hello R user and helper!
I would like to get a 3d plot with coloured points.
I did that:
colors<-c(rep("2",7), rep("3",12), rep("4", 24), rep("5", 13), rep
("6", 8), rep("7", 51), rep("8", 1), rep("9", 15), rep("10", 53), rep
("11",3), rep("12",3), rep("13", 8),
2011 Oct 03
4
distance coefficient for amatrix with ngative valus
Hi,
I need to run a PCoA (PCO) for a data set wich has both positive and negative values for variables. I could not find any distancecoefficient other than euclidean distace running for the data set. Are there any other coefficient works with negtive values.Also I cannot get summary out put (the eigen values) for PCO as for PCA.
Thanks.
Dilshan
[[alternative HTML version deleted]]
2003 May 09
1
Principal coordinates analysis
Dear all,
Does anyone know how to run Principal Coordinates Analysis (PCoA) from a
squared euclidean dissimilarity matrix with R ?
Thanks,
*************************
Arnaud DOWKIW
Department of Primary Industries
J. Bjelke-Petersen Research Station
KINGAROY, QLD 4610
Australia
T : + 61 7 41 600 700
T : + 61 7 41 600 728 (direct)
F : + 61 7 41 600 760
**************************
2006 Jan 17
1
How to validate expiry date
Hi
How can I do the validation of date expiry (if the date is less
than today) in ruby.Can I do it using the validate method or other def
in the model class?
Thanks in advance,
Sainaba.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 21
4
rekord id-je .create után
Hali!
Mi a legegyszer?bb m?dja annak, hogy egy pl. note = Notes.create(...)
ut?n megkapjam az adott note ActiveRecord id-j?t (primary key)? Sajnos
ez ugye 0, mivel frissen lett l?trehozva...
?tlet?
G?bor
2006 Feb 07
0
Subsetting matrices
Dear R-Helpers,
I am working on a dataset containing ca. 500 specimens of 17 different
species. The data is three text columns, followed by ca 70 columns of
binary data.
I'm trying to write a function that will allow me to interactively
exclude species using the inofrmation in the third text column. My
function, matrix.slicer, appears to work as I intend. However, when I
pass the
2006 Apr 24
6
Error starting lighttpd
Hi, I''m getting the following error message when I try to start lighttpd:
BEGIN ERROR:
$ script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
2006-04-24 03:29:39: (mod_fastcgi.c.1022)
2013 Jan 19
0
Cluster Analysis and PCoA (mixt variables)
Hello everyone,
I mail you because of my lake of knowlegde regarding statistics.
I'm using the CA and PCoA (but maybe should I use some other techniques) to
determine the differences and similarities between a large sample of plants
using different kind of traits through matrix of mixte variables.
I understood that the daisy() function using the gower metric and defining
the different type
2007 Jan 11
1
zero margin / marginless plots
Hi,
I'd like to produce a marginless or zero margin plot so that the pixel
coordinates represent the mathematics.
xy<-data.frame(x=c(0,1,1,0,0),y=c(0,1,0,0,1))
png('junk.png',width=300,height=300)
par(mar=c(0,0,0,0))
plot(xy$x,xy$y,xlim=c(0,1),ylim=c(,1))
dev.off()
The resultant file has about a 10 pixel margin around these lines, and I'm
not sure what parameter or function
2004 Aug 25
0
Eltemette az elefánt-trutyi
--------------------------------------------------
Eltemette az elef?nt-trutyi
Paderborn, N?metorsz?g Friedrich Riesfeldt ?llatkerti gondoz? sz?kreked?ses elef?ntj?nak beadott 22 adag ?llati hashajt?t ?s megetette egy v?ka szederrel, f?g?vel ?s szilv?val. A bedugult vastagb?r? v?g?l els?lt - ?s megfojtotta a gondoz?t 200 font trutyival. A vizsg?lat szerint a 46 ?ves Friedrich megpr?b?lt a beteg
2013 May 01
1
Combine multiple tables into one
Hi,
May be this helps:
dat1<- as.data.frame(table1)
?dat2<- as.data.frame(table2)
names(dat2)<-c("V3","V4")
library(plyr)
res<-join(dat1,dat2,type="full")
?res[is.na(res)]<- 0
?res
#? V1 V2 V3 V4
#1? 1? 1? 0? 0
#2? 1? 2? 0? 0
#3? 0? 0? 0? 1
#4? 0? 0? 0? 4
?combinedtable<-as.matrix(res)
?colnames(combinedtable)<- NULL
?combinedtable
#???? [,1] [,2]
2005 Oct 20
3
different F test in drop1 and anova
Hi,
I was wondering why anova() and drop1() give different tail
probabilities for F tests.
I guess overdispersion is calculated differently in the following
example, but why?
Thanks for any advice,
Tom
For example:
> x<-c(2,3,4,5,6)
> y<-c(0,1,0,0,1)
> b1<-glm(y~x,binomial)
> b2<-glm(y~1,binomial)
> drop1(b1,test="F")
Single term deletions
Model:
y ~
2018 Jan 10
0
Problem with dbFD function in FD library
Dear all,
I have a question about FD package. I?m trying to calculate functional
diversity indices using insect data. My trait data includes dispersal
ability (0, 0.5, 1), body size (continuous) and five feeding guilds coded
as in percentages (for example; 0,0,0.5,0.5,0) since some of the species
can have two different feeding guilds. However, the package only calculates
when I run ?calc.Frich=
2003 Oct 16
1
princomp with more coloumns than rows: why not?
As of R 1.7.0, princomp no longer accept matrices with more coloumns
than rows. I'm curious: Why was this decision made?
I work a lot with data where more coloumns than rows is more of a rule
than an exception (for instance spectroscopic data). To me, princomp
have two advantages above prcomp: 1) It has a predict method, and 2)
it has a biplot method.
A biplot method shouldn't be too