This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def application(environ, start_response): | |
from pyinfo import pyinfo | |
output = pyinfo() | |
# or pyinfo([('custom key', 'custom value'), ...]) | |
start_response('200 OK', [('Content-type', 'text/html')]) | |
return [output] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
# Example usage: | |
# lmGadget(mtcars, "wt", "mpg") | |
# | |
# Returns a list with two items: | |
# $data: Data with excluded rows removed. | |
# $model: lm (model) object. | |
lmGadget <- function(data, xvar, yvar) { | |
library(miniUI) |