Displaying 10 results from an estimated 10 matches for "nvariables".
Did you mean:
variables
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
lapply...
2012 Oct 25
5
system is computationally singular: reciprocal condition number
Hi folks,
I know, this is a fairly common question and I am really disappointed that I
could not find a solution.
I am trying to calculate Mahanalobis distances in a data frame, where I have
several hundreds groups and several hundreds of variables.
Whatever I do, however I subset it I get the "system is computationally
singular: reciprocal condition number" error.
I know what it means
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-functio...
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 (importan...
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
But from AMI i still se =E2=80=9Cx=E2=80=9D as =E2=80=9C5=E2=80=9D not =
=E2=80=9C8=E2=80=9D.
/Magnus
------=_NextPart_000_0092_01CBED56.27C28160
Content-Type: text/html;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
<HTML><HEAD></HEAD>
<BODY dir=3Dltr>
<DIV dir=3Dltr>
<DIV style=3D"FONT-FAMILY: 'Calibri'; COLOR: #000000;
2003 Feb 19
1
getting/storing the name of an object passed to a function
Hi
I have a couple of functions that work on the object created by another R
command and then print out or summarise the results of this work.
The main function is defined as:
hotelling.t <- function(obj)
{
#internal commands
}
I then have print.hotelling.t() that takes the list returned by hotelling.t
and prints it with some extra significance calculations, formatting, etc.
I want to
2004 Feb 19
1
Process R segmentation with strsplit() (PR#6601)
Getting a crash with R1.8.1 on windows 2000 an linux with the strsplit.
Version:
platform = i386-pc-mingw32
arch = i386
os = mingw32
system = i386, mingw32
status =
major = 1
minor = 8.1
year = 2003
month = 11
day = 21
language = R
Version:
platform = i386-pc-mingw32
arch = i386
os = mingw32
system = i386, mingw32
status =
major = 1
minor = 8.1
year = 2003
month = 11
day =