Displaying 2 results from an estimated 2 matches for "fixedy".
Did you mean:
fixed
2012 Feb 03
1
incomplete final line found on <name of my sourced function file>
...### Creating a plot with (aggregated) several lines:
# indata - my data frame
# datesvar - name of the variable that contains dates
# inars - names of the variables to be graphed
# myfunction - function to be used (mean or sum)
# my metric - string for the metric
# mytitle - title of the graph
# fixedy - if 1, range on y axis starts with zero
# indata=en;datesvar="Week";invars=seas[5];myfunction=mean
# mymetric="TEST";fixedy=0;title="BLA"
mylines = function(indata,datesvar,invars,myfunction,mymetric,mytitle,fixedy=0)
{
all.colors<-c("#E0EEEE","#...
2011 Feb 09
2
assign factor levels based on list
All,
Given a data frame and a list containing factor definitions for certain columns, how can I apply those definitions from the list, rather than doing it the standard way, as noted below. I'm lost in the world of do.call, assign, paste, and can't find my way through. For example:
#set up df
y <- data.frame(colOne = c(1,2,3), colTwo =