similar to: column names in data.frame

Displaying 5 results from an estimated 5 matches similar to: "column names in data.frame"

2004 Aug 26
2
labels on secondary y axis
Hi, I have plotted a graph and used a secondary axis as follows: plot (d$Year, d$HrFishing, type='l', col='1', xlab='Year', ylab='Effort (hours/fishing)') par(new=TRUE) plot (d$Year, d$Landings, type='l', col='3', xlab='', ylab='') axis(4) However, if I put a label in the 2nd ylab='' it is placed over the 1st ylab, on the
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 Mar 22
1
beginners question - kmeans
I am a complete beginner at R and am using the "kmeans" function for the first time... I have a data frame (dat) that is 17 columns * 91 rows (including headers) I have entered the following: cl <- kmeans(dat, 3, 10) plot(dat, col = cl$cluster) points(cl$centers, col = 1:2, pch = 8) the output is 17*17 graphs ... this is not what I was anticipating - I was hoping to get one graph
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
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