search for: var11

Displaying 8 results from an estimated 8 matches for "var11".

Did you mean: var1
2010 Sep 30
1
Several Lattice plots in one Plot
...t 12 variables over time in separate diagrams in one plot/window using lattice. Two columns, six rows. I used print with the split command, but the graphics are getting really small. Can someone please help me. Following data example: dta = data.frame( day=c(1,2,3,4,5,6,7), var11=c(1,2,2,4,5,3,2), var12=c(1,2,2,4,5,3,2), var13=c(1,2,2,4,5,3,2), var14=c(1,2,2,4,5,3,2), var15=c(1,2,2,4,5,3,2), var16=c(1,2,2,4,5,3,2), var17=c(1,2,2,4,5,3,2), var18=c(1,2,2,4,5,3,2), var19=c(1,2,2,4,5...
2008 Apr 25
2
join chars in loops
Hi, Is it possible to create new vars in a loop For instance: for (i in 1:11) var'i' <- assign something output = var1 var2 ... var11 Is there a way to combine/join the value of 'i' to the string/char var in de loop. -- View this message in context: http://www.nabble.com/join-chars-in-loops-tp16895854p16895854.html Sent from the R help mailing list archive at Nabble.com.
2011 Nov 04
1
How to use 'prcomp' with CLUSPLOT?
...I have tried using CLUSPLOT(), but that only allows for 'princomp' where I need 'prcomp' as I do not want to reduce my columns. Is there a way to edit the CLUSPLOT() code to use 'prcomp', please? # sample of my data PRVID,VAR1,VAR2,VAR3,VAR4,VAR5,VAR6,VAR7,VAR8,VAR9,VAR10,VAR11 PRV1,0,54463,53049,62847,75060,184925,0,0,0,0,0 PRV2,0,2100,76,131274,0,0,0,0,0,0,18 PRV3,967,0,0,0,0,0,0,0,0,3634,0 PRV4,817,18344,3274,9264,1862,0,0,141,0,0,0 PRV5,0,0,0,0,0,0,29044,0,0,0,0 PRV6,59,6924,825,3008,377,926,0,0,10156,0,5555 PRV7,11,24902,36040,47223,20086,0,0,749,415,0,0 library(clu...
2004 Jan 08
1
(no subject)
...et me describe this by an example; > dim(a) [1] 270 14 > dim("a") NULL > names(a) [1] "Var1" "Var2" "Var3" "Var4" "Var5" "Var6" "Var7" "Var8" "Var9" [10] "Var10" "Var11" "Var12" "Var13" "Var14" > names("a") NULL I realise that the character string lacks both a dimension and any column names; my question is how to make R understand that I look for the object a when I write "a". Like a type cast in C;...
2004 Jan 08
0
(no subject)
...dim(a) > [1] 270 14 > > dim("a") > NULL > > > names(a) > [1] "Var1" "Var2" "Var3" "Var4" "Var5" "Var6" "Var7" > "Var8" "Var9" > [10] "Var10" "Var11" "Var12" "Var13" "Var14" > > names("a") > NULL > > I realise that the character string lacks both a dimension > and any column names; my question is how to make R understand > that I look for the object a when I write "a&quot...
2010 Jun 16
0
biglm.big.matrix: Problem with weighting
...library(biglm) help(read.big.matrix) NIKA <- read.big.matrix("G:\\VAR.dat", header=TRUE, type="double", sep="\t") Reg <- biglm.big.matrix(formula = LAannualisiert ~ 0 + VAR01 + VAR02 + VAR03 + VAR04 + VAR05 + VAR06 + VAR07 + VAR08 + VAR09 + VAR10 + VAR11 + VAR12 + VAR13 + VAR14 + VAR15 + VAR16 + VAR17 + VAR18 + VAR19 + VAR21 + VAR22 + VAR23 + VAR24 + VAR25 + VAR26 + VAR27 + VAR28 + VAR29 + VAR30 + VAR31 + VAR32 + VAR33 + VAR34 + VAR35 + VAR36 + VAR37 + VAR38 + VAR39, weights = ~Gewicht , data = NIKA) summary(Reg) Best regard...
2004 Feb 13
3
Calculate Closest 5 Cases?
...are easy comparable. Is there any way to do this in R? Below is a small sample of the data (from SPSS) and the desired output. Thanks, Danny *Sample Data. DATA LIST LIST /id(F8) var1(F8.2) var2(F8.2) var3(F8.2) var4(F8.2) var5 (F8.2) var6(F8.2) var7(F8.2) var8(F8.2) var9(F8.2) var10(F8.2) var11(F8.2). BEGIN DATA. 10170069 3.51 4.02 6.53 11.05 6.53 8.04 13.57 20.10 11.05 8.55 7.04 10190229 1.89 5.66 4.61 7.62 8.45 13.21 9.50 20.82 16.07 9.36 3.77 10540023 3.40 5.08 3.39 4.52 10.18 14.71 13.56 16.38 9.60 7.89 11.85 10650413 6.64 6.64 3.73 4.70 3.78 13.23 19.82 15.98 12.26 8.48 3.78 1066...
2012 Sep 27
1
List of Variables in Original Order
I am trying to Sweave the output of calculating correlations between one variable and several others. I wanted to print a table where the odd-numbered rows contain the variable names and the even-numbered rows contain the correlations. So if VarA is correlated with all the variables in mydata.df, then it would look like var1 var2 var3 corr1 corr2 corr3 var4 var5