search for: gwpmax1

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

Did you mean: gwp_max
2009 Aug 10
3
how use cat() function?
...0-3000]        NbOfPolicyClass3[> 3000] No_GWPMax=8    NbpolicyClass1=5                   NbpolicyClass2=4                            NbpolicyClass3 =3              i have do it like this:!!! data1 <- read.csv2("c:/Total1.csv",sep=",") > data2 <- read.csv2("c:/GWPMax1.csv",sep=",") > M <- merge(data1, data2, by.x = "Policy.Number", by.y = "Policy.Number") > nrow(data1) [1] 20 > nrow(M) [1] 12 > No_GWPMax <- nrow(data1)-nrow(M) > (NbOfPolicyWithoutGWPMax <- nrow(data1)-nrow(M)) [1] 8 > M$GWP_Max <-...
2009 Aug 10
2
(sans objet)
i have written this in R, > data1 <- read.csv2("c:/Total1.csv",sep=",") > data2 <- read.csv2("c:/GWPMax1.csv",sep=",") > M <- merge(data1, data2, by.x = "Policy.Number", by.y = "Policy.Number") > nrow(data1) [1] 20 > nrow(M) [1] 12 > NbOfPolicyWithoutGWPMax <- nrow(data1)-nrow(M) > NbOfPolicyWithoutGWPMax [1] 8 > M$GWP_Max <- as.numeric(as....
2009 Aug 18
1
function merge()
...AXA.Entity Country 1    1060000077        BNL     BNL 2       4001023         CH     BNL 3    1060000006         UK     BNL 4       4001025         CH     BNL 5      6.00E+13        USA     BNL 6       6100001         UK     BNL 7       4001028        USA     BNL > Data2 <- read.csv2("c:/GWPMax1.csv",sep=",") > (Data2 <- Data2[1:7,1:2])   Policy.Number  GWP_Max 1       4001023   500.00 2       4001024 10593.54 3       4001025   700.00 4       4001026     0.00 5       4001027  3621.25 6       4001028   600.00 7       4001029  7588.27 > (m <- merge(Data1,Data2, by....
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 = "Policy.Number",by.y = "Policy.Number",all.x = TRUE,all.y = TRUE ) > (No_GWPMax<-nrow(M[M[,25]=="NA",])) [1] 8 > M2<- merge(Data1,Data2, by.x = "Policy.Number",by.y = &q...
2009 Aug 18
1
Tr : 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 = "Policy.Number",by.y = "Policy.Number",all.x = TRUE,all.y = TRUE ) > (No_GWPMax<-nrow(M[M[,25]=="NA",])) [1] 8 > M2<- merge(Data1,Data2, by.x = "Policy.Number",by.y = &q...