Displaying 20 results from an estimated 1000 matches similar to: "Multivariate problems . . . with 200 resposes variables and 1 explanatory variable"
2009 Nov 17
3
re placing the dates format in R for exporting the data set...
hi everyone, i am having difficulties with replacing the dates format in R
for exporting the data set...
eg: the code that i used was
toms_dat<- replace(toms_dat, toms_dat ==2009-08-06, 2)
toms_dat<- replace(toms_dat, toms_dat ==2009-08-04, 1)
but when i export the data as into txt file or excel file the dates come up
with very large numbers .....:drunk:
please help me ...=)
--
View
2009 Nov 19
1
RE shaping large dataset
I am doing a project which involve reshaping a large dataset, can any of you
please sugguest me some good reading/websites/ examples .... can be in R and
SAS
Thanks everyone !!!
--
View this message in context: http://old.nabble.com/REshaping-large-dataset-tp26421513p26421513.html
Sent from the R help mailing list archive at Nabble.com.
2009 Nov 26
1
Adding text in the panels for Trellis plot ...
i was trying to do a for loop for plotting the histograms , but it doesnt
work properly
> library(lattice)
> columns <- 8:153
> plots <- vector("list", length(columns))
> j <- 0
> for (i in columns)
+ {
+ plots[[ j <- j+1 ]] <- histogram( ~ data[,i] | data[,2],ylab =
"Frequency",
+ xlab = "Score", xlim = c(1,5), ylim =
2009 Nov 17
1
Plotting graphs using FOR loop
I have the following codes but can anyone make it shorter i.e making these
FOR loop into one loop ...
thanks...
par(mfrow=c(2,4))
for(i in 16:23){
hist(data[,i],main=paste(colnames(data)[i],sep=""),ylab="Frequency",xlim=c(1,5),xlab="Score",ylim=c(0,100))
}
png("histogram.png")
dev.off()
par(mfrow=c(2,4))
for(i in
2006 Nov 16
2
question about capscale (vegan)
Hello,
I am interested in using the capscale function of vegan package of R. I
already have a dissimilarity matrix and I am intended to use it as
'distance' argument. But then, I don't know what kind of data must be in
'comm' argument. I don't understand what type of data must be referred
as 'species scores' and 'community data frame' since my data refer to
2013 Jul 12
2
vegan capscale 'subscript out of bounds' error
Hi list,
I am using the capscale function in vegan_2.0-7 to do a constrained
principal coordinates analysis, and I kept getting the following error
message:
Error in Y.r[, oo, drop = FALSE] : subscript out of bounds
I googled but I couldn't find an answer. Could anyone tell me why this
error msg and what to do?
Here is the command I used:
2008 Sep 13
2
Symbols on a capscale object plot
Hi, I'm a beginner with R, but I'm getting excellent results with it.
Well I've got an capscale object (vegan package) and I want to made a biplot
with symbols representing six groups of areas.
With the plot.cca function and some par attributes (like 'labels') I was
able to substitute the samples names for keyboard symbols ('x','o','#',ect),
but it's
2004 Dec 10
1
How to circumvent negative eigenvalues in the capscale function
Dear All
I am trying to do a partial canonical analysis of principal coordinates
using Bray-Curtis distances. The capscale addin to R appears to be the only
way of doing it, however, when I try and calculate a Bray-Curtis distance
matrix either using Capscale or Vegedist (capscale I understand uses
Vegedist anyway to calculate its distance matrix), R uses up all available
memory on the computer,
2010 Sep 21
1
partial dbRDA or CCA with two distance objects in Vegan.
I am trying to use the cca/rda/capscale functions in vegan to analyse
genetic distance data ( provided as a dist object calculated using
dist.genpop in package adegenet) with geographic distance partialled out
( provided as a distance object using dist function in veganthis method
is attempting to follow the method used by Geffen et al 2004 as
suggested by Legendre and . FORTIN (2010).
I
2013 Dec 17
1
What is the formula of Pseudo-F statistic in capscale in vegan?
Dear R-help,
We are conducting a distance-based redundancy analysis using capscale and
then testing for statistical significance for six terms in the model for the
constrained ordination using anova.cca in the vegan package. The
significance test is sequential, i.e., testing for significance of a term
only after accounting for all preceding terms. Could someone please provide
us with either the
2013 Apr 03
2
Ask help
Hello!
I am eager to learn if I only have a data about the relationship between otu and sample, could I use the function capscale, and final make a point plot that x-axis is CAP1 and y-axis is CAP2? Besides, what function could I use to make the different rarefaction curve with different color in the a plot in R? Appreciate very much.
2009 Nov 23
3
Trellis Plot
anyone know how to add text in the Trellis plot panel ?? i want to add things
eg: dot dot dot. in the headrer of the panel.
eg: http://old.nabble.com/file/p26486579/hist1.png hist1.png
--
View this message in context: http://old.nabble.com/Trellis-Plot-tp26486579p26486579.html
Sent from the R help mailing list archive at Nabble.com.
2009 Nov 23
3
Translation from R codes to SAS.
my teachers doesnt understand R and I don't know how to use SAS.
Anyone interested in translating my codes to test whether your SAS codes are
as good as R???
I can test it on SAS codes once you have translated it ....
regards:working:
--
View this message in context: http://old.nabble.com/Translation-from-R-codes-to-SAS.-tp26486117p26486117.html
Sent from the R help mailing list
2008 Oct 23
2
Avoiding Biplot Labels Overllaping
Hi everybody,
I'm trying, without success, to avoid some variables labels to overlap on a capscale (vegan package) object graph.
I was able to move the labels with the coding below, but it moves the entire vector...
CAPobj<-CAPpotiFT
for(i in c(2:8))CAPobj$CCA[[i]][,1]<-CAPpotiFTI$CCA[[i]][,1]
CAPpotiFTI$CCA[[i]][,1][2]<-0.85
And here the graphic script
2009 Feb 05
4
eval and as.name
I'm sure there is a more general way to ask this question but how do
you use the elements of a character vector as names of objects in an
expression?
For example, say you have:
a = c(1,3,5,7)
b = c(2,4,6,8)
n=c("a","b")
and you want to use the names a and b in a function (e.g. sum)
sum(eval(as.name(n[1])),eval(as.name(n[2])))
works but
what is a simpler way to
2008 Jan 02
2
Multivariate response methods question
Hi Everyone,
I have some data that predicts both a nominal and ordinal response
variable. I was wondering what packages in R would help me analyze the
data?
I was also curious if anyone could recomend me some textbooks that
would help with the analysis of such data? I have the 5th edition of
"Applied Multivariate Statistical Analysis" by Richard A. Johnson and
Dean W. Wichern
2006 May 31
0
AGI MySql
thanks Billy. I replaced
print "STREAM FILE $filename \"\"\n";
with
print "EXEC PLAYBACK $filename \n";
and it worked fine. Interestingly when I did
print "STREAM FILE beep \"\"\n";
within the script, it worked.
If I wasnt a newbie to asterisk I wouldve thought this to be strange.
>From: "William Piper"
2008 Sep 13
0
Symbols On a Capscale Object Biplot
Hi, I'm a beginner with R, but I'm getting excellent results with it.
Well I've got an capscale object (vegan package) and I want to made a biplot
with symbols representing six groups of areas.
With the plot.cca function and some par attributes (like 'labels') I was
able to substitute the samples names for keyboard symbols ('x','o','#',ect),
but
2013 Mar 05
0
permutest
I'm working with capscale and permutest for the first time, and having
trouble getting statistical analyses for more than one constraining
variable. I've read the documentation, but setting first=FALSE or using
by="axis" doesn't seem to be helping. capscale seems to be fine, I receive
output for more than one constrained axis. What am I doing wrong?
2006 Nov 13
1
Nominal Respose Model in R
Hi:
I have been working in Item Response Theory, exactly, with Nominal Response Model (NRM). Exist in R
a function for estimate parameter and ability from database for this Model?.
Thank you,
Xavier G. Ordóñez
[[alternative HTML version deleted]]