search for: gruna

Displaying 5 results from an estimated 5 matches for "gruna".

Did you mean: grunt
2004 Jun 25
3
String manipulation
Hi, let's see, if someone can help my with this one: I have the string as follows: > str<-("one","two","three") Now I want to concatenate the items to one string, seperateted by space or something else, >str >"one, two, three" If possible without a loop. My actual goal ist to create string like >str.names >"female = names1, male
2004 Jun 20
1
Fw: Evaluating strings as variables
----- Original Message ----- From: Robin Gruna To: R-help@lists.R-project.org Sent: Sunday, June 20, 2004 5:42 PM Subject: Evaluating strings as variables Hello, I have the following problem: I have a list as follows, > values <- list(red = 1, yellow = 2, blue = 3) > values $red [1] 1 $yellow [1] 2 $blue [1] 3 There is also a...
2004 Jul 03
1
graphic representation of a qda object
Hi, I'm a R newbie and I have a supervised 2-class classification problem. To find out the best representation of my data (dim = 45). I want to perform LDA und QDA on the diffrent data representations to find out, which is best to discriminate the 2 sets. For LDA there exists a method plot.lda shows (in the 2 class case) a histogramm of the data, projected onto the linear discriminants (pleas
2004 Jul 02
2
Error:length of dimnames [2] not equal to array extent ?
Hi everyone, I have the following problem: I want to perform a LDA with the function lda(). My data object mat.data is a matrix with dimensions > dim(mat.data) [1] 1228 44 and my grouping vector grp has length 1228: > length(grp) [1] 1228 Every time I call lda(), the following error message occurs: > lda(mat.data,grp) Error in lda.default(x, grouping, ...) : length of dimnames [2]
2005 Jan 25
0
LDA: variables seems to be constant
Hi, when I performe LDA on some of my datasets I get the error message: >Error in lda.default(x, grouping, ...) : variable(s) 3 appear to be constant within groups I assume the reason is the small values of my varibale 3 ( e.g. 4.530353e-05). Has someone a suggestion how to solve this problem? Multiplying a constant to my dataset seems to solve the problem but does this affect the LDA result?