Displaying 5 results from an estimated 5 matches similar to: "Want to create empty vectors inside a empty data frame"
2009 Jan 02
1
Calculating signicance value
Hi friends,
If someone can find out some time to go through my problem would be really
grateful.
I have a dataset(dataset1) as shown below:--
recmeanC1 recmeanC2 recmeanC3 recmeanC4 i1 i2 i3 i4 i5 i6 i7
i8 i9 i10 i11
1 NA 1 1.00 1.800000
NA 1 NA 1 1 NA 2 2 2 NA 2
2 2 2 1.00
2009 Aug 17
1
R : how does %in% operator work?
*Problem-1*
CASE-I---------(works fine)
> var1<-"tom"
> var1
[1"tom"
> var1<-as.character(var1)
> var1
[1] "tom"
> var2<-c("tom","harry","kate")
> logc<-(var1 %in% var2)
> logc
[1] TRUE
> typeof(var1)
[1] "character"
> typeof(var2)
[1] "character"
2009 Aug 28
1
How to generate mean anova value row in anova table, instead of individual value for each predictor
Hi All ,
Can anybody tell me if there's any way to get the summarized anova
values.Now i will explain what i mean , when i say "*summarized*".
Below you can see the anova table of recmeanC1 with rest* all* i.e from
recmeanC2 to i15(predictors),as shown in table.
Df Sum Squares Mean Square F value Significance [Pr(>F)]
recmeanC2 1 89.272 89.272
2009 Aug 24
1
natural sorting a data frame /vector by row
How to NATURAL sort a vector or data frame* by row* , in ascending order ?
V1 V2 V3 V4
i1 5.000000e-01 1.036197e-17 4.825338e+16 0.00000000
i10 4.001692e-18 1.365740e-17 2.930053e-01 0.76973827
i12 -1.052843e-17 1.324484e-17 -7.949081e-01 0.42735000
i13 2.571236e-17 1.357336e-17 1.894325e+00 0.05922715
i2
2009 Aug 20
2
Insert rows in between dataframes
Hi all,
Can anyone suggest me how to insert rows in between data frames and also
keep the ordering of row numbers correct?
Estimate Std. Error t
value Pr(>|t|)
recmeanC2 9.275880e-17 6.322780e-17 1.467057e+00
0.14349903
recmeanC3 1.283534e-17 2.080644e-17 6.168929e-01
0.53781390