search for: treedata

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

2010 Apr 07
1
extracting ctree() output information
Hi, I am new to R and am using the ctree() function to do customer segmentation. I am using the following code to generate the tree: treedata$Response<-factor(treedata$Conversion) fit<-ctree(Response ~ .,controls=ctree_control(mincriterion=0.99,maxdepth=4),data=treedata) plot(fit) print(fit) The variable "Response" above equals 1 if the customer responded to an offering and 0 otherwise. Everything works great, however...
2007 Jun 05
5
sampling problem - new to R
I have a data set of individual trees and the plots that they are in: Tree Plot 56749 1 63494 1 87375 1 37494 2 92753 3 34847 3 38747 4 etc... So each plot is represented once for every individual that occurrs in it. Plots get different numbers of rows because there can be a different number of individuals in each plot. I want to make a data frame that consists of one
2011 Jan 06
8
Accessing data via url
...an anyone suggest why this works datafilename <- "http://personality-project.org/r/datasets/maps.mixx.epi.bfi.data" person.data <- read.table(datafilename,header=TRUE) # but this does not? dd <- "https://sites.google.com/site/jrkrideau/home/general-stores/trees.txt" treedata <- read.table(dd, header=TRUE) =================================================================== Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : unsupported URL scheme # I can access both through a hyperlink in O...
2005 Oct 04
2
newbie questions - looping through hierarchial datafille
Dear List, Im new to R - making a transition from SAS. I have a space delimited file with the following structure. Each line in the datafile is identified by the first letter. A = Inventory (Inventory) X = Stratum (Stratum_no Total Ye=year established) P = Plot (Plot_no age slope= species) T = Tree (tree_no frequency) L = Leader (leader diameter height) F = Feature (start_height finish_height