Helper functions for repgames and dyngames

add.rowvec | Add a vector v to each row of m |

approxeq | APPROXEQ Are a and b approximately equal (to within a... |

assign.cols | Assigns all columns of df into variables with the same name... |

calc.mean.from.F.fun | Calculate numerically the expected value given a cdf |

check.global.vars | Some functions that are useful for coding Looks through all... |

clone.environment | Clones an environment and its children |

col.matrix | Generates a matrix in which all cols are equal to col |

colMaxs | Computes quickly the maxima of each column of a matrix |

colMins | Computes quickly the minima of each column of a matrix |

copy.env | Copies an environment |

discretize.given.F.vec | Helper function to discretize a continous distribution. F.vec... |

findzero | Finds position where the function f becomes zero First tries... |

grid.matrix.permutation | Gives the corresponding rows for a permutated grid.matrix... |

grid.to.matrix | Transforms a grid in long format into a matrix |

ls.funs | List all functions |

ls.vars | List all variables |

matrix.to.grid | Some functions that are useful for manipulating or creating... |

named.list | Some functions that are useful for lists and environments in... |

paste.matrix.cols | Paste together columns of a matrix or data.frame |

paste.matrix.rows | Paste together rows of a matrix or data.frame |

plot.multi.lines | Plot several lines |

rbind.list | rbinds a list of matrices, a list of lists, or a list of... |

row.matrix | Generates a matrix in which all rows are equal to row |

rowMaxs | Computes quickly the minima of each row of a matrix |

rowMins | Computes quickly the minima of each row of a matrix |

set.default | Need to check what it does |

sk.levelplot | My wrapper to the lattice function levelplot. Allows for some... |

sk.optim | A wrapper for optimization. Allows to specify which variables... |

sk.pareto.frontier | Calculates the 2dimensional paretofrontier of the points val1... |

which.colMaxs | Computes quickly the index of the largest element of each... |

which.colMins | Computes quickly the index of the smallest element of each... |

which.rowMaxs | Computes quickly the index of the largest element of each row... |

which.rowMins | Computes quickly the index of the smallest element of each... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.