blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23538fa8875b4d496738109cfa4de48a8e6ee7aa | 7bef5b5f81c1d089fbd9ddd82882269b456a1acc | /src/localauthority_Dec.R | d883da010cb4d5cc40c02574bea4c7d0c3f5e92e | [
"MIT"
] | permissive | Gabriel-Danelian/covid19uklocal | e835b880dd67c8181aa40dba21d3b6af2f49736f | af74fa23e8506419b839bcfe7017920222ff406f | refs/heads/main | 2023-05-27T16:47:32.865537 | 2021-06-11T04:57:31 | 2021-06-11T04:57:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,476 | r | localauthority_Dec.R | ## for epidemia with the new observation format
## script runs for a single ltla
library(optparse)
library(here)
library(epidemia)
library(dplyr)
library(zoo)
options(mc.cores=parallel::detectCores())
source(here("UK_Linelist/public/utility.R"))
option_list <- list(
make_option(c("--ltla"),action="store", type=... |
3bfbe3accc639748bacbf4ae19637e29bdb79d28 | 213281f024e937cc91028e27a6b70f2f5c78275a | /R/TSP_elasticnet.R | 7af3f49e036b011e54dead82dda4fd770e19389b | [] | no_license | thomasgurry/data_analysis | 865c65727f2869aa794d8ee9ce8e3a99f15993e1 | ec5a863c3ca82924ade60dfdc97a413d054678c0 | refs/heads/master | 2021-01-23T03:27:21.417090 | 2019-04-30T16:23:34 | 2019-04-30T16:23:34 | 86,078,683 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,112 | r | TSP_elasticnet.R |
#Generate N cities randomly in a unit square.
random.cities <- function(N){
points = matrix(runif(2*N,min=0,max=1),nrow=N,ncol=2)
}
#Function to calculate Euclidean distance between two points.
#’y’ may be a matrix of points.
distance <- function(x,y){
if(length(y)>2){
dimension = dim(y)[1]
}else{ ... |
c373b9187e11dad2415822db2b09d43a4f571c49 | a40e3ae448583f1f08712b5f25e82c9d030e22be | /Working.R | c31b7d891cb7ba95c84eff0d9c62746c6aad3cef | [] | no_license | shriharsha05/Rshiny-experiments | 5ae23acbff2721fd56c7ebc614a22e2cfffdcb54 | f0134524c73a35c484eb697c3241e3e468735165 | refs/heads/master | 2020-04-16T08:32:15.149850 | 2019-01-12T19:40:41 | 2019-01-12T19:40:41 | 165,428,511 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,504 | r | Working.R | library(markdown)
library(shiny)
library(shinythemes)
# Define UI
ui <- fluidPage( theme = shinytheme("yeti"),
navbarPage("HR ANALYTICS",
tabPanel("My Team",
sidebarLayout(
sidebarPanel(
selectInput("", h4("Branch"),
... |
1d14c93aefee6a110b7e9b86bb1ee3dfe679df3d | 2f9718c70f49b585276d71c7209e75f3068f7411 | /R/plotClusters.r | 214f85da320f1b9f182efc7c71ce3733f2dba311 | [] | no_license | PaulPyl/JagsCluster | 188fdb660fe41542e2e3c16ff4cc15c23e6b5b43 | 7547f338aa40a104d755c70bf8b5047095e04ccb | refs/heads/master | 2021-01-13T06:14:30.065541 | 2018-05-08T12:26:33 | 2018-05-08T12:26:33 | 94,921,226 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,414 | r | plotClusters.r | plotClusters <- function(clsRes, mode = "point", minWeight = 0.01){
nSamples <- ncol(clsRes$Modelling.Data$AF)
theSamples <- colnames(clsRes$Modelling.Data$AF)
dat <- do.call(rbind,lapply(seq(nSamples), function(sid){
res <- melt(clsRes$jags.result[[paste0("cluster.center.", sid)]][,,,drop = FALSE])
coln... |
adea9fb25f7f9bc0fc963e00b47ce77201be8d72 | db3ec88138be9d83e81a8ecdf5fd02bccc0d6d28 | /R/powerConj.R | 007091f8033837e5f57834d9b593036abe1b708f | [] | no_license | Jingfan-Sun/powerr | df51e30a94bdeb7a82b66b494561877cab991749 | 873fcbfdf351ef2123a3f04dee8653493be3eded | refs/heads/master | 2021-05-28T06:20:48.110757 | 2014-09-28T05:32:58 | 2014-09-28T05:32:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 366 | r | powerConj.R | #' powerConj
#'
#' Calculate conj of complex or real sparse matrix
#'
#' @param x complex objects to calculate conjugate
powerConj <- function(x) {
if (class(x) == 'list') {
x <- list(mRe = x[[1]],
mIm = -x[[2]]);
} else if (class(x) == 'dgCMatrix'){
# do nothing
} else ... |
63c2860d1e88471e7e8ae800e9ef1d8101700bd8 | 033bbdd258069da5eb7d5639f22d9c32b51ebb5d | /Limpeza de dados/funcaoColunaNA.R | a607a3a71eafb5ec8f9bc46087ed18d499757f2c | [] | no_license | joscelino/ETL | 078abf525021d688f3184c8853d842965e495b9b | 6521f430a46e671e47e0b468e20cc74c9bbc0758 | refs/heads/main | 2023-02-18T00:57:58.064021 | 2021-01-21T17:45:44 | 2021-01-21T17:45:44 | 331,707,126 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 454 | r | funcaoColunaNA.R |
# Funcao para identificar NAs em colunas de data frames
funcaoNA <- function(df){
library(pacman)
pacman::p_load(dplyr)
index_col_na <- NULL
quantidade_na <- NULL
for (i in 1:ncol(df)) {
if(sum(is.na(df[,i])) > 0) {
index_col_na[i] <- i
quantidade_na[i] <- sum(is.na(df[,i]))
}
... |
9645207726e5b1147ab34f7a1661b5fa1bd80a7c | 1051ccaffe37c38667b79397bc78125636ca28fb | /server/napr/man/read.upload.file.Rd | 5c2362b82b3c2c49a9d27090759ebaab8c9351f6 | [
"Apache-2.0"
] | permissive | hpardoe/napr | ae1078cdeab1047b27f3aa0f6b2631c50b41627e | f6c123699806611e800fe9f2a3567e00945cfb1c | refs/heads/master | 2023-08-23T03:40:19.376594 | 2023-07-05T02:18:06 | 2023-07-05T02:18:06 | 76,494,707 | 2 | 2 | Apache-2.0 | 2023-08-15T15:09:58 | 2016-12-14T20:31:25 | R | UTF-8 | R | false | true | 754 | rd | read.upload.file.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/napr.file.reader.20160510.R, R/napr.file.reader.20161129.R
\name{read.upload.file}
\alias{read.upload.file}
\title{read .brainage_upload_file}
\usage{
read.upload.file(input)
read.upload.file(input)
}
\arguments{
\item{input}{a tar archive c... |
556f15d0592a853f389b72569cf674b6d537da7c | 48aa9794b5c2589da6920fd3b5791775715120df | /Farm data analysis/Plotheatmap.R | 065f429a02fcd4daa71ec569396a47d9db4c176c | [] | no_license | RIF-HKU/AMR_project | 02eaaceabc07f0625001118261742d7182993cc5 | 479d17bcdedb21b81102e0c31985973d91242aad | refs/heads/main | 2023-06-27T07:07:51.964241 | 2021-08-04T06:48:22 | 2021-08-04T06:48:22 | 391,809,720 | 0 | 0 | null | 2021-08-02T03:57:26 | 2021-08-02T03:57:25 | null | UTF-8 | R | false | false | 2,600 | r | Plotheatmap.R | #Heatmap across farms
#*heatmap.data()
#Combining the count data and MIC values together, order them by their corresponding antibiogram length.
#*Change the antibiotics names into regular
#*s
#*
#*
#*
#******************************************************************************************************************
... |
c373de5c6e344abeaae8a4d57ef96641fd8948a0 | b757b281becded608b180cc0cdb4e196a2f56296 | /R/analysis_model_E1_table.R | c1df11b93dc8ccab02e3b68bc041b2ec932d39b2 | [] | no_license | gorkang/jsPsychHelpeR-Neely | 0303b1800e62d8760480c026868ec70ebee600dc | 8dcb345a50d8adb3fe7056dd4ca49f7599cc1fab | refs/heads/master | 2023-08-10T19:05:52.523629 | 2021-09-21T06:05:44 | 2021-09-21T06:05:44 | 377,136,709 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 384 | r | analysis_model_E1_table.R | ##' .. content for \description{} (no empty lines) ..
##'
##' .. content for \details{} ..
##'
##' @title
##' @param model
##' @return
##' @author gorkang
##' @export
analysis_model_E1_table <- function(model) {
table1_model_E1 = sjPlot::tab_model(model, show.r2 = TRUE, show.icc = FALSE, show.re.var = FALSE) # show.... |
b00deccd9f7d5bc7ffeb5594ebce66a8da61e0a1 | 600d14ceea86397d20d980ad7c7937d818899ae3 | /plot2.R | 4033510e3a2ac8812ed0f54c3de2d87ffd209c08 | [] | no_license | ameyajDS/ExData_Plotting1 | a4741f6cfd7eed8d102a33be222b89366fa41898 | 05ff8be597ff365497dd31d9c25f69c93c33f6dd | refs/heads/master | 2021-07-06T05:55:20.779289 | 2017-10-01T18:02:08 | 2017-10-01T18:02:08 | 105,437,801 | 0 | 0 | null | 2017-10-01T11:35:15 | 2017-10-01T11:35:14 | null | UTF-8 | R | false | false | 760 | r | plot2.R | setwd("H:\\DataScience\\Coursera\\Exploratory Data Analysis\\Week 1\\Assignment")
housePowerConsumption <- read.csv("household_power_consumption.txt",header = T, sep = ";", stringsAsFactors = F)
housePowerConsumption$Date <- as.Date(housePowerConsumption$Date, "%d/%m/%Y")
date1 <- as.Date("2007-02-01")
date2 <- as.Da... |
3f42e34a9937ae7739e40bc47483ab4eaa111610 | de7bf478ce5b3bd796ab9bd8054b00e8b94cc9d2 | /man/computeAlpha.Rd | 303dda47545650c19cdb8fc5d2af47db6b321c69 | [] | no_license | cran/FFD | b454ef48bf69f08d5014bb5b3a42f7df7401bb02 | 78eefbd15c03bf7362d9f39aca0be1c0d3d02c98 | refs/heads/master | 2022-11-11T01:55:17.186774 | 2022-11-08T09:10:06 | 2022-11-08T09:10:06 | 17,679,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,905 | rd | computeAlpha.Rd | \name{computeAlpha}
\alias{computeAlpha}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
FUNCTION to compute the herd-based alpha-errors (= 1 - herd sensitivity).
}
\description{
For a vector of herd sizes the herd-based alpha-errors (= 1-herd sensitivity) are
computed for either limited ... |
f73a39c40cbe12247ca6b1aee3cabfda95dd2d87 | e3c53ce91be6f5a3f54d1a978735db8091642905 | /plot2.R | 8ad03f76c5c39b2fbadbbe9a245e4d922c3a0b49 | [] | no_license | WillHowell/ExData_Plotting1 | 760bb9f92c47adbf7b2fac38dcbf8581bec1c28c | eca91c63e7df6be5cde2e25dba658fe79d1ea83b | refs/heads/master | 2021-01-21T07:14:56.209481 | 2014-05-11T21:56:30 | 2014-05-11T21:56:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 864 | r | plot2.R | #load the lib
library("sqldf")
#if the table exists from a previous run, delete it
sqldf("drop table if exists main.elec", dbname="testingdb")
#read the raw text file into main.elec
read.csv.sql("Data//household_power_consumption.txt", sql = "create table main.elec as select * from file",
dbname = "testi... |
16714fad9682c3a72a1272389c494ba563ef01c2 | 9164e9c2f3d590795cbb763484dcbf32922b3333 | /man/list_sessions.Rd | 14309e070ca53c018cdcc2d150734ab2b17e6013 | [
"MIT"
] | permissive | jonocarroll/tmuxr | 83a33343208e3ace4a1a051b9b039a253cd3cd4e | 135901ddd1417b9bdb5af7964f6aa498fbf95d06 | refs/heads/master | 2021-05-02T14:48:14.975903 | 2018-01-30T10:55:38 | 2018-01-30T10:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 254 | rd | list_sessions.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/session.R
\name{list_sessions}
\alias{list_sessions}
\title{List sessions.}
\usage{
list_sessions()
}
\value{
A list of \code{tmuxr_session}s.
}
\description{
List sessions.
}
|
01d4f4fb1255b5a26483ff1f318cb8c75f9ca1d6 | e95cffe334a2b9202aeb729bc6b0acdcc10962d6 | /data-raw/pokedex.R | 22715eededb5dfca6fb8d77b1e95e915a8b7df5a | [
"CC-BY-4.0"
] | permissive | victordogo/pokechoosr | 51c4ee17dc5b31f10355b4c3bd16667433dd4268 | 7e0b5bfe171d1bee5ef45e5ff34e5f7785ff057d | refs/heads/master | 2023-07-18T08:50:58.421939 | 2021-09-06T19:30:09 | 2021-09-06T19:30:09 | 403,355,987 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 212 | r | pokedex.R | ## code to prepare `pokedex` dataset goes here
pokedex <- readr::read_csv("data-raw/pokedex.csv") |>
dplyr::select(-...1) # First column doesnt contain variables
usethis::use_data(pokedex, overwrite = TRUE)
|
e18e0120a15f163ab01035d58bb53162c8c4adad | b4d3e44e7da647defaf290cc219a0011e9bab5f9 | /man/get_power_apsim_met.Rd | 0318cfaa1c4de4019b9197562ed87a4a646f2181 | [] | no_license | femiguez/apsimx | 81313570fbbbb915ba1519ad0cd95ac0d38dc4df | 7df3b0a34d273e8035dbe22d457ed3911d07d7bc | refs/heads/master | 2023-08-10T13:49:57.777487 | 2023-05-22T14:53:51 | 2023-05-22T14:53:51 | 194,395,452 | 34 | 21 | null | 2023-07-28T15:27:39 | 2019-06-29T10:54:27 | R | UTF-8 | R | false | true | 1,452 | rd | get_power_apsim_met.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_power_apsim_met.R
\name{get_power_apsim_met}
\alias{get_power_apsim_met}
\title{Get NASA-POWER data for an APSIM met file}
\usage{
get_power_apsim_met(lonlat, dates, wrt.dir = ".", filename = NULL)
}
\arguments{
\item{lonlat}{Longitude an... |
f1c80701418cbd9ef9dd9f806bb06dd1e647b95d | 4c8abf106c9258d18818201e2ef75f35ac8b58f1 | /plot1.R | b591f7e69609f823789c416b15aeab7df72d972c | [] | no_license | VaibhavBarot/ExData_Plotting1 | a95f43800dcee28f0f8fdfae5fc1fbea2ebc56dd | 0dd57a430005a944825ac2e184a419b80641154a | refs/heads/master | 2022-10-01T11:41:57.779616 | 2020-06-09T12:21:50 | 2020-06-09T12:21:50 | 270,921,568 | 0 | 0 | null | 2020-06-09T06:29:40 | 2020-06-09T06:29:39 | null | UTF-8 | R | false | false | 468 | r | plot1.R | #For reading only 2 days in Feb
csv<-read.table("consumption.txt",sep=";",skip=66637,nrow=2880)
#Getting headers by reading only first line
colnames(csv)<-unlist(strsplit(readLines("consumption.txt",n=1),";"))
#Keeping main and x label empty so we can use title function
hist<-hist(csv$Global_active_power,col=2,m... |
189157b7310e094a7b2f919c28a4cd8bce9e6f3a | b055d27e0b57dbc749fdeced6960621820488c71 | /man/graphical.node.patterns.Rd | 3c951a3051d3c068c1b326d49f930231a58f38c3 | [] | no_license | vanderleidebastiani/daee | 4bf43ac80e5b4ec5fcf3e883fb70ad78e5729aed | 2550c1ef4119f539cbf4d7c68d0619d324e6c19e | refs/heads/master | 2021-06-20T05:29:14.264681 | 2021-01-20T18:16:01 | 2021-01-20T18:16:01 | 23,359,900 | 0 | 3 | null | 2018-06-20T08:11:58 | 2014-08-26T17:08:48 | R | UTF-8 | R | false | true | 2,839 | rd | graphical.node.patterns.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/graphical.node.patterns.R
\encoding{UTF-8}
\name{graphical.node.patterns}
\alias{graphical.node.patterns}
\title{Define graphical parameters to plot phylogenetic tree.}
\usage{
graphical.node.patterns(
tree,
nodes,
basicpattern,
nodes... |
9baaedeeb33e961516608604fd07480b5eced7e3 | a5e201d84f0a35006853237c49a380c93bf9facc | /build.R | 6664d3e030083917a2004a93264f889aec541df9 | [] | no_license | jbryer/likert | 308d4dc7d14417536c72f7d78968600bc606b78b | 6fc296a44679c103bae8a26b7aeceac2fc857a22 | refs/heads/master | 2023-03-15T12:32:28.404055 | 2022-07-27T18:16:14 | 2022-07-27T18:16:14 | 4,225,364 | 260 | 125 | null | 2023-06-20T07:09:21 | 2012-05-04T14:02:08 | HTML | UTF-8 | R | false | false | 1,349 | r | build.R | library(devtools)
#Package building
document()
install()
build()
test()
#Rbuild('likert',vignettes=FALSE)
build_vignettes()
check(cran=TRUE)
# Build website
pkgdown::build_site()
# Ready for CRAN?
release()
##### Basic testing
library(likert)
ls('package:likert')
#Run shiny app. See also shinyLikert to run from th... |
76987aa1094eba7922561559f452a59cc847e5e8 | f45e318e27acea2d99ff66e9f12bdc97413a0b73 | /scripts/CGHcallPlus.R | 9fb5b12d8df43425bdbf8082875c1558907ebc3d | [] | no_license | tgac-vumc/QDNAseq.snakemake | e311b9df21c1474b6eb5b66e7a2d45f863ba0dc1 | af6b76b7301f4174bc69a8dcc87bcb2e5aacaa62 | refs/heads/master | 2023-08-19T13:43:19.523826 | 2023-08-04T12:03:00 | 2023-08-04T12:03:00 | 112,479,307 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,761 | r | CGHcallPlus.R | #this script contain the functions: make_cghRawPlus, frequencyPlot, segmentDataWeighted, CGHregionsPlus,
#regioningPlus, repdata , WECCA.heatmapPlus, mark.genes , mark.bed, add.cytobands , add.genes, plot.profiles
msg <- snakemake@params[["suppressMessages"]]
if (msg){
suppressMessages(library(CGHcall))
suppre... |
fc6af9ad9319360901ed4797eb2a1183250763f3 | 26e0c26e97e178d9cd8691a5bd7851d97470ca91 | /R-libraries/spm/R/generate.MVU.R | e5fd8d31e4b93787259033bbf9f51b456ef851e5 | [] | no_license | alistairdunn1/SPM | 61ec762569cf7adb209dd78e0db01ac45b19845b | 33a356d7b1dff6d2f03ef7008b04848fa688435d | refs/heads/master | 2022-11-16T18:33:05.511891 | 2022-10-17T05:10:56 | 2022-10-17T05:10:56 | 179,891,504 | 1 | 6 | null | 2019-04-06T22:03:20 | 2019-04-06T22:03:20 | null | UTF-8 | R | false | false | 1,170 | r | generate.MVU.R | #' Generate a multivariate uniform distribution based on the bounds for the extimated parameters
#'
#' @author Sophie Mormede
#' @param file the name of the input file containing the estimated fits
#' @param path Optionally, the path to the file
#' @param output.file The name of the output file to write randomly g... |
856adf51db49ea4c78a22145bf97e3acd1d37907 | 2656a078cef4fbb1a32b78dc946e945b5424ba35 | /man/blood.Rd | 1b5183f8eed83e41ece3aeb2e0b3878b87aadee8 | [] | no_license | fanatichuman/geomnet | fa5ccf2049eae8f6131160815442fff779cb221f | 6aff9ca74a581e773e8b7f502863c8bef483e473 | refs/heads/master | 2021-01-24T20:25:07.135518 | 2016-07-20T16:00:24 | 2016-07-20T16:00:24 | 64,494,837 | 1 | 0 | null | 2016-07-29T16:27:48 | 2016-07-29T16:27:47 | R | UTF-8 | R | false | true | 1,279 | rd | blood.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.r
\docType{data}
\name{blood}
\alias{blood}
\title{Network of blood types (directed)}
\format{A list of two data frames:
\itemize{
\item the edges data set consists of three variables of length 27:
\itemize{
\item from, to: factor vari... |
b95f31fb1d6899aba47d478251146d803144f1b2 | 78b7de62e2e5b80503c5077da973fb81e4b326bf | /Readme.R | e39f1460e769162de3a514a31666e05790b1d189 | [] | no_license | salviadr/breast_cancer_panel | cd619049c36098338b9c49a5a483c90bc81ce729 | e69a72c5b0b14b97dfdfddf47818a28203ad6ba1 | refs/heads/master | 2021-01-20T10:13:01.938473 | 2016-04-08T18:08:14 | 2016-04-08T18:08:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,560 | r | Readme.R | ## Do not run this, this is only for detail information of related analysis in BreastCancer project
Here, we use "~" to present the main folder of breast_cancer.
variants/: variants calling for our cohort data and controls.
pedigree: All the pedigree information.
code: Main code for variant statistics and single s... |
b9b3e5a3a7f31b437da6130f894ccbb973c2587b | 863e9fd3a3a0d5a1b36d4486e3f3c23f48d247f5 | /init.R | e920ccb2716f06ba0e98af8c772a2066cd0bedb0 | [] | no_license | iceiony/customer_flow_snippets | ed224b9c6dc0b3b55779ec730b5b65d3059da002 | b9c99428db91d0c5d11fa23598fcdbb67a0b9625 | refs/heads/master | 2020-05-25T14:22:10.304039 | 2017-03-14T11:00:18 | 2017-03-14T11:00:18 | 84,939,034 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 385 | r | init.R | library('pryr')
library('plyr')
library('dplyr')
library('reshape2')
library('ggplot2')
library('parallel')
library('tictoc')
library('ptw')
library('zoo')
# source all functions from mlp_functions folder
sources <- lapply(list.files('functions', '[.]R$', full.names = T), source)
elapsed <- function(msg){
toc()
... |
11a9a87ad2f9c2d717649e67b9770fe4c5ec9ec4 | acde47fe52279c49da31500d3262c886aed590e2 | /R/grid3Covariates.R | 1e31aa5f4951dda41452800870fbeb99c1cd4025 | [] | no_license | wpgp/grid3Covariates | 7943f07fa46a25f218de0456a6d5cc1de1396948 | 1685eeff1db8359052c82fb54f960433d0d1c01e | refs/heads/master | 2020-03-22T10:44:42.474591 | 2018-07-06T03:27:05 | 2018-07-06T03:27:05 | 139,924,285 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 9,829 | r | grid3Covariates.R | # Function to get time difference in human readable format
# Input is start time and end time
# If "frm" is set to "hms" then output will be h:m:s
# otherwise only hours will be returned
tmDiff <- function(start, end, frm="hms") {
dsec <- as.numeric(difftime(end, start, units = c("secs")))
hours <- floor(dsec / ... |
9bac926122dba11337b3437d5f79aa4665ebf643 | 39c168444d709b04c268b16eac3d9f56d6dea0be | /man/batch_bam.Rd | 2fc92e7f81619a2e8fde4a488aafadfc4ecefda5 | [
"MIT"
] | permissive | EcoGRAPH/clusterapply | d17d49970d9816809120aec1a7cb2106df26adf5 | d8ac1faff4dccd6e4778d9d5ca71840b2782ff81 | refs/heads/master | 2023-03-14T12:36:33.766296 | 2021-03-05T02:23:52 | 2021-03-05T02:23:52 | 262,955,495 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,502 | rd | batch_bam.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/batch_bam.R
\name{batch_bam}
\alias{batch_bam}
\title{Run a set of separate but similar mgcv::bam models in a single function call, with
the possibility of replacing arguments if the regression results in an error.}
\usage{
batch_bam(data = N... |
e9e3bd701cc3feec6d92a796dea98ec81122e2c4 | c47a9b3d8c234674c595a9b928b902de84f0264b | /behavior/DropSubjects.R | 6374784a13d5451fb241cc5447cdab9ffc6ebf0c | [] | no_license | tanyaberde/targetdetection | 416ba80c2ef336834a9c14cddba32828209fe30c | 7fc297a235745c85d8d7b2775aebd8c924cd514e | refs/heads/master | 2020-05-04T23:18:02.804409 | 2019-04-04T16:58:38 | 2019-04-04T16:58:38 | 179,539,251 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 211 | r | DropSubjects.R | # Drop subjects because #reasons
Subject.Drops <- c(
# "example sub number here"
"94" )
# Drop cases where subject numbers match the ones in Subject.Drops
dat1 <- dat1[!((dat1$Subject) %in% Subject.Drops),]
|
cb629e21ae6da151d2a758a476150a5b66d1add5 | 3d1268e3945bebc98467d7dfec97997c94a7c709 | /plot4.R | 43f2886fbed6d8595f44221f6e5aa463fc5a2b40 | [] | no_license | LizPS/ExData_Plotting1 | d0c654eeebefa0dd03321d936783055d27715936 | e438f822510fdaafd0c05a42d132e448cf20d0d7 | refs/heads/master | 2020-12-25T00:55:11.197046 | 2014-08-04T23:25:50 | 2014-08-04T23:25:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,414 | r | plot4.R | ##This script assumes data are unzipped and in working directory.
#Read in and subset data (to save processing time, if objects are already in
#memory execute from line 15)
col_classes <- c(rep("character", 2), rep("numeric", 7))
data <- read.table("household_power_consumption.txt", sep=";", na.strings ="?",
... |
6bf3ffc6b2d6f06d421af880e00b0bfb8e399c90 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/checkmate/examples/checkFileExists.Rd.R | 5421e115b53d70799b67bd299499d5dacc22a09d | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 539 | r | checkFileExists.Rd.R | library(checkmate)
### Name: checkFileExists
### Title: Check existence and access rights of files
### Aliases: checkFileExists check_file_exists assertFileExists
### assert_file_exists testFileExists test_file_exists expect_file_exists
### checkFile assertFile assert_file testFile expect_file
### ** Examples
#... |
80d9061893d699f076b5b0b580ebf3ade349b188 | 8d47c5151a31d7d9d0a5c1f9a9678b95cbe176a1 | /plot2.R | f89a32b4c120f377c135de796cc1f1fd34211cd4 | [] | no_license | pennyg7610/Exploratory_DA_A2 | b4535d7dd31d49f191f433745c2379dbd716c4fc | 624fc16ee5314d716366c816935d2d10301e318d | refs/heads/main | 2023-08-27T19:35:11.650281 | 2021-10-29T19:48:42 | 2021-10-29T19:48:42 | 422,606,779 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,189 | r | plot2.R | # Assignment :
#The overall goal of this assignment is to explore the National Emissions Inventory database and see what it say about fine particulate matter pollution in the United states over the 10-year period 1999–2008. You may use any R package you want to support your analysis.
#Question 2
#Have total emissions ... |
99bd3fcfdc02fc591b29573052d1845302630ae9 | 5c94c3965af6cdc2c715ffdb073254f0cfd34dab | /R Code - PMD Launcher/383C_FinalProject_RCode.R | 980bf5a3016d0f97fd983098380d2b432c2ed5d1 | [] | no_license | jestarling/penalized-matrix-decomp | f11bfdce46e4f4620986bd43a23bb0704cc0a878 | a66d4a21d775b1c5aa301efc1785b3caa7eb7a47 | refs/heads/master | 2021-06-09T05:48:59.813524 | 2016-12-05T15:00:37 | 2016-12-05T15:00:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,579 | r | 383C_FinalProject_RCode.R | #SDS 385 Final Project
#Jesse Miller & Jennifer Starling
#Fall 2016
rm(list=ls()) #Clean workspace.
library(stats) #For KDE estimation in histograms.
setwd("/Users/jennstarling/UTAustin/2016_Fall_SDS 383C_Statistical Modeling 1/Final Project/penalized-matrix-decomp")
source(file="./R Code/Penalized_Matrix_Decomp_Fun... |
81da0104f6fa6a93d73930913b6e763590c5f8c4 | 3ad6528b225c3e29c8cd1ba7e2897d4eb0a7ac6d | /man/showSparkTable.Rd | a7e031493c4a4fc3cb31c8e0c191aa0be776a70d | [] | no_license | cran/sparkTable | 1ca21474c32f41c04e048f40c8a97d2b2e55bb85 | 81c0f57f43aad2b76ccff03b795c3d5f08ddc29b | refs/heads/master | 2021-01-17T09:33:53.766221 | 2016-12-13T18:55:10 | 2016-12-13T18:55:10 | 17,699,843 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,914 | rd | showSparkTable.Rd | \name{showSparkTable-methods}
\docType{methods}
\alias{showSparkTable}
\alias{showSparkTable-methods}
\alias{showSparkTable,sparkTable-method}
\alias{showSparkTable,data.frame-method}
\title{ Look at your sparkTable in a shiny App}
\description{
~~ Methods for function \code{showSparkTable} ~~
}
\section{Me... |
69199b2f2d5ab2a06aa97b956c2f423caa5d3672 | 2228506fa1b15001d3e80d273939cf2184f60736 | /man/NEATSimulation.RunSingleGeneration.Rd | 1f2245f015109d66afa098a1a91dc5edc8134269 | [] | no_license | ah-box/RNeat | 5030a789fcf9c2fdea3b6806ddcb338967d0f680 | f7c7eec76f595acfb4f5ee28ad54f150244d0d49 | refs/heads/master | 2023-03-20T12:14:48.302788 | 2016-10-23T14:04:18 | 2016-10-23T14:04:18 | 58,329,758 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 802 | rd | NEATSimulation.RunSingleGeneration.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/neat.R
\name{NEATSimulation.RunSingleGeneration}
\alias{NEATSimulation.RunSingleGeneration}
\title{Runs a single generation}
\usage{
NEATSimulation.RunSingleGeneration(simulation, createVideo = F,
videoPath = "videos", videoName = "", frame... |
d5c8221a182b7c4f7b71e7c83fda2b122f645413 | 5445ecc3d101ef8ced80cdd759e25fa2fe05387e | /tools/predictSGRNA/man/predictSGRNA-package.Rd | 45dcc88cb988e4739fb446bd85552148d7696ef4 | [] | no_license | bmerritt1762/GRIBCG | d1aafed826a8ea1ea5c308243aa6abe49fd6934e | ad5622345fb67f9fa19ff32e6d90f95ac664b0ab | refs/heads/master | 2020-04-09T00:08:15.505907 | 2018-12-14T01:45:24 | 2018-12-14T01:45:24 | 159,854,713 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 819 | rd | predictSGRNA-package.Rd | \name{predictSGRNA-package}
\alias{predictSGRNA-package}
\alias{predictSGRNA}
\docType{package}
\title{
Predict sgRNA efficiency
}
\description{
The predictSGRNA package predicts sgRNA efficiency from position dependent dinucleotide model of Kuan et al. (2017).
}
\details{
\tabular{ll}{
Package: \tab predictSGRNA\cr
Ty... |
6e4dfb8ba52651fdb8315f623a1332e741c9e4f5 | 96ef0481a0f4baa05237718907608e31dcf10304 | /KalmanFilter.R | e2b43981f46b653255ff29e9b905a4ac6820e86e | [] | no_license | yuhenghuang/Rcpp | 8ba67c65b4a5e6f32375e251b1170e3b172d455c | 5c6fb11c347fc2e72bb8d98c29a0ae4552ce8d31 | refs/heads/master | 2023-01-09T00:40:39.292823 | 2020-10-23T13:25:35 | 2020-10-23T13:25:35 | 282,114,511 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 141 | r | KalmanFilter.R | library(Rcpp)
sourceCpp("KalmanFilter.cpp")
pos = matrix(c(1:1000/500, sin(1:1000/500)), ncol = 2, byrow = TRUE)
res <- KalmanFilter(pos)
|
afe4d42f76db94d3c9fb0fde37c18834f23d0994 | 5fc35d4a81175339460430f42c9cc2146a8d06eb | /Transformada Wavelet Haar Y Arbol de Decisiones/wavelets.r | d16ec01a719f9e5810a537727958fc1c4ffdf102 | [
"MIT"
] | permissive | juusechec/MiniProgramasR | 135ec3c1fa4564c08397fcfaa9e052ccafac30ff | bdcb67ab4364397c4b7d729b76a5ff813b4e3948 | refs/heads/master | 2021-07-08T18:32:20.029522 | 2017-10-05T03:37:50 | 2017-10-05T03:37:50 | 103,343,923 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,490 | r | wavelets.r | library(wavelets)
k <- c(1,2,3,4)
w <- dwt(k, filter="haar")
w@V[[1]]
# http://www.bearcave.com/misl/misl_tech/wavelets/matrix/index.html
a <- c(1,1,0,0,
1,-1,0,0,
0,0,1,1,
0,0,1,-1)
a <- matrix(a, nrow = 4, ncol = 4)
b <- matrix(k,nrow=4, ncol = 1)
x <- (1/sqrt(2)) * a %*% b
y <- c(x)
ai <- y[seq(... |
93e5d46e4e01b8f53ce1982a0f1ed4b364ce3615 | 9cb1e9d2d096090a3fe5a79e2bc5758bb3e243f0 | /constants.R | 75185225f4919a91ad8f145989e91a8b0b8e60c7 | [
"MIT"
] | permissive | anuraagpolisetty/ADS-Dashboard | 7754869becdee7b7335ba177a6817cd90b4fdb72 | 74d2703b0cde43b39168cb65612d03d5481d886c | refs/heads/master | 2022-08-28T07:29:12.486227 | 2020-06-01T05:34:21 | 2020-06-01T05:34:21 | 266,222,323 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,846 | r | constants.R | # library(googledrive)
# source("auth.R", local = T)
# This file is used to store all constant variables that can be accessed from any other file.
# Anyt changes or additions to this file will update accordingly in the overall dashboard.
# You can add a new center to the 'centers' variable which will automatically crea... |
9859bf6c0fff867d1922f207c883ff07161fa63c | 1fd808eaaf20f57ebab987fa5034b9b43b52ce8f | /source/composite variables/01-horizontal_general.R | 950b2129340d0ac6e2624f304a0763226c8abe8f | [] | no_license | Ashire/som_mcna_19 | aada6d5814de0f89ab0cb0d2e0b1bf4f4fd57dd0 | 14158867b6c0183a366181f9e594fa540dec767e | refs/heads/master | 2020-09-23T06:12:46.301327 | 2019-11-21T04:07:20 | 2019-11-21T04:07:20 | 225,424,915 | 0 | 0 | null | 2019-12-02T16:53:45 | 2019-12-02T16:53:44 | null | UTF-8 | R | false | false | 4,471 | r | 01-horizontal_general.R | #general recoding
response <-
response %>%
#Dates: converting dates from excel format
dplyr::mutate(today = as_date(today, origin = "1899-12-30"),
left_aoo = as_date(left_aoo, origin = "1899-12-30"),
arrived_current = as_date(arrived_current, origin = "1899-12-30"),
... |
ed27df0eaaded8ae3af56424b3a7c23e8fad385d | ca9391015da1e043c1ef54d05cf57343653b12bb | /Rscripts/bmaPredictionNormalizedWeights.R | 1983aab3e7049a0b6f8d42bc284dfb43ea437cd3 | [] | no_license | shahanesanket/Multi-temporal-Classification-of-satellite-images | 0862e85cd72f53e662989f89114003b0c1898ce0 | dc169fbe97d8e851881bdfceae4dac8fdaa981d9 | refs/heads/master | 2021-01-18T16:48:32.055109 | 2017-03-31T05:16:16 | 2017-03-31T05:16:16 | 86,773,384 | 0 | 0 | null | 2017-03-31T03:19:16 | 2017-03-31T03:19:16 | null | UTF-8 | R | false | false | 2,677 | r | bmaPredictionNormalizedWeights.R | library(e1071)
setwd("C:/Users/Sanket Shahane/Google Drive/MS/ALDA/Project/Multi-Temporal-Classification/TrainingData/ValidationData")
dataset1=read.csv("ValidationData-2015-04-19.csv")
dataset2=read.csv("ValidationData-2015-12-31.csv")
dataset3=read.csv("ValidationData-2016-01-16.csv")
dataset4=read.csv("Valida... |
cdc2be40276701455b1df9817083ccf92e4a2a3a | c388b308e3136df65dc7c5c82e4cbd686192ba8f | /R/ggkaryo.R | 08ed6e3ce0e103839d70b815366d169ad9f49f3c | [
"MIT"
] | permissive | ggirelli/ggkaryo2 | 1e9cf61e18f7f8fe056c68e6411a598dcb4474c0 | 0bd19c109479eeb98748186d4b0e11e26f7bb661 | refs/heads/master | 2021-06-20T09:49:11.443808 | 2020-06-25T04:57:31 | 2020-06-25T04:57:31 | 185,577,333 | 1 | 0 | MIT | 2020-06-25T04:57:33 | 2019-05-08T09:43:26 | R | UTF-8 | R | false | false | 29,784 | r | ggkaryo.R |
#' ggkaryo: a class for karyotype plotting and overlaying.
#'
#' The \\code{ggkaryo} class allows to plot (labeled) ideograms and to overlay
#' them with data track profiles and also highlight loci of interes (lois).
#'
#' @import methods
#' @export ggkaryo
#' @exportClass ggkaryo
#'
#' @importFrom cowplot theme_cowpl... |
db8adb13ff048b4c635aaa4b717d9a93a97da525 | d921a3508ec3d708ab4453368ad3cd8a5858105e | /man/summary_tab.Rd | 9d5800f8f923c56c9ebbfb237f8b2db26c960ba9 | [] | no_license | taotliu/abcde | 0cbd119df461f62d1892dce0033e7fc217be222e | 9a86d44eec7d09cd0ed1b4ecc937b79d246aa5b6 | refs/heads/master | 2021-06-25T07:17:42.961026 | 2020-11-25T22:08:34 | 2020-11-25T22:08:34 | 143,824,989 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 512 | rd | summary_tab.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/abcde.R
\name{summary_tab}
\alias{summary_tab}
\title{A Summary Table Function}
\usage{
summary_tab(xx, ref = NULL)
}
\arguments{
\item{xx}{Data of which a summary table is needed.}
\item{ref}{A parent data, of which xx is a subset; useful w... |
98c1697da4c5b3369897e1e087ac6d9c4eb5c0ed | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/WufooR/examples/user_info.Rd.R | 355df26151f4a2dcabbaea7f76ec84ed09d732d8 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 210 | r | user_info.Rd.R | library(WufooR)
### Name: user_info
### Title: Return information about the user
### Aliases: user_info
### ** Examples
## No test:
user_info(debugConnection = 1L, domain = "wufoo.eu")
## End(No test)
|
e318f2f92ce3b1e0f2027c44f4e36193a4ee9ffc | 5d50889012cb657cac8ba5e27d7f531b8f29dac2 | /man/mycph.Rd | 7d9da2d07e328ddc5ee080304429d2bc082b3390 | [] | no_license | cardiomoon/moonBook | 30a2fd5df73b3447ff7d7147d8c3f30d4afac9e9 | eeb0afdc39f548ed1b384c3fc9eaafcdce3d2206 | refs/heads/master | 2023-03-18T08:10:09.957246 | 2023-03-12T11:37:17 | 2023-03-12T11:37:17 | 27,332,967 | 31 | 9 | null | null | null | null | UTF-8 | R | false | true | 935 | rd | mycph.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mycph.R
\name{mycph}
\alias{mycph}
\title{Perform coxph of individual expecting variables}
\usage{
mycph(formula, data, digits = 2)
}
\arguments{
\item{formula}{An object of class "formula". Left side of ~ must be a
variable of class Surv and... |
86d9d3eefb79854a5c8b53f7f438a1c662181fbd | f3f5b8a3ee512ac1d3e540eb9e293642a2373ce7 | /결손그룹_최종.R | a90a28d823d7d0994bfaa852fa75e72a2ed149e1 | [] | no_license | Yang-Munil/diabetes_related_occupation_in_Korean_population | 184abc2440f2c9a7dee28f2524692524de19d218 | 36ce066fb6dc794068d56bcccc4091f5a13e2fa4 | refs/heads/main | 2023-07-08T14:55:10.525942 | 2021-08-12T10:42:56 | 2021-08-12T10:42:56 | 346,424,723 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,714 | r | 결손그룹_최종.R | library(scorecardModelUtils)
library(ggplot2)
library(Rprofet)
df3 <- read.csv("C:/rproject/df3_columns.csv")
binned <- BinProfet(df3, id= "TPR_NO_ENC", target= "TARGET", num.bins = 5) ## Binning variables
WOE_dat <- WOEProfet(binned, "TPR_NO_ENC", "TARGET", 3:281)
Score_dat <- ScorecardProf... |
dcf2f502764a41d474456286fa46ecaef0fbeba0 | 4e0b9875be157f920d06100903de632847f47939 | /homework/hw7/cs571-hw7.R | a2822e7c5fc637be116d24e9fdb9e112ec0b611f | [] | no_license | ldfaiztt/cs571 | 3dab49591b62eaa2140a9aa433f989e874623489 | 1476ec0cb7050acc9333bada453c6aaae1f24967 | refs/heads/master | 2021-01-18T05:53:45.474261 | 2013-12-05T15:52:40 | 2013-12-05T15:52:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 415 | r | cs571-hw7.R | # CS 571, Duke University, Fall 2013
# Matt Dickenson - mcd31
# Homework 6
setwd('~/github/cs571/homework/hw7')
# Problem 2
beta02 = rbeta(1000, 0.2, 0.2)
beta1 = rbeta(1000, 1, 1)
beta10 = rbeta(1000, 10, 10)
pdf("betasamps.pdf", height=6, width=2)
par(mfrow=c(3,1))
hist(beta02, main="", xlab="alpha=(0.2, 0.2)")
h... |
0f76f8ca4c467e850765d4355bb34b334009746e | 86283f02afb6a0727cf66e671c82dbaed7139734 | /Friendship/postana.R | 8403d01136628654af709c3403ac68c47552f226 | [
"MIT"
] | permissive | joshloyal/mcr | 8c8d79848ef04c9e3c4fbcefef36d915ffab9e80 | 2142d86e8222604b7cb6147a5d19232fc33fdf29 | refs/heads/master | 2021-09-17T06:58:01.063476 | 2018-06-29T02:33:56 | 2018-06-29T02:33:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 682 | r | postana.R | ###
load("result.RData")
thetaZ<-apply(thetaZ.iter[-c(6:7),],1,quantile,probs=c(.025,.5,.975))
thetaX<-apply(thetaX.iter,1,quantile,probs=c(.025,.5,.975))
colnames(thetaZ)<-c("alpha1","alpha2","beta1","beta2","beta3","h")
colnames(thetaX)<-c("b","a","c1","c2")
thetaZ<-thetaZ[,c(3:5,1,2,6)]
apply(thetaZ1... |
071fc55f2ded0a6936375c26caf55ea84b216492 | 29585dff702209dd446c0ab52ceea046c58e384e | /heatex/R/heatex.R | 05170c96cf1c5c637130f5eeaefb0c86f18d5a6d | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,603 | r | heatex.R | # heatex.R
# created: 14 February 2013
# last revised: 18 February 2013
heatex<-function(df){
# define constants
ArAd<-0.70 # ratio of body area exposed to radiation versus the total body surface area. 0.70 for seated posture and 0.73 for standing
l<-2430 # latent heat of evaporation of sweat
m.coef<- 0.0001694 # ... |
d927dc3819418bb857f78a73545a3bf041c24fd4 | 2757ff6eccdbc5da6bb2b587de706767430eb1fb | /clp_dep/clp_dep.R | a37c040e6d4fea33da40c5db732139ab66da4ac9 | [] | no_license | jakob-petereit/R_scripts | 8257ae1eb21297a47b64b055b23f83405247e3b2 | 6f4f45ce7ba498cb7c8d9eedb5dcbc770f49605d | refs/heads/master | 2020-06-13T21:15:18.980876 | 2019-08-05T20:16:09 | 2019-08-05T20:16:09 | 194,787,728 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 71,409 | r | clp_dep.R |
# libraries ---------------------------------------------------------------
library(DEP)
library(tidyverse)
library(data.table)
library(fitdistrplus)
library(Biostrings)
library(SummarizedExperiment)
###### read data ---------------------------------------------------------------
data <- fread('data/proteinGroups.tx... |
09b2997b4f59a682b6880c1571c2e289055fe3d0 | 3cdfdd9a76285fe3604e10e8936011cf0ef00d2b | /research/LDA.R | 44b1fb3d875585d73ed53ebae5eb6f2ad746ad61 | [] | no_license | nichi97/research | 40acd333141c09b719073cc3eb4287faf27a08e7 | e92a7a616153fdabc4ee10ec4e2f44791e68e3a5 | refs/heads/master | 2020-05-07T05:51:06.876840 | 2019-05-17T17:05:14 | 2019-05-17T17:05:14 | 180,289,348 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,295 | r | LDA.R | library(tidyverse)
library(readtext)
library(quanteda)
library(topicmodels)
# read in the data
textlist <- readtext(file = "./New_York_Times_Data")
# deal with one sample document first
sample <- corpus(textlist[1,2])
# separate each txt file into individual documents
sep_doc <- corpus_segment(sample, "_... |
c1dac5ac86569fc1bc7a09ed14957f784f99609d | d75b0a81b020d8397bd6e18e6906b53a7678f873 | /man/create_edges.Rd | bb0adb201da83b48754c09cb99babc731dfa5b08 | [] | no_license | alishinski/lavaanPlot | eef00b29d2c820b88ce5750e94b6952ef1f779a1 | 2292161266eb64cf261417124471f3f84f2ce77c | refs/heads/master | 2023-02-22T05:48:19.507495 | 2023-02-17T17:25:09 | 2023-02-17T17:25:09 | 93,868,858 | 38 | 3 | null | 2022-04-02T20:41:32 | 2017-06-09T14:49:28 | R | UTF-8 | R | false | true | 1,239 | rd | create_edges.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lavaanPlot2.R
\name{create_edges}
\alias{create_edges}
\title{Creates edge data frame and adds formatting}
\usage{
create_edges(
coefs,
ndf,
edge_options,
coef_labels = FALSE,
stand = FALSE,
stars = NULL,
sig = 1
)
}
\arguments{... |
156bae31352a921f989f14319909db1fe6a450fe | 9a982397c4b440bfed7f8cc4e4eb87ea6038c57a | /server.R | 05f902c587f5821ec8d04fabed4a425a319cd1d5 | [] | no_license | kahyeenlai/CorrSave_G3_Bad_Genius | 5f5110be8c1dabf28383fe524f05dbbdb5f552c4 | 66f1015746141b57532d40962b4970b87ea6ceaa | refs/heads/master | 2021-09-27T06:38:24.036119 | 2021-09-10T01:53:45 | 2021-09-10T01:53:45 | 188,664,082 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 28,596 | r | server.R | #
# This is the server logic of a Shiny web application. You can run the
# application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(keras)
library(imager)
library(shinyjs)
library(ggplot2)
librar... |
4659bd61b804ef411d6364a598fbd35536e6379c | a4c4893d319c93078075ab7549d23f927cf29ac5 | /code/alfresco/alfExtractMain.R | 74eb0b8d0d9041f745c9333bc3378507e607e435 | [] | no_license | leonawicz/SNAPQAQC | 4fecaef9b245e2f8b1c6a9c40d2ed86e6e6d5392 | 54eb9eca613202ffa166a2f3d417b506c5b78f8a | refs/heads/master | 2020-04-12T01:48:01.178693 | 2017-03-10T19:00:31 | 2017-03-10T19:00:31 | 30,124,606 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,541 | r | alfExtractMain.R | # @knitr setup
# Command line arguments
args=(commandArgs(TRUE))
if(!length(args)) q("no") else for(i in 1:length(args)) eval(parse(text=args[[i]]))
if(!exists("modelIndex")) stop("Must provide a modelIndex 1 to 15, e.g., modelIndex=1")
stopifnot(length(modelIndex)==1)
if(!exists("domain")) stop("Must provide domain, ... |
ea320c9817c0f64f3c1e2e5873dfce36159fea75 | f2e5a6f59add8d8f542986368f04cd2618f73cfb | /man/print.svR_games.Rd | 3bdd244dd9ecd27cf7c2e4a9b39bcdafdffb45ce | [] | no_license | durtal/servevolleyR | c106a04ac5ef84b5ba32a772816aa2d5fc0ea6cb | 7df9e63fe41394d772b3bb23aeb29aff1c237227 | refs/heads/master | 2021-01-17T11:14:31.885626 | 2015-09-03T13:22:55 | 2015-09-03T13:22:55 | 38,617,027 | 7 | 2 | null | null | null | null | UTF-8 | R | false | false | 311 | rd | print.svR_games.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/simGame.R
\name{print.svR_games}
\alias{print.svR_games}
\title{print method for detailed return of \link{simGames}}
\usage{
\method{print}{svR_games}(x)
}
\description{
print method for detailed return of \link{simGames}
}
|
7049324d0e5f7c1ae8b997891d0c27520413c18c | e2e1a80e7d9b39886d47d144f7d573a6d3e87668 | /man/inferSSNetwork.Rd | f1f3b881a913967ad7a68b9b0fe43c31b25ba094 | [
"MIT"
] | permissive | tianyu-lu/dynUGENE | 087fdc2070cedaf101720b269536170f6c8a9810 | 120f6b829b4683222d569aeb8002aa28b1a2498c | refs/heads/master | 2023-02-13T08:41:25.755706 | 2021-01-05T23:31:00 | 2021-01-05T23:31:00 | 306,977,481 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,703 | rd | inferSSNetwork.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/inferSSNetwork.R
\name{inferSSNetwork}
\alias{inferSSNetwork}
\title{Infers a Gene Regulatory Network from Steady-State Data}
\usage{
inferSSNetwork(
data,
mask = NULL,
ntree = 10L,
mtry = NULL,
alpha = NULL,
seed = 777,
showPlo... |
e1fba596094578290c0483e2bc85a9c4cb76bac1 | 88dbe91218a7592f1927fde83a254808c9570f76 | /homework one.R | 34fd484bd56abe459c0f4a104920583d59c6048e | [] | no_license | YUYUNPONG/tryone | ce7a70f9834b99cfd2f6c09875224caec68d2163 | eb20a0add63bd050d70463c35d8ea6000965b63a | refs/heads/master | 2020-04-28T01:04:19.251080 | 2019-04-17T12:21:42 | 2019-04-17T12:21:42 | 174,840,640 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,385 | r | homework one.R | ###資料分析
## 第一步:讀入資料
Sys.setlocale(category ='LC_ALL')
library(tm)
library(readr)
jan<- read_csv("201801_data.csv",locale = locale(encoding = "UTF8"))
feb<- read_csv("201802_data.csv",locale = locale(encoding = "UTF8"))
mar<- read_csv("201803_data.csv",locale = locale(encoding = "UTF8"))
apr<- read_csv("201804_data.c... |
c7024e6da24a23f09ee54bf22cee1aeeed5c7aa9 | 49d20609fe6b5866d46460a59e3f78903a5cb3ff | /Week-5/資料清理與合併.R | 8365334bea9159c60a0dd6ec82394de15228356e | [] | no_license | PeterChiu1202/Politics-and-information-2019 | 8e2fcc23a5e77e768ad6302306afb8625330604a | 2c1a700b017b511cf8bd218df6e4f5d852105ff3 | refs/heads/master | 2020-04-26T16:53:32.709753 | 2019-04-21T14:54:20 | 2019-04-21T14:54:20 | 173,695,267 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,120 | r | 資料清理與合併.R |
# Data Cleaning and Combine
library(readr)
Jan.18 <- read_csv("201801_data.csv")
Feb.18 <- read_csv("201802_data.csv")
Mar.18 <- read_csv("201803_data.csv")
Apr.18 <- read_csv("201804_data.csv")
May.18 <- read_csv("201805_data.csv")
Jun.18 <- read_csv("201806_data.csv")
Jul.18 <- read_csv("201807_data.csv")
Aug.18 <-... |
72b2d2e5293c259fa6898921718ef5952bee87bf | 8d547a59eeaaeeb6e0c7df8ab98cc1bce8f81c4a | /Drake_code.R | e096361ea59a0536ee28e82fa3318beb83c66eb1 | [] | no_license | hanndrake/Hello-world | 60b2afe2f81eee1a0f2847ce8750c9cfefa16f11 | 157a771887af7842e40ad76ed3e2f309e6b2ee9a | refs/heads/master | 2020-07-30T20:09:23.085368 | 2019-09-23T12:27:14 | 2019-09-23T12:27:14 | 210,344,330 | 0 | 0 | null | 2019-09-23T12:27:15 | 2019-09-23T12:01:30 | R | UTF-8 | R | false | false | 417 | r | Drake_code.R | lyrics = "You used to call me on my, you used to, you used to
You used to call me on my cell phone
Late night when you need my love
Call me on my cell phone
Late night when you need my love"
chorus = "I know when that hotline bling
That can only mean one thing
I know when that hotline bling
That can only mean one thin... |
f788995eb0a200eaf66599dee71c418b4b1d1380 | c7c304bc767395e7f0eac6b3c9459bcca6f1575a | /ExampleDREAMBayesianTools.R | 3533ed13a91cdfb7cf59ff43b0d55fbacace7b01 | [
"MIT"
] | permissive | jds485/R-BayesianToolsExample | 040a33dcc2aeefee9abc184fa985d717290d73e7 | 2a1ce8dd46e1bc42d58239e8c15bd3e55f5b705d | refs/heads/master | 2022-11-25T12:26:32.634750 | 2020-07-22T14:32:49 | 2020-07-22T14:32:49 | 281,698,169 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,344 | r | ExampleDREAMBayesianTools.R | #Script to lean some of the functionality of the BayesianTools R package
#Includes serial and parallel examples.
#External parallelization not demonstrated here.
#There are many additional plots and diagnostics available in the coda and bayesplot packages. Users encouraged to try them.
#Example from: https://cran.r... |
bcdac0903bfca2de163c6776f7e1f7e2c5545983 | 9505d8ab047a5d6e35e10745d99ee1c268e2be4a | /theme-clean.R | 8434f2345ba4e5428e24626abdc2394299c3ad63 | [] | no_license | mloop/r-scripts | 9a9326f802f8e4ce1d3ae2c76a18674d79199ba8 | da01ff94360c9fdff1395c08b2e3e0694b490875 | refs/heads/master | 2021-01-10T06:45:08.457307 | 2016-04-01T17:04:41 | 2016-04-01T17:04:41 | 52,898,889 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 649 | r | theme-clean.R | # a clean theme, which came from http://stackoverflow.com/questions/16631568/ggplot2-mapping-county-boundries-in-one-color-and-state-boundries-in-another-on
theme_clean <- function(base_size = 12) {
require(grid)
theme_grey(base_size) %+replace%
theme(
axis.title = element_blank(),
axis.text ... |
2baac199e54f5d63595db294339716b91e493f5a | b5274edf8f2b3e9f995290b84745860355981184 | /plot2.R | 8dcd37667607c21ad3161bbe8e36501cf3dde899 | [] | no_license | vaibhav6215/ExData_Plotting1 | 3e4e8529a24e0fe004106c761bb147c467c5752e | 652b8038168af0646921dc4ce3ca8ff05158ef00 | refs/heads/master | 2021-01-24T21:12:01.195214 | 2014-09-06T18:01:40 | 2014-09-06T18:01:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 371 | r | plot2.R | a<-fread("household_power_consumption.txt")
dat<-a[which(a$Date=="1/2/2007" | a$Date=="2/2/2007"),]
dat$Date<-as.Date(dat$Date,format="%d/%m/%Y")
dat$Time<-paste(dat$Date,dat$Time)
par(mfrow=c(1,1))
with(dat,plot(strptime(Time,"%Y-%m-%d %H:%M:%S"),Global_active_power,type="l",ylab="Global active Power (Kilowatts)",xlab... |
6a8d24ff11e5ef30f86342981b7e419156109585 | 45b25bd747002ea494942c9ba660a67f1fcd4fd6 | /R-plots/jellyfish-plots.R | d02193452ec547de1f3045958a4b16ee879a915a | [] | no_license | mikeyweigand/Bordetella_species | 6b913ee58c5820b33fac1b3929621f2ee180be9e | ea2344518cabc83ff31473b179acbe830c28b2e5 | refs/heads/master | 2020-06-24T16:44:06.803606 | 2020-02-06T18:19:41 | 2020-02-06T18:19:41 | 199,019,990 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,326 | r | jellyfish-plots.R | # This script takes the outputs from jellyfish and draws line plots of kmer copy number abundance. Intended to be run interactively in Rstudio.
setwd("~/Documents/Bordetella_species/results/jellyfish/")
library(ggplot2)
library(scales)
library(reshape)
### B. bronch ###
# hist.Bb = read.table("./20180222/hist/Bb-15me... |
10128292d5db61f15cf4b3caa9c20aeab085e9c4 | bb166b1903b12a423fe17ffa27772ca465f8f313 | /R/play_stats_per_game.R | 6933278e59122422ecce49a5661355c3c4de5514 | [] | no_license | cran/AdvancedBasketballStats | 73aa903ab2959113cd0e08ff52a1d30b28705cd4 | 5fc71920bddf1e099488645ae07dd74b7351540c | refs/heads/master | 2023-04-11T01:24:09.173088 | 2021-04-06T11:10:07 | 2021-04-06T11:10:07 | 339,602,070 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,521 | r | play_stats_per_game.R | #' @title Play stats per game
#' @description The function allows the calculation of play statistics per game.
#' @param df1 Should be a Data Frame that represents the play's statistics. The parameter has to be in the format provided by the play_data_adjustment() function.
#' @details The calculation is made with th... |
02963a0fa377ccd071ecb46715284bc374946a8e | 5d4429dc4708aa5e9e1d24a7e7740243ae0d4a47 | /R/dtedit.R | 85a111a74a4344573718ec006d5902050e49b082 | [] | no_license | DavidPatShuiFong/DTedit | 6c449449afba79c1d465825e361730e7357f3e11 | 082616e09aeb0d043e793c0d17a02532e1bac120 | refs/heads/master | 2022-11-16T02:22:46.032038 | 2021-10-23T11:56:42 | 2021-10-23T11:56:42 | 168,662,418 | 20 | 19 | null | 2021-01-24T07:31:58 | 2019-02-01T07:57:21 | R | UTF-8 | R | false | false | 60,950 | r | dtedit.R | #' Create a DataTable with Add, Edit and Delete buttons.
#'
#' dtedit - editable DataTable
#'
#' \code{dtedit} is used in conjunction with \code{uiOutput} to create editable datatables.
#' \code{dtedit} is used in a shiny application's server definition, \code{uiOutput} is used
#' in the UI (user interface) definition.... |
b1725b99b76f0583925c0e659f6f7a619dae7f3a | 665b11fb5c51f7ccf2d6b4f18616f13a82a79446 | /p2.R | 77b1f1949e3ef096379ada6cb3a61fe3fd3446b3 | [] | no_license | manishwaran/location-based-prediction-analysis-on-fb-data-for-commercial-products | e43c971cab2427063fad9850e13e3d434261695d | 82a3074dacf400fdee350848755f3e3381c17c42 | refs/heads/master | 2020-04-12T10:19:29.142450 | 2016-06-04T09:42:56 | 2016-06-04T09:42:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 924 | r | p2.R | get.count_data <- function(my_set_net,my_set_week,week)
{
count<-0
for(i in 1:nrow(my_set_net))
{
if(isTRUE(my_set_net[i,1]!="NA"))
{
if(isTRUE(my_set_week[i,1]==week)){
count<-count+1}
}
}
return(count)
}
reform_data_predict <- function(data_set,new_set,week,max_week)
{
for( i in 1:max_week)
{
tem<-as.data.fra... |
62f97fd70ce95c84e9ef0fbdb212b1194125e274 | 4f584789b99a33d806da0b7c5b63da3b608f7b48 | /scripts/site_wise_mnase_signal.R | c86fca24b0ac8350bc3d30af73e43cd09a26f0c8 | [] | no_license | satyanarayan-rao/protein_binding_at_enhancers | f10580e76adcc057bf21614c0f9a3c96a8b3f0d5 | 74a6a33efb7acff073b0dcec96c917a4cd019219 | refs/heads/master | 2022-11-30T13:56:41.520639 | 2020-08-11T21:17:19 | 2020-08-11T21:17:19 | 286,848,856 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,400 | r | site_wise_mnase_signal.R | library(stringr)
library(ggplot2)
library(ggthemes)
library(zoo)
# chr2L@11806479@11806979@chr2L:11806729-11806729^20
args = commandArgs(trailingOnly = T)
# args[1]: mnase csv gz file
# args[2]: site of interest
# args[3]: site wise eom plot
# args[4]: site wise erom rmean plot
# args[5]: site wise max peak location ... |
a9ab962b82422b991c2b82d3595ad4419314f82a | 8b5adabd11f4e662dbad9731e21528c277dd80f1 | /man/as.definitions.modelname.Rd | dcd0e75b277348482a64aedd3ec0d9ad93d3e117 | [] | no_license | bergsmat/partab | 68e6ecab610d45f59541e7000bc1ad2f023af0a6 | aacbfc64017d4ff9df2963de267b4add453a23cb | refs/heads/master | 2021-01-13T12:17:17.140660 | 2017-02-18T14:49:09 | 2017-02-18T14:49:09 | 78,268,135 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,896 | rd | as.definitions.modelname.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/definitions.R
\name{as.definitions.modelname}
\alias{as.definitions.modelname}
\alias{definitions}
\title{Create Item Definitions from Model Name}
\usage{
\method{as.definitions}{modelname}(x, verbose = FALSE,
opt = getOption("project"), pr... |
0874d7f49ec7dd16637415d7b79e5814365c8cb9 | 6b081fff9d4ca5958c93d494e70115c7071dadef | /Assignment4.1.r | c5b8f30b9b5615ebee9bc90fab767035b8133916 | [] | no_license | clintaveben/Assignmnet-4.1 | 13d1915c5ba8fcec2088c89b0152766c0d669e99 | 591b13f5416c0c358fb68382c17b721d4cf1de38 | refs/heads/master | 2020-04-04T19:52:28.555827 | 2018-11-05T13:40:40 | 2018-11-05T13:40:40 | 156,223,895 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,105 | r | Assignment4.1.r | # This is given
df1 = data.frame(CustId = c(1:6), Product = c(rep("TV", 3), rep("Radio", 3)))
df2 = data.frame(CustId = c(2, 4, 6), State = c(rep("Texas", 2), rep("NYC", 1)))
df1 #left table
df2 #right table
## Return only the rows in which the left table have match.
df<-merge(x=df1,y=df2,by="CustId")
df
... |
1758730a9ea93877d96b74005ba7bc7d28a44420 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/micompr/examples/summary.micomp.Rd.R | 6276e518c6291afed9aafff7ac8cbcf2fdddaf24 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 485 | r | summary.micomp.Rd.R | library(micompr)
### Name: summary.micomp
### Title: Summary method for multiple comparisons of outputs
### Aliases: summary.micomp
### ** Examples
# A micomp object from package datasets (i.e. grpoutputs objects) directly
## No test:
summary(micomp(5, 0.85,
list(list(name = "CompEq", grpout = pphp... |
988894576991150107a00759f3c18e76398f1135 | 6587d3d6a95e795d58413a82f28fcfc14fb3cfb4 | /server.R | 7c3f1deed00b9e5ad19f1381738db774d65e4519 | [] | no_license | Sandy4321/feature_selection_app | 01035c0781cf97a1a785d9c6faccaca0e2eef306 | 73fa137691bc2194ab12427cede12959a289ec3d | refs/heads/master | 2021-01-22T10:25:08.331453 | 2015-06-20T19:11:50 | 2015-06-20T19:11:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,374 | r | server.R | # Handle computations for feature selection demo app.
library(shiny)
require(caret, quietly=TRUE)
require(kernlab, quietly=TRUE)
require(ElemStatLearn, quietly=TRUE)
# This package is *not* needed, but when this app is run on shinyapps.io,
# I get an error saying it *is* needed. The SVM used here is svmPoly,
# which t... |
99156cef997d8434204737eb6085432eddc8636c | 7f968fdd74ebf15e9280485290fe2bb9348e9b75 | /Project1/plot1.R | 97e3ded11081cc8b8426d921480290d5d4413e74 | [] | no_license | jozelazarevski/ExData_Plotting1 | bf5b05dbad7ecf89aba5b0fbfecbf95c60649296 | 0f599f85cb71cae392eaf981d39845b28929ac63 | refs/heads/master | 2020-12-03T08:12:31.235022 | 2014-11-09T22:52:56 | 2014-11-09T22:52:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 355 | r | plot1.R | data<-read.table("household_power_consumption.txt",sep=";",header=TRUE)
data1<-subset(data,Date=="1/2/2007" | Date=="2/2/2007" )
data1_num<-as.numeric(as.character(data1$Global_active_power))
hist(data1_num, col = "red", main = paste("Global Active Power"),xlab = "Global Active Power (kilowatts)")
dev.copy(png, file = ... |
ecc3d59a053c6aeb213f921c61a4874e6002cb52 | f860a2ddbebe96ad25f2347823d1ad31a5ae949e | /R/prep/plotting.R | 0da9d82fdbbe80f683120a7bc3ae3428981ddac9 | [
"MIT"
] | permissive | mespe/STS198 | edd0e966a329b8701048e2c8371a57b0a261f2fa | 4dd8184e67689ff9d0af3dab1813973e46f59df3 | refs/heads/master | 2021-01-22T18:51:06.426391 | 2017-09-15T23:10:34 | 2017-09-15T23:10:34 | 85,125,705 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,598 | r | plotting.R | # Learning ggplot2
library(ggplot2)
load("../data/health_costs.rda")
sac = subset(health, Provider.City == "SACRAMENTO")
ggplot(sac, aes(x = Total.Discharges, y = Average.Total.Payments)) +
geom_point()
ggplot(sac, aes(x = Total.Discharges, y = Average.Total.Payments,
shape = Provider.Name, color ... |
95fe08968a303b3a10665a7c5fc4cba487e0ba0a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/GiniWegNeg/examples/Gini_CTR_BS.Rd.R | d02fa3bba9bc02eb38897cb05edcf1cf473af2a2 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 851 | r | Gini_CTR_BS.Rd.R | library(GiniWegNeg)
### Name: Gini_CTR_BS
### Title: The Gini coefficient adjusted for negative attributes (Chen,
### Tsaur and Rhai, 1982, Berebbi and Silber, 1985)
### Aliases: Gini_CTR_BS
### ** Examples
# generate the vector of attributes with even negative elements
y<-c(-7,-15,11,-10,2,4,40)
# generate the v... |
bf73b3b519b20c00912d2a12f416bd0dd5ae3f3b | 81af737c7f206593c900d3973d8d175dc50ac8af | /man/itemdiagram.Rd | 9731db2731c9f2178a6e45a43aedd70f896e26b7 | [
"MIT"
] | permissive | CambridgeAssessmentResearch/POSAC | df607fd2f1cc6cd0d86a24212f28f471cdb89fb2 | 6aaeecfc76e643bde973c613bcdef14588e0431a | refs/heads/master | 2021-10-23T16:02:08.065883 | 2019-03-18T15:29:14 | 2019-03-18T15:29:14 | 109,018,236 | 0 | 0 | MIT | 2018-07-10T15:15:46 | 2017-10-31T15:50:29 | R | UTF-8 | R | false | true | 1,400 | rd | itemdiagram.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/itemdiagram.R
\name{itemdiagram}
\alias{itemdiagram}
\title{Function to plot X and Y output from POSAC with colours for different values of given variables}
\usage{
itemdiagram(posacout, vars)
}
\arguments{
\item{posacout}{Output fro... |
1549ad6c3963e855008a274fda55d8f3b9961bf8 | 245fe92d0c2995e7a7a031ae7945d9b0164e4936 | /PA1_template.R | cbfc30413510466ada395d549c86894a3c2dd75d | [] | no_license | topramen/RepData_PeerAssessment1 | d8a41c2864d0b011044fa02188009632f580dafa | 265bd09a7929be0cc4d207204674302640cbf687 | refs/heads/master | 2021-01-16T21:44:29.940672 | 2015-01-17T21:35:57 | 2015-01-17T21:35:57 | 29,200,910 | 0 | 0 | null | 2015-01-13T17:04:17 | 2015-01-13T17:04:17 | null | UTF-8 | R | false | false | 2,834 | r | PA1_template.R | if (!require(lubridate)) {
install.packages("lubridate")
library(lubridate)
}
if (!require(plyr)) {
install.packages("plyr")
library(plyr)
}
if (!require(ggplot2)) {
install.packages("ggplot2")
library(ggplot2)
}
if (!require(xts)){
install.packages("xts")
library(xts)
}
if (!require(reshape2)){
... |
fe0175593a2f76ed3f7704f7002256a1a664cf9f | c0354f6714026298a8b145f895bbe6870805a261 | /run_analysis.R | 6f27166ac39b9ea565d2a4abd5ca4a5e02d8042e | [] | no_license | DP-atnt/Getting_and_cleaning_data | 8d52aa9ef630ea2b302f594ffa1dffce44aeb9a2 | 07507b857fa689f5cea729d8d687dd17927bf230 | refs/heads/master | 2021-01-10T17:57:45.126586 | 2016-02-13T20:25:12 | 2016-02-13T20:25:12 | 51,634,843 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,676 | r | run_analysis.R | ```{r}
# I will use dplyer, so the library is assumed installed and is loaded
library(dplyr)
#the following chunk of code downloads the original data set
if(!file.exists("./Project")){dir.create("./Project")}
fileUrl <-"https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.fil... |
e165a187bce5ae27fa2e6fb490d2092bcce4697e | b9d215db9994c580ec44e13fe649474eb4ad4971 | /R/FootprintFilter.R | a5308d2a92a5b4a396ba4767e5b85576c5fc10cf | [] | no_license | noahmclean1/TReNA | f1a1e809bd7c416ea4fb4a5b2695983d574a6e32 | b93e1d5bf824822b4c92ba7f555072facc76fd9a | refs/heads/master | 2020-04-05T12:10:25.599926 | 2017-08-16T19:09:17 | 2017-08-16T19:09:17 | 95,243,670 | 0 | 0 | null | 2017-07-28T23:45:29 | 2017-06-23T17:55:55 | Jupyter Notebook | UTF-8 | R | false | false | 6,329 | r | FootprintFilter.R | #' @title Create a FootprintFilter object
#'
#' @description
#' A FootprintFilter object allows for filtering based on gene footprinting databases. Using its
#' associated \code{getCandidates} method and URIs for both a genome database and project database,
#' a FootprintFilter object can be used to filter a list of po... |
c7b786c0b2982a6cbc07926fd9ea9fe0ea80a2bc | 103cefcd0a90175d953b11b1a13a6c76adb28aef | /analyses/bb_analysis/models_stan_pepspp.R | 954897387801d4210d72a476488f8a2df0b1d148 | [] | no_license | lizzieinvancouver/ospree | 8ab1732e1245762194db383cdea79be331bbe310 | 9622af29475e7bfaa1b5f6697dcd86e0153a0a30 | refs/heads/master | 2023-08-20T09:09:19.079970 | 2023-08-17T10:33:50 | 2023-08-17T10:33:50 | 44,701,634 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,164 | r | models_stan_pepspp.R | #####################################################
## Taken from models_stan.R in early December 2018 ##
#####################################################
## With a few tweaks the PEP 725 code should still run ##
## Right now, each chunk is set up to run separately (model, then plotting) ##
####################... |
a192d72b3110a60b9318709093f758f7ee661d7c | 16b2f87a1dddd5444ec822932c929bca44fd6e25 | /code/chapter02.R | 9ea96f69651bb7584e084c589a6ebf9add14dfc4 | [] | no_license | vahidpartovinia/r2018 | 94d2299bb42763e5927492e79b887b06df668425 | bb545af903fad986d2c819cced3872759e297b23 | refs/heads/master | 2020-03-21T14:41:49.856133 | 2018-07-04T15:52:43 | 2018-07-04T15:52:43 | 138,671,007 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,496 | r | chapter02.R | remove(list=ls())
zipdata <- as.matrix(read.table("~/Desktop/zip.train"))
dim(zipdata)
#zipdata[1,1:16]
#(matrix((zipdata[1,2:257]),nrow=16, ncol=16))
par(mar=c(0,0,0,0))
image((matrix((zipdata[1,2:257]),nrow=16, ncol=16)))
image((matrix((zipdata[1,2:257]),nrow=16, ncol=16))[,16:1],col = gray((0:255)/255))
Seems w... |
14541051259e4c073a8a003806927db5a94cd29b | 6e88b915929d4d667afc5ac3436c875f521ff61b | /ProblemSets/PS4/PS4a_Hopewell.R | 865136afc4a4992a3a26bb6de59074001d4102c0 | [
"MIT"
] | permissive | AudreyHopewell/DScourseS20 | ce37aa0653bbc8579d75f79d80ef08a32f9ed885 | 36f210d6ea43d254b497deb7b204acce694cc3ba | refs/heads/master | 2020-12-13T11:37:22.037791 | 2020-04-30T18:11:19 | 2020-04-30T18:11:19 | 234,405,586 | 0 | 0 | MIT | 2020-01-16T20:33:04 | 2020-01-16T20:28:03 | null | UTF-8 | R | false | false | 369 | r | PS4a_Hopewell.R | # importing nfl player stats
system("wget -O nfl.json 'https://api.fantasy.nfl.com/v1/players
/stats?statType=seasonStats&season=2010&week=1&format=json'")
# printing the file
system("cat nfl.json")
# converting from JSON to dataframe
library(jsonlite)
mydf <- fromJSON('nfl.json')
# examining the dataframe
cl... |
3967fbcbef6ad87546b3f56ccbaa465454ae5e57 | dffc300d3a66dede5afbf72e3eb1ba714976aea1 | /src/Plot2_Revised.R | 0e42434b576ab589d41f4dc92750ac4b0e01e1bd | [] | no_license | Hanna520/CS510_Qualifying_Exam | ff5eb2620c36c8a784a0f07aa9814f89b9f0870c | 4cf8aa3c42dbe9b73699b8ca05ce3da36cdf2d1c | refs/heads/main | 2023-02-23T09:40:39.555732 | 2021-01-31T04:58:07 | 2021-01-31T04:58:07 | 334,486,595 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,700 | r | Plot2_Revised.R | # About this script:
# This R script plots velocity vectors on the background of individual images from particle image velocimetry. The vectors fade from red to black based on the maximum velocity of the video clip (red) to zero (black). x and y are position data and u is the x-component of velocity and v is the y-comp... |
37ba50be84ae95da52337636161bfaff1905d221 | 377a111fb7585caf110377625ad0e261a44e93ed | /nick/toolbox/ddModel/ddClass0.1.1.r | e26b7786750687723482e1e90725f44d616971bb | [] | no_license | gasduster99/theses | ba385499ea0a502b9067c243f7100d82ff1ef4ce | 9c5f8b5d7564292e2e36547ed8d5563a8639f158 | refs/heads/master | 2023-08-25T18:14:09.741032 | 2023-08-22T05:33:06 | 2023-08-22T05:33:06 | 217,375,576 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,531 | r | ddClass0.1.1.r | #
suppressWarnings(suppressMessages( library(R6, quietly=TRUE) ))
suppressWarnings(suppressMessages( library(deSolve, quietly=TRUE) ))
#
source('modelFunk.r')
source('outputFunk.r')
source('classifyFunk.r')
source('parSelfParFunk.r')
source('optimizeFunk.r')
#
#CLASS
#
#
ddModel = R6Class("DDModel", lock_objects=FALS... |
faf17e92bf5a2804d55feeb026d3959ed200c0fc | 52d489c2491476428a9a0cd11b200c63be4794eb | /man/plotts.sample.wge.Rd | faa15c2a62378529c8e51222acab7e63e447bc61 | [] | no_license | cran/tswge | 2ffabc4794652937b86a701ec4772b2e07697531 | 435566d44f7652da48e9d257040fc78b47a08101 | refs/heads/master | 2023-04-01T22:52:04.649970 | 2023-01-31T12:10:02 | 2023-01-31T12:10:02 | 236,955,358 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,672 | rd | plotts.sample.wge.Rd | \name{plotts.sample.wge}
\alias{plotts.sample.wge}
\title{Plot Data, Sample Autocorrelations, Periodogram, and Parzen Spectral Estimate}
\description{For a given realization, this function plots the data, and calculates and plots the sample autocorrelations, periodogram, and Parzen window spectral estimator in a 2x2 ar... |
39aa627015bee7d6230ec9fffefa270b6e2b46aa | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610051423-test.R | e6d4a9ff146446828e103de4c719967a279c9ad0 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,467 | r | 1610051423-test.R | testlist <- list(rates = numeric(0), thresholds = c(NaN, -1.23414719310911e-30, 2.56680426183462e-301, -4.9540049074147e-33, -1.26836459270829e-30, 2.1788294981599e-321, -1.26836459066847e-30, -4.76141252968046e-33, -1.26836459270829e-30, 8.81442566340335e-280, -2.82145547645109e-277, 1.67129192517088e-112, 2.64121... |
4036d598882380697ff38afe7f6f9bcb6d83001c | 8734b26adb5975f7b6e7685cf899d8b23599a154 | /man/remove_label.Rd | df69662f117542610e054f63fb9709364c5d9911 | [] | no_license | strengejacke/sjlabelled | 3606b01702e59a6ac47459fd216ab468f777c266 | 548fa397bd013ec7e44b225dd971d19628fdc866 | refs/heads/master | 2022-11-12T10:34:47.538335 | 2022-10-23T20:16:20 | 2022-10-23T20:16:20 | 92,868,296 | 78 | 16 | null | 2020-11-25T14:50:47 | 2017-05-30T19:24:17 | R | UTF-8 | R | false | true | 1,037 | rd | remove_label.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/remove_label.R
\name{remove_label}
\alias{remove_label}
\title{Remove variable labels from variables}
\usage{
remove_label(x, ...)
}
\arguments{
\item{x}{A vector or data frame.}
\item{...}{Optional, unquoted names of variables that should b... |
11146e6e8004ffeefe6b0728e1ed7517b022d88f | 20fb140c414c9d20b12643f074f336f6d22d1432 | /man/NISTslugPerCubFtTOkgPerCubMeter.Rd | 9481a2ee1ce81e5c7430db7407864c92efc9479a | [] | no_license | cran/NISTunits | cb9dda97bafb8a1a6a198f41016eb36a30dda046 | 4a4f4fa5b39546f5af5dd123c09377d3053d27cf | refs/heads/master | 2021-03-13T00:01:12.221467 | 2016-08-11T13:47:23 | 2016-08-11T13:47:23 | 27,615,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 922 | rd | NISTslugPerCubFtTOkgPerCubMeter.Rd | \name{NISTslugPerCubFtTOkgPerCubMeter}
\alias{NISTslugPerCubFtTOkgPerCubMeter}
\title{Convert slug per cubic foot to kilogram per cubic meter }
\usage{NISTslugPerCubFtTOkgPerCubMeter(slugPerCubFt)}
\description{\code{NISTslugPerCubFtTOkgPerCubMeter} converts from slug per cubic foot (slug/ft3) to kilogram per cubic me... |
a37cc36a1bc383a9f27eed23972d2d2483cbda3d | 4bbf80bcb22f39e35c7dbfa0089d557be3263100 | /Scripts/Strict/Maxent_strict.R | a55e985d21bf4d3eb295a4c62cc7589ecc9a25dc | [] | no_license | ebaken/Chapter3-1 | a0dc5102ebda2229deaf172b7c17f4e614ebd065 | b1e703e80e389230e3c23fb24bf7359729345c8e | refs/heads/master | 2020-05-17T11:55:04.918798 | 2019-04-26T21:00:21 | 2019-04-26T21:00:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,538 | r | Maxent_strict.R | ###############################
### MAXENT SCRIPT DRAFT for strict microhabitats only #######
###############################
# MAXENT MODELS AND EVALUATIONS
library(dismo); library(rJava); library(maptools)
library(raster)
###### maxent pipeline #########
# load variables
# READ IN DATA #
ClimateData <- stack('./A... |
18feea92999e4acaf5fad1701c8e47c865c43dfd | 006666eece54ebcbfc1f29b56f8146f808c781a1 | /method/figure_bslmm_lmm_notcoincide.R | 059fe8ac2842e9e84f5bac28dfc51e55b51fe426 | [] | no_license | MoisesExpositoAlonso/nap | d56d278bcc4c7e49fb3a8d4497df962a0ed94004 | 8fcbe7aa89f97bcf615943318fd1daa931e7a34f | refs/heads/master | 2020-03-28T09:11:16.076766 | 2019-05-13T00:16:13 | 2019-05-13T00:16:13 | 148,019,561 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,251 | r | figure_bslmm_lmm_notcoincide.R | ################################################################################
## Run nap MCMC inference over simulated traits
################################################################################
## Load packages
library(devtools)
library(dplyr)
library(ggplot2)
library(cowplot)
library(latex2exp)
librar... |
48d0a8ed453597e5546f029c9d31f2c84b31894a | d11cd1801f373324eb491c832808b0e93ec0dbb3 | /ui.R | 2d59935360a19386c6cbe4d87cd317e47d4d7b3b | [] | no_license | RaschMaslasky/DevelopDataProductAssignment2 | 448419c625daebf3b8778a8afafba3d056573bac | f503295ee8a0b6fd077afaae4a4ef146fb7ea941 | refs/heads/master | 2021-05-05T06:28:45.258300 | 2018-01-24T18:18:29 | 2018-01-24T18:18:29 | 118,802,983 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,884 | r | ui.R | library(shiny)
library(leaflet)
library(dplyr)
library(sqldf)
library(plotly)
library(reshape)
library(rsconnect)
# create lookups
df <- read.csv(file = "./data/df.csv", header=T, sep=',', quote = '"', fileEncoding = "UTF-8")
crime.type <- levels(df$Crime.type)
month <- levels(df$Month)... |
78e6621b0c9b83a2357eed5d13bdcaa6e8abab14 | 02203a5e1487c6bf95647b38038e2428c261aad7 | /R/ogrtindex.R | 2c2448b4541c579b11aefa2cc4e07fd4eff84ab0 | [] | no_license | cran/gdalUtils | 8793292640f94d0f8960804f0ba9d4b5099baad7 | 9aa3955becca0970f98513ca20e4bff56be44d81 | refs/heads/master | 2021-06-07T07:27:23.972525 | 2020-02-13T19:10:02 | 2020-02-13T19:10:02 | 17,696,298 | 3 | 8 | null | null | null | null | UTF-8 | R | false | false | 6,070 | r | ogrtindex.R | #' ogrtindex
#'
#' R wrapper for ogrtindex: creates a tileindex
#'
#' @param output_dataset Character. Output tile index.
#' @param src_dataset Character. Input geospatial files.
#' @param lnum Numeric. n. Add layer number 'n' from each source file in the tile index.
#' @param lname Character. name. Add the layer nam... |
83bd3940486438bbafbcadef1c74b603517d80f9 | 4c05390532a78bf078491cf37eac5d369a75f1ec | /cachematrix.R | 2ef5f8c705d9fdb9225ea4b3a42cf04ccc6ba0f7 | [] | no_license | Rechisoft/ProgrammingAssignment2 | f16365786a49d0ce78e94ac91c53055f785344d5 | d5cabdc3fa1f9c69a3619df86f74335aff00342f | refs/heads/master | 2016-10-26T04:23:50.796170 | 2014-06-22T22:03:05 | 2014-06-22T22:03:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,460 | r | cachematrix.R | # Implementing a special version of "solve()" called "cacheSolve()"
# which will return the inverse, but without calculating it and rather
# fetching it from a cache if it was calculated before during program
# execution.
# Function makeCacheMatrix
# Creates a special matrix which is able to cache its inverse
# Implem... |
499755f82095d55e650567bb956dbe6f2219ded2 | cdb5b04ca59edf79bdbf43d56337ab8388a1797e | /list_unmatched_taxa_that_did_not_match_against_external_taxonomy.R | 390d9acb7cdb9f2039202c2b671da69bed542de0 | [] | no_license | GoMexSI/GoMexSI-Queries | 2f6d65ca7dbbcb411de5f571f6de9a4275c3181e | 90a73733286d1718a88d9366fdeaac02475a27e3 | refs/heads/master | 2021-01-21T03:39:15.720735 | 2016-08-16T13:24:23 | 2016-08-16T13:24:23 | 65,763,186 | 1 | 0 | null | 2016-08-16T16:16:23 | 2016-08-15T20:34:33 | R | UTF-8 | R | false | false | 415 | r | list_unmatched_taxa_that_did_not_match_against_external_taxonomy.R | *the code below returns a list of unmatched taxa that did not match against external taxonomy
rglobi::query('START study = node:studies("*:*")
WHERE study.source=~ ".*gomexsi.*"
WITH study
MATCH study-[:COLLECTED]->specimen-[:CLASSIFIED_AS]->taxon-[?:SAME_AS]->otherTaxon, specimen-[:ORIGINALLY_DESCRIBED_AS]->origTax... |
9c5a749198d71d1f83eef45c4aa8e22d69d3a0e7 | 127e60f2de4331083574307a8637963b31aa6dc0 | /pipeline/scRNA_Seq/Droplet_based_Protocols/1Run/QC_cellPop_bimodality.R | b30fcf132157896295627c562d6694f7f62e7229 | [
"CC0-1.0",
"MIT",
"GPL-2.0-only"
] | permissive | BgeeDB/bgee_pipeline | 44b0857925e67498835b44a341c42887874da8be | 0d9239966dda2cb4717c8ddd48d5741b48879835 | refs/heads/master | 2023-09-04T08:35:20.080239 | 2023-05-31T13:42:40 | 2023-05-31T13:42:40 | 129,377,740 | 11 | 4 | CC0-1.0 | 2020-01-06T14:46:43 | 2018-04-13T09:09:24 | Perl | UTF-8 | R | false | false | 10,369 | r | QC_cellPop_bimodality.R | ## SFonsecaCosta, 2020
## This script is used to check the bimodality of the cell population per library.
## After cell-type identification we test if the cell-population per library follow a bimodal distribution,
## by excluding some noisy genes from the population
## Usage:
## R CMD BATCH --no-save --no-restore '--... |
b7450e54effe6e49e84c27e9088c8a805243a0e4 | f0915ecdf96ea1ae3fd9b8b57410989156273f37 | /classes.R | e7bbdffb9919f38683cdf9211dbeb6f102be519d | [] | no_license | Yaskomega/LinkedDataClustering | f4b607e76a20275d304cda47041f3f07e0cd659b | 407d18da58147b2b71cd8eb5e8f36a727551b7e3 | refs/heads/master | 2021-05-11T05:52:47.855949 | 2018-07-05T13:58:54 | 2018-07-05T13:58:54 | 117,972,719 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,791 | r | classes.R | # ########################################################################
# Classe Object qui correspond à un noeud du graphe résultat
# @attribute name : la valeur du noeud (soit l'URI, soit le littéral)
# @attribute links : la liste d'objects de type Link qui correspond au voisinage
# ###############################... |
af502178123d95d1dac01ead153bf73fce2bb44f | c91afc12900d00fabd0e3546b0d2cbd43142ee0b | /man/FuzzySets-methods.Rd | 66fba9dd926ecadbd7bd990715ad130c4536e205 | [
"MIT"
] | permissive | kevinrue/unisets | 7b598969fe1ca06438da7ba4cc4f443b18d23cb3 | da84fd280dfd44ecd5839051931660691a238889 | refs/heads/master | 2021-07-22T20:19:47.143976 | 2020-05-11T21:45:41 | 2020-05-11T21:45:41 | 165,846,880 | 3 | 2 | NOASSERTION | 2020-05-11T21:45:43 | 2019-01-15T12:26:01 | R | UTF-8 | R | false | true | 3,255 | rd | FuzzySets-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllMethods.R, R/FuzzySets-class.R
\docType{methods}
\name{FuzzySets-methods}
\alias{FuzzySets-methods}
\alias{membership,FuzzySets-method}
\alias{membership<-,FuzzySets-method}
\alias{as.matrix.FuzzySets}
\alias{as.FuzzySets.matrix}
\alias{as... |
a86374933a651e2ff872b95efe68a51eff1d0cfd | 59ae1d56485c9c6f7d102d5149149383ba545100 | /inst/test_random_data_frames.R | e0c832e165fac000fc6c7252de8b1489ab4a16bd | [] | no_license | marymoni/bcp | 463bfda838f29bb0217beb904ee29d0c26aad89e | 4a6c8b8423a0962920f51014fe07f68720c31913 | refs/heads/main | 2023-02-23T04:04:23.606907 | 2021-02-01T23:27:06 | 2021-02-01T23:27:06 | 328,242,734 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,871 | r | test_random_data_frames.R | library(bcp)
generate_data_frame = function(nrow, ncol) {
col_types = list(
`integer` = function() runif(nrow, -.Machine$integer.max, .Machine$integer.max),
`double` = function() rnorm(nrow),
`character` = function() paste("str", as.character(rnorm(nrow))),
`factor` = function() as... |
118e130eecf5b5ebdd5f7887d5dae8826f56e894 | 725a33f27fce430ee481a3542aae5bb81a94dfc0 | /man/appendEnv.Rd | a997f0529a79cdafd14bb09eb825d713d5726496 | [
"BSD-3-Clause"
] | permissive | cbielow/PTXQC | fac47ecfa381737fa0cc36d5ffe7c772400fb24e | f4dc4627e199088c83fdc91a1f4c5d91f381da6c | refs/heads/master | 2023-07-20T00:39:45.918617 | 2023-05-17T14:23:03 | 2023-05-17T14:23:03 | 20,481,452 | 41 | 30 | NOASSERTION | 2023-05-17T14:23:04 | 2014-06-04T11:53:49 | HTML | UTF-8 | R | false | true | 795 | rd | appendEnv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fcn_misc.R
\name{appendEnv}
\alias{appendEnv}
\title{Add the value of a variable to an environment (fast append)}
\usage{
appendEnv(env_name, v, v_name = NULL)
}
\arguments{
\item{env_name}{String of the environment variable}
\item{v}{Value ... |
55d90447756acf11b690c20cb5c5d41c75a59344 | 49b90e00efe83a3d8b59b51f40c3bc5e886ddbb3 | /plot3.R | 74042988e8acb855dc8a7b35faa332b245f7761c | [] | no_license | wiltbemj/ExData_Plotting1 | 2ebdcec0247c5396dbfa59cce046445d3791fd16 | 86a7325bc506f0bc7fb5f1ca92871bee0840b1a0 | refs/heads/master | 2021-01-16T22:50:52.079553 | 2015-08-04T16:44:36 | 2015-08-04T16:44:36 | 40,151,030 | 0 | 0 | null | 2015-08-03T22:29:09 | 2015-08-03T22:29:09 | null | UTF-8 | R | false | false | 828 | r | plot3.R | file = 'household_power_consumption.txt'
#File is to big read the whole thing every time so lets get header information and then the info
#from the dates requested
tmp <- read.table(file,sep=';',nrows=1,stringsAsFactors = FALSE)
start = 66637
end = 69517
epow <- read.table(file,sep=';',na.strings = '?',header=FALSE,sk... |
6136ff92893e6116398c4379b78c863d075329f3 | 1c27b5c1fd9ed44e04b6ded55361dd9d7bfa0b81 | /practice_quiz3_script.R | 7cc1614bfaa9ab0768d8d11dc42cdad7fca50c36 | [] | no_license | veesta/practice_quiz_3 | a615cfa85f1dcc1ff41b4c4aa356036b5b89ba5d | 67b4ed5300ab7037736e506f7396fc091d6f8531 | refs/heads/master | 2021-01-11T08:24:40.805272 | 2016-10-29T17:22:56 | 2016-10-29T17:22:56 | 72,289,497 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,303 | r | practice_quiz3_script.R | ####Differences between Correlations
###Comparing Correlations within a Published Paper
##Question 1
#Based on the above correlation matrix, determine if the rating-complaint correlation is stronger than the
#rating-critical correlation. Use cocor package and ?cocor.dep.groups.overlap command
library(tidyverse)
lib... |
dda1a6ceb65765b758cb559b2c517bf516cb2e6b | d6e59f0820a8165dbdef44a77d14f13db076bbb0 | /R/isoclim.R | d604a172381bfaf8c562d815cd6473e8e8eb5bd7 | [
"MIT"
] | permissive | AlexSoudant/isoclim-demonstration | cb5c884e56df01ac7dbbc0274ee0986d5129185e | 2c87ad0493bc2de209cb4ab17d72234bab23a19d | refs/heads/master | 2020-12-24T06:41:25.955189 | 2016-06-01T13:22:35 | 2016-06-01T13:22:35 | 60,178,294 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,700 | r | isoclim.R | # Name : isoclim.R
# Type : Program
# Object : Construct a work environment.
# Cast programs for data manipulation.
# Destruct work environment.
# Input : See Input section
# Output : datasets and figures
# Author ... |
2df7b5ed740cb89675259e0728759b62f1159dd3 | 845df2fbc7466f3f0e1edf2b0a37ecd8443d0363 | /datachallenge.r | a41a1b116af5e7b02183da3f445e2797cc46d765 | [] | no_license | Sagarika22/Marketing-Analytics | 219d2d5c9436c894fcbfe29669e979a399f9d7c6 | 31fc43aa230765f33695985695731ce24e8c516a | refs/heads/master | 2020-04-02T12:50:33.510306 | 2018-10-24T07:02:30 | 2018-10-24T07:02:30 | 154,454,319 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,636 | r | datachallenge.r | datascience<-read.csv("/Users/sagarikadutta/Downloads/data_science_challenge_samp_18.csv")
View(datascience)
str(datascience)
summary(datascience)
#Changing from factor to numeric of total spend
datascience$total_spend<-as.numeric(datascience$total_spend)/100
options(digits=9)
datascience$total_spend<-as.character(d... |
43b7190b131328945af0bf0c3f6699fc7ab8b6b7 | 568d00a08792adb6a25d7283dc10181461bdbc64 | /builtenvir/man/lag.basis.Rd | da769a46490b84dc9d48b6fea81ef4b065dc2c14 | [] | no_license | Biostatistics4SocialImpact/builtenvir | 8c85de475d9a16646320d2455f625908e24ffe35 | d6d5eb0004bbe03b29160a75e927f0fe00560c53 | refs/heads/master | 2021-01-23T16:14:42.293703 | 2017-12-05T00:58:55 | 2017-12-05T00:58:55 | 93,289,285 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 920 | rd | lag.basis.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lag.basis.R
\name{lag.basis}
\alias{lag.basis}
\title{Cubic Radial Basis Functions for Distributed Lags}
\usage{
\method{lag}{basis}(lag, center = TRUE, scale = FALSE)
}
\arguments{
\item{lag}{Distributed lag to compute basis of}
\item{cente... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.