Displaying 3 results from an estimated 3 matches for "plotvar".
Did you mean:
plotear
2012 Aug 11
1
using eval to handle column names in function calling scatterplot graph function
...running R version 2.15.1 in Windows XP
I am having problems with a function I'm trying to create to:
1. subset a data.frame based on function arguments (colname & parmname)
2. rename the PARMVALUE column in the data.frame based on function
argument (xvar)
3. generate charts
plotvar <- function(parentdf,colname, parmname,xvar,yvar ){
subdf <- parentdf[substr(colname,1,nchar(parmname)) == parmname,]
names(subdf) <- sub('PARMVALUE',xvar, names(subdf))
xvarcol <- paste("subdf","$",xvar,sep="")
yvarcol <- pas...
2002 Jul 03
2
grouping in scatterplot3d
Hi all,
I've been using the scatterplot3d function (from the scatterplot3d library) to create 3D plots. I was wondering whether there is
anyway to group the points according to a particular group variable. For example I used the plot function as
plot( factor( <GROUPINGVAR> ) , <PLOTVARS> )
to organise the results in a according to the grouping variable. I was wondering whether there is any equivalent way of doing this
with scatterplot3d or any other equivalent 3d plotting function. I understand that this would be a difficult task since there are
'no spare dimensions' b...
2017 Sep 18
0
Q2/R2 ratio in PLSDA
...ation = "loo", progressBar = FALSE)
tune.plsda2$error.rate
dta.plsda2<-plsda(dta.scale, dta.factor,scale=F,mode="classic")
dta.plsda2
plotIndiv(dta.plsda2, ind.names = dta.factor, ellipse = TRUE, legend =TRUE)
plotArrow(dta.plsda2, ind.names = dta.factor, legend =TRUE)
plotVar(dta.plsda2, cex = 2)
plot(dta.plsda,typeVc = "x-score",parAsColFcVn = dta.factor,parEllipsesL = TRUE)
Eisenring Michael, Dr.
Federal Department of Economic Affairs, Education and Research
EAER
Agroecology and Environment
Biosafety
Reckenholzstrasse 191, CH-8046 Z?rich
Tel. +41 58 4...