Displaying 10 results from an estimated 10 matches for "nvariable".
Did you mean:
variable
2008 Jul 30
1
adding lines to multiple plot
...I know in Matlab there is a hold function, is there
something similar in R?
the following is the code i have used to get mutiple plots and then add all
the lines to the final plot:
##find unique column names in table
variablenames<-unique(names(variables))
## define number of unique names
Nvariables<-length(variablenames)
##for loop required for labelling of histograms and to tell how many hist to
make
for(i in 1:Nvariables){
par(mfrow=c(1,1),ask=TRUE)
}
##use lapply for dataframes creates hist for each variable and labels
corresponding
##important to have this outside of loop
lappl...
2012 Oct 25
5
system is computationally singular: reciprocal condition number
...there is no
way this is a singular matrix.
I have uploaded the input file to my ftp:
http://mkk.szie.hu/dep/talt/lv/CentInpDuplNoHeader.txt
It is a tab delimited txt file with no headers.
I tried the StatMatch Mahanalobis function and also this function:
mahal_dist <-function (data, nclass, nvariable) {
dist <- matrix(0, nclass, nclass)
n=0
w <- cov(data)
print(w)
for(i in 1:nclass) {
for(c in 1:nclass){
diffl <- vector(length = nvariable)
for(l in 1:nvariable){
diffl[l]=abs(data[i,l]-da...
2011 Mar 28
2
Variable. AMI and dialplan
Hi!
Guess I am doing something totally wrong here: Some smart person could maybe plz tell me what.
2012 Aug 08
1
Pass Conditional & loop argument into a function
...# "X^1+X^2+X^3"
fit <- lm(Y~conditional.argument)
...
return(fit)
}
I know that there is the poly() function which I am not looking for.
I am having this problem as well when I want to do a boxplot with variable
number of groups to compare.
multiple.boxplot <- function(...,nvariables){
conditional.argument <- data[,1], data[,2], ...,data[,nvariables] #
should look like that in the end
boxplot(conditional.argument)
}
Can anyone give me a hint?
Daniel Hoop
--
View this message in context: http://r.789695.n4.nabble.com/Pass-Conditional-loop-argument-into-a-functi...
2004 Oct 13
1
random forest -optimising mtry
Dear R-helpers,
I'm working on mass spectra in randomForest/R, and following the
recommendations for the case of noisy variables, I don't want to use the
default mtry (sqrt of nvariables), but I'm not sure up to which
proportion mtry/nvariables it makes sense to increase mtry without
"overtuning" RF.
Let me tell my example: I have 106 spectra belonging to 4 classes, the
number of variables is 172. I'm interested in finding information about
variables (importa...
2014 Nov 25
0
problem with setGroupGeneric from package methods
...d of the following commands.
## setGroupGeneric("pcfData", function(x) NULL)
## setGeneric("pc.nseasons" , group="pcfData") # ima setGeneric i pri pcSeason. Check!
## setGeneric("pc.nepochs" , group="pcfData")
## setGeneric("pc.nvariables" , group="pcfData")
## setGeneric("pc.namesofseasons" , group="pcfData")
## setGeneric("pc.namesofvariables", group="pcfData")
## setGeneric("pc.data.matrix" , group="pcfData")
## setGeneric("pc.data.vec"...
2013 Mar 14
1
evtree
hi
I got the following error in 'evtree'. could u help pl.
Error in if (var(mf[, nVariables]) <= 0) stop("variance of the denpendent
variable is 0") :
argument is of length zero
[[alternative HTML version deleted]]
2011 Jan 10
0
No subject
...FONT-SIZE: 12pt">
<DIV>Hi!</DIV>
<DIV> </DIV>
<DIV>Guess I am doing something totally wrong here: Some smart person =
could=20
maybe plz tell me what.</DIV>
<DIV> </DIV>
<DIV>From AMI, I set a variable Action: Setvar\r\nVariable:x\r\n\Value:=20
5\r\n\r\n</DIV>
<DIV> </DIV>
<DIV>From dialplan i can =E2=80=9Caccess=E2=80=9D the variable =
=E2=80=9Cx=E2=80=9D and see the value =E2=80=9C5=E2=80=9D</DIV>
<DIV>From dialplan i modify =E2=80=9Cx=E2=80=9D to =
=E2=80=9C8=E2=80=9D.</DI...
2003 Feb 19
1
getting/storing the name of an object passed to a function
..."\n")
cat("F-value:", x$F.stat, "on", df1, "and", df2, "degrees of freedom\n")
cat("p-value:", p.F.stat, "\n\n")
cat("Variable means for Group 1:\n")
print.default(x$mu1, digits = digits)
cat("\nVariable means for Group 2:\n")
print.default(x$mu2, digits = digits)
cat("\n")
cat("Coefficients of discriminant function:\n")
print.default(lambda, digits=digits)
cat("\nClassification success:\n")
#print(table(predict(picea.lda)$class, picea[,1],...
2004 Feb 19
1
Process R segmentation with strsplit() (PR#6601)
..._OF_HTTPGET=Yes\" TARGET=\"_blank\">At1g61780</A> against nr\nUnformatted <A HREF=\"../cgi/getseq.pl?GabiMips+At1g61780+seq\" TARGET=\"_blank\">sequence string</A> for pasting into other applications\n\nFixed modifications: Carbamidomethyl (C)\nVariable modifications: Oxidation (M)\nCleavage by Trypsin: cuts C-term side of KR unless next residue is P\nNumber of mass value!
s searched: <B>6</B>\nNumber of mass values matched: <B>1</B>\!
nSequenc
e Coverage: <B>8%</B>\n\nMatched peptides shown in <B><FO...