Displaying 3 results from an estimated 3 matches for "numberofpolicy".
2009 Aug 10
2
(sans objet)
...meric(as.character(M$GWP_Max))
> m1 <- M[(M[,25]> 0 & M[,25]<1000) ,]
> nrow(m1)
[1] 5
> m2 <- K[(K[,25]>1000 & K[,25]<3000),]
> nrow(m2)
[1] 3
> m3 <- K[(K[,25]>3000),]
> nrow(m3)
[1] 4
>
and i want to have in output a table like this
GWP_Max NumberOfPolicy
withoutGWP 8
0-1000 5
1000-3000 3
>3000 4
Someone have an idea?
thank you a lot !!
[[alternative HTML version deleted]]
2009 Aug 18
1
create a table in the console!!
HI
I want to do a table with R (in the console)
GWP_Max NumberOfPolicies
No_GWPMax 8
[0-1000] 4
[1000-3000] 3
[> 3000] 5
i begin by calculate the number of policies in each class :
Data1 <- read.csv2("c:/Total1.csv", sep=",")
> Data2 <- read.csv2("c:/GWPMax1.csv",sep=",")[1:20,1:2]
> M <- merge(Data1,Data2, by.x =
2009 Aug 18
1
Tr : create a table in the console!!
----- Message transféré ----
De : Inchallah Yarab <inchallahyarab@yahoo.fr>
À : r-help@r-project.org
Envoyé le : Mardi, 18 Août 2009, 16h26mn 20s
Objet : create a table in the console!!
HI
I want to do a table with R (in the console)
GWP_Max NumberOfPolicies
No_GWPMax 8
[0-1000] 4
[1000-3000] 3
[> 3000] 5
i begin by calculate the number of policies in each class :
Data1 <-