search for: lhill

Displaying 4 results from an estimated 4 matches for "lhill".

Did you mean: hill
2004 Aug 19
5
column names in data.frame
Dear R-help, Please can someone explain how to put a column name on an output data.frame. ##Starting with a data.frame with 3 columns (d$Year, d$NoIndiv, d$wtd_tl) yr_ind <- split (d$NoIndiv, d$Year) yr_tl <- split (d$wtd_tl, d$Year) ann_ind <- sapply (yr_ind, sum) ann_tl <- sapply (yr_tl, sum) av_tl <- ann_tl/ann_ind d2<- data.frame (av_tl) ##This gives me a data.frame
2004 Jun 18
1
set working directory
I have just upgraded from rw1081 to rw1090 (using Windows 2000). Now when I type the command: > setwd('d:/folder_name) I get the following error message: Error in setwd(dir) : cannot change working directory If I use the "change dir" tab in the file menu i can sucessfully change working directories, but this is not so convenient as i have my whole model stored as a text file
2004 Jun 25
1
trouble using boot package
Hello, I am trying to carry out a bootstrap analysis (using the boot package) on a table and cannot work out how to get the results I need! I have a table ("d2") with 4 columns: "ID_code", "Age", "Quarter" and "StomWt". Age (0-5) and Quarter (1-4) are my strata Therefore I wish to estimate the confidence intervals for the mean StomWt for each Age
2004 Jul 26
1
group definition for a bootstrap
Hi, This is probably really simple, but I am clearly not R-minded, I have read the help files, and reread them, and I still can't work out what to do... I have a data frame (d) with 3 columns (age (0-5), quarter (1-4) and x). I want to estimate the precision of my mean x by age and quarter, so I want to carry out a bootstrap for each group. I am trying to do this within a loop, so I don't