Displaying 6 results from an estimated 6 matches for "scrs".
Did you mean:
scls
2008 Jan 24
4
using object.find() in a loop not returning an array
...results in
an instance variable so I can use that data in a view. However, this
code simply is overwriting the instance variable with each iteration.
Why? I want to end up with an array or hash in the instance var so I
can iterate through it in my view to display.
***CODE****
for scr in scrns
@scrs = Screen.find(:all, :conditions => [ "id = ?", scr.screen_id ])
end
***CODE****
I''ve tried modifying the statement above in multiple ways:
***CODE****
@scrs << Screen.find( blah blah
@scrs += Screen.find( blah blah
Screen.find( blah blah).collect blah
***CODE****
No...
2011 Aug 09
2
reflecting a PCA biplot
Hi Listers,
I am trying to reflect a PCA biplot in the x-axis (i.e. PC1) but am not
having much success. In theory I believe all I need to do is multiply the
site and species scores for the PC1 by -1, which would effectively flip the
biplot.
I am creating a blank plot using the plot command and accessing the results
from a call to rda. I then use the calls to scores to obtain separate site
and
2012 Nov 27
1
CCA plot
Hi, I have a couple questions about fitting environmental (land use
factors, plant species presence-absence, and soil variables) constraints to
my CCA biplot. 1. After successfully plotting species and site scores in my
CCA, I have been trying to insert the biplot arrows of the environmental
constraints in my data set using the text() function. When I do that, the
plot changes completely. Is there
2011 Sep 23
2
metaMDS
Hello R-user community,
I am applying the function metaMDS. However, I would like to know if there
is any option to export the data I got from the axis as a data frame.
I have tried as.data.frame.list but is not working. Any suggestion?
Thank you in advance for your help,
Lineth
[[alternative HTML version deleted]]
2009 Aug 25
3
adding factor scores back to an incomplete dataset...
I am sure there is a simple way to do the following, but i haven't been
able to find it. I am hoping a merciful soul on R-help could point me in
the right direction.
I am doing a factor analysis on survey data with missing values. to do
this, I run:
FA1<-factanal(na.omit(DATA), factors = X, rotation = 'oblimin', scores =
'regression')
Now that I have my factors and
2012 Jul 27
1
labeling loading vectors in vegan
Hello,
I am using vegan to do an NMDS plot and I would like to suppress the labels
for the loading vectors. Is this possible? Alternatively, how can I avoid
overlap?
Many thanks for the help.
Example code:
#perform NMDS using metaMDS() function
spe.nmds<-metaMDS(data, distance='bray',k=2 , engine = "isoMDS",
autotransform=F, trymax=1000)
#calculate the loading (i.e.,