search for: yr7

Displaying 11 results from an estimated 11 matches for "yr7".

Did you mean: cr7
2007 Mar 05
1
Matrix/dataframe indexing
Hi all, I am hoping someone can help me out with this: If I have dataframe of years and ages and the first column and first row are filled with leading values: Df<- age1 age2 age3 Yr1 1 0.4 0.16 Yr2 1.5 0 0 Yr3 0.9 0 0 Yr4 1 0 0 Yr5 1.2 0 0 Yr6 1.4 0 0 Yr7 0.8 0 0 Yr8 0.6 0 0 Yr9 1.1 0 0 Now the rest of the cells need to be filled according to the previous year and age cell so arbitrarily, cell [2,2] should be value in cell [1,1] * exp(0.3), and cell [2,3] should be the value in cell [1,2]* exp(0.3), etc. How do I write the for loop so that it wi...
2023 Jan 14
2
Removing variables from data frame with a wile card
...o "del yr*" in Windows/doc? Thank you. > colnames(mydata) ? [1] "year"?????? "weight"???? "confeduc"?? "confothr" "college" ? [6] ... ?[41] "yr3"??????? "yr4"??????? "yr5"??????? "yr6" "yr7" ?[46] "yr8"??????? "yr9"??????? "yr10"?????? "yr11" "yr12" ?[51] "yr13"?????? "yr14"?????? "yr15"?????? "yr16" "yr17" ?[56] "yr18"?????? "yr19"?????? "yr20"????...
2023 Jan 14
2
Removing variables from data frame with a wile card
...hank you. >> >>> colnames(mydata) >> [1] "year" "weight" "confeduc" "confothr" "college" >> [6] ... >> [41] "yr3" "yr4" "yr5" "yr6" "yr7" >> [46] "yr8" "yr9" "yr10" "yr11" "yr12" >> [51] "yr13" "yr14" "yr15" "yr16" "yr17" >> [56] "yr18" "yr19"...
2023 Jan 14
1
Removing variables from data frame with a wile card
...n Windows/doc? Thank you. > > > colnames(mydata) > [1] "year" "weight" "confeduc" "confothr" "college" > [6] ... > [41] "yr3" "yr4" "yr5" "yr6" "yr7" > [46] "yr8" "yr9" "yr10" "yr11" "yr12" > [51] "yr13" "yr14" "yr15" "yr16" "yr17" > [56] "yr18" "yr19" &quot...
2023 Jan 14
1
Removing variables from data frame with a wile card
...n Windows/doc? Thank you. > > > colnames(mydata) > [1] "year" "weight" "confeduc" "confothr" "college" > [6] ... > [41] "yr3" "yr4" "yr5" "yr6" "yr7" > [46] "yr8" "yr9" "yr10" "yr11" "yr12" > [51] "yr13" "yr14" "yr15" "yr16" "yr17" > [56] "yr18" "yr19" &quot...
2023 Jan 14
3
Removing variables from data frame with a wile card
...hank you. >> >>> colnames(mydata) >> [1] "year" "weight" "confeduc" "confothr" "college" >> [6] ... >> [41] "yr3" "yr4" "yr5" "yr6" "yr7" >> [46] "yr8" "yr9" "yr10" "yr11" "yr12" >> [51] "yr13" "yr14" "yr15" "yr16" "yr17" >> [56] "yr18" "yr19"...
2023 Feb 12
2
Removing variables from data frame with a wile card
...;> colnames(mydata) >> >> [1] "year" "weight" "confeduc" "confothr" "college" >> >> [6] ... >> >> [41] "yr3" "yr4" "yr5" "yr6" "yr7" >> >> [46] "yr8" "yr9" "yr10" "yr11" "yr12" >> >> [51] "yr13" "yr14" "yr15" "yr16" "yr17" >> >> [56] "yr18&quot...
2023 Jan 14
1
Removing variables from data frame with a wile card
...> >>> colnames(mydata) > >> [1] "year" "weight" "confeduc" "confothr" "college" > >> [6] ... > >> [41] "yr3" "yr4" "yr5" "yr6" "yr7" > >> [46] "yr8" "yr9" "yr10" "yr11" "yr12" > >> [51] "yr13" "yr14" "yr15" "yr16" "yr17" > >> [56] "yr18" &quo...
2023 Jan 14
1
Removing variables from data frame with a wile card
...gt; >>>> colnames(mydata) >>> ? [1] "year"?????? "weight"???? "confeduc"?? "confothr" "college" >>> ? [6] ... >>> [41] "yr3"??????? "yr4"??????? "yr5"??????? "yr6" "yr7" >>> [46] "yr8"??????? "yr9"??????? "yr10"?????? "yr11" "yr12" >>> [51] "yr13"?????? "yr14"?????? "yr15"?????? "yr16" "yr17" >>> [56] "yr18"?????? "yr19...
2023 Jan 15
2
Removing variables from data frame with a wile card
...> >>>> colnames(mydata) >>> [1] "year"?????? "weight"???? "confeduc"?? "confothr" "college" >>> [6] ... >>> [41] "yr3"??????? "yr4"??????? "yr5"??????? "yr6" "yr7" >>> [46] "yr8"??????? "yr9"??????? "yr10"?????? "yr11" "yr12" >>> [51] "yr13"?????? "yr14"?????? "yr15"?????? "yr16" "yr17" >>> [56] "yr18"?????? "yr19...
2023 Jan 15
0
Removing variables from data frame with a wile card
...gt; >>>> colnames(mydata) >>> [1] "year" "weight" "confeduc" "confothr" "college" >>> [6] ... >>> [41] "yr3" "yr4" "yr5" "yr6" "yr7" >>> [46] "yr8" "yr9" "yr10" "yr11" "yr12" >>> [51] "yr13" "yr14" "yr15" "yr16" "yr17" >>> [56] "yr18" "yr19...