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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e6538504ea68dae67b486fcdad7721d9dc384bfd | 76ad7614dfe2a77154d408c559393b6a963ddd73 | /submitted_detect.R | 81ad1ffa5c935e0db15e14ad2d53bf4d6318921b | [] | no_license | guopeng-jiang/ShinyApp_testing | aec3c71548c3b00cdafd011398190c0d0d1a326d | 52e1ef00713b094aea0e4de17f0c2cb7259a9228 | refs/heads/main | 2023-07-08T22:13:24.016776 | 2021-08-12T23:14:28 | 2021-08-12T23:14:28 | 392,844,112 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,610 | r | submitted_detect.R | library(readxl)
#################### FEMP summary #####################
long = read_excel("N:/Gorden_Jiang/FEMP_summary/FEMP_summary28052021.xlsx")
ID = long$ID
address = substr(long$PhysicalAddress,1, 15)
# median(nchar(long$address), na.rm = T)
long = data.frame(ID, address)
##################### FEMP ... |
e6a11178b333194530d207fc7760a8368f247120 | ac01758e97d1a98fd558fa99467a91e5382c946c | /DDP_Shiny_1.2/server.R | 7f11b1a2bc9985a24c15b537ff82a7365891c090 | [
"Unlicense"
] | permissive | katrinleinweber/datasciencecoursera | d3f6a804add4a964f87a6c0cbdcd2d749797c24a | 73336a9ad6297c2e2e301333601d83c93fc51709 | refs/heads/master | 2021-01-20T16:55:26.004301 | 2017-03-02T20:13:21 | 2017-03-02T20:13:21 | 82,836,947 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,351 | 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)
# Define server logic required to draw a histogram
shinyServer(function(input, output) ... |
99b18a63063b39a2d65d133629d4272592028690 | 94c1f2fc69dd3b0cf9b6135fb8a138cd008c0e2b | /series_estacionarias.r | 009324abb49b3438516a5deeeeb7c9e2fb0d7ae6 | [] | no_license | ricardocunh/serie_temporais_com_r | 85093ebd366636ebf3f0f567a95df84abcda03a1 | 375016c80c0a360f9afca4b05cf4f2badd89a99e | refs/heads/main | 2023-03-30T05:46:18.825319 | 2021-03-28T21:28:49 | 2021-03-28T21:28:49 | 350,142,747 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 2,369 | r | series_estacionarias.r | # Série Estacionária
# A média e a variância se mantêm constante durante o tempo
# Em principio, series com tendências e sazonalidade não são estacionárias
##Por que a Estacionariedade é importante?
# Existem técnicas analíticas de series temporais que dependem da estacionariedade da série para funcionarem
... |
caadf2c9b5a9859b9d5d8b4a858ec0b5090cdde2 | 43c9baa29238dd34df80f76b147d1ef24e267f6b | /man/eq_download_data.Rd | 9ff323920b7d0e75f58f324ceff276a2676029c8 | [] | no_license | rhkaz/noaamsdr | dae6cc083d70ebf69b3bf36d790c5217e3194195 | 9f392033e678f963ce1b2697600b0ec3e8622891 | refs/heads/master | 2021-01-20T13:22:01.313972 | 2017-05-06T17:20:52 | 2017-05-06T17:20:52 | 90,477,353 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 487 | rd | eq_download_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_data.R
\name{eq_download_data}
\alias{eq_download_data}
\title{Download the NOAA dataset}
\usage{
eq_download_data(destdir)
}
\arguments{
\item{destdir}{character. Destination directory}
}
\value{
NULL. Impure function, called by its side... |
f9bf92250251c04235918ed6017556a7e533a74f | b728911ad2f0d8dbd51edd1ce5e4bad427027e75 | /personalGenome/app.R | 144ec5354d570078ffac8c5082add06d7230902a | [] | no_license | manitsalana/bcb420-shiny-app | 52f02a62cc3240ed5f1d2f6cf19c847aa9b2d3cd | 7df38a3ecc3548e5a65e222218ea2cfc62bcd6e1 | refs/heads/master | 2020-03-07T06:10:39.085731 | 2018-03-30T21:55:17 | 2018-03-30T21:55:17 | 127,314,849 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,192 | r | app.R | library(shiny)
library(ggplot2)
library(plotly)
# p16FIXhq_df is the name of the dataset
# datasetName <- load(file = "./p16FIXhq_df.RData")
load(file="./topNucFreqNoCode.RData")
load(file="./topNucFreqCode.RData")
# dataset <- p16FIXhq_df$POS
ui <- fluidPage(
# Application title
titlePanel("Hello Shiny!"),
... |
b29600bbb6b4a168c181989e570f02d3a9de3a09 | e1fbd987544702b646e0072b1bccd56d7a24cbeb | /R/ovtsub.R | 4617b4e8819d94553d249a907017ca139be5f3eb | [] | no_license | RGLab/flowStats | 4ed715566cd336ebad4aeb1eeae86a0465bf2f6c | fabb13191a2567e41a89691cab31507d4cbddc7a | refs/heads/devel | 2023-07-19T21:22:09.624646 | 2023-07-19T00:39:40 | 2023-07-19T00:39:40 | 3,539,961 | 11 | 9 | null | 2023-07-19T01:09:13 | 2012-02-24T21:35:17 | R | UTF-8 | R | false | false | 2,394 | r | ovtsub.R | ##' This function computes an Overton-like subtraction of two densities. It calculates the proportion of the reference density that is above a reference
##'
##' The test can be one-sided or two-sided. If one sided, it tests the region of the test density that is above the mode of the reference density. If two-sided it ... |
fea499c8c7ebd8a06fc66fa72109f7ef6a6ba4c6 | bb71bd0537a3eb0a2671089e3a0db531ed7a4e72 | /R/setup.R | e50a0a3bb0f5677ad687a636c3394753f5dd050c | [] | no_license | kauebraga/dissertacao | a6c9bce0c5bca2e2dd716dfaead33ef846f397b4 | 20d75e8e5aa50a44f1940ceecdd531f0df5a5f03 | refs/heads/master | 2023-05-06T11:55:57.452394 | 2021-05-11T13:47:14 | 2021-05-11T13:47:14 | 112,378,851 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,290 | r | setup.R | Sys.setenv(TZ='UTC')
options(scipen = 999)
library(zoo)
library(sp)
library(ggplot2)
library(dplyr)
library(sf)
library(fasttime)
# library(mapview)
#library(ggmap) #função geocode() pra extrair as coordenadas dos endereços
library(sf) #pra importar os dados espaciais e tal
library(data.table)
librar... |
da3d547d88ea3c32d2efc2fc0933e658e263ac37 | e6041ede6a54aad2f78d03dc3bc3e99a0300a947 | /test_data_preparation.r | 71c7052d393a8ba516fcfae765563339cd996f35 | [] | no_license | 2345scy/ascr_project | 9a6df8adf28691251643e2cbaa169de1449b4328 | aa6ebb1d2b6c1709b251827c423e5429356dfaf2 | refs/heads/master | 2023-08-29T14:35:39.912715 | 2021-09-26T03:40:06 | 2021-09-26T03:40:06 | 298,949,785 | 0 | 0 | null | 2021-07-04T22:48:48 | 2020-09-27T04:01:48 | R | UTF-8 | R | false | false | 8,463 | r | test_data_preparation.r | test_data = function(model_type){
context("Testing model fits")
if(model_type == "simple fitting -- half normal"){
#recover the example data to original format
captures <<- data.frame(session = rep(1, 127 * 6), ID = rep(1:127, 6), occasion = rep(1, 127 * 6),
trap = rep(1:6, each = ... |
e5cfea25265785a9c7177f9b337dc52789fb4537 | 5dbe661a6c46a8e29a1b3d4d8836dceccd2b6f95 | /MolecularEvolution/olfactionAnalyses/FunctionalOlfactoryReceptorGene_Analysis/southern_sea_otter_ORGs/elut1/step_7_plotinROnDesktop/step_7_a_plot_clustalX_dendrogram_20170929.R | ca5a7912b487b064737fc949924d1b8b6853b6bc | [] | no_license | LohmuellerLab/OtterGenomeProject | 9aff387293491cc4125601d3caff81dda0b8a7c3 | 9f70998b67c3941afe12b2de43f287818834a1c0 | refs/heads/master | 2020-05-06T20:18:54.624120 | 2020-01-17T01:53:04 | 2020-01-17T01:53:04 | 180,231,144 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 5,196 | r | step_7_a_plot_clustalX_dendrogram_20170929.R | ############ PACKAGES ###############
require(ape)
#install.packages('dendextend')
require(dendextend)
require(ggplot2)
#source("https://bioconductor.org/biocLite.R")
#biocLite("ggtree")
#biocLite("GenomeGraphs")
require(ggtree)
require(geiger)
require(GenomeGraphs)
############ WORKING DIRECTORY ############
setwd("/U... |
e0c56f8ac74e9bedd859f10da066ac4d6516d7e4 | 23cfe0809fb697ca2f4353299abb770d19c1bbce | /course_r_programming/programming_assignment_3/rankall.R | 31aefefe7073be3e13bce055eb8d310da98c6ba9 | [] | no_license | JimmyDore/datasciencecoursera | cf3d46cc0a7effae7b688803b4b6fcbd930a2a87 | 736441d470a6f1542bde421568834701d4ec5974 | refs/heads/master | 2020-03-30T07:58:03.820149 | 2018-11-06T02:42:03 | 2018-11-06T02:42:03 | 150,977,896 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,538 | r | rankall.R | ## 4 - Ranking hospitals in all states
## ------------------------------------------
## Write a function called rankall that takes two arguments: an outcome name (outcome) and a hospital ranking
## (num). The function reads the outcome-of-care-measures.csv file and returns a 2-column data frame
## containing the hospi... |
150d1060648746180380f7ed8839a0fae0152e8e | 1967193ff92cca080d12f06c16e0a4b9f2c2120f | /R/PlanTrail.R | a8b45af632906a098eba53a0e4fd5d403fe07b88 | [] | no_license | nikapepita/HikingTrail | eb76edd290c9d036963d5811131cbd431bd0d885 | 393d993882b364523cc66ce4c8b880f866baec10 | refs/heads/master | 2022-04-22T11:19:50.316009 | 2020-04-14T17:40:28 | 2020-04-14T17:40:28 | 255,669,068 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 157 | r | PlanTrail.R | #'PlanTrail
#'
#'With this function you can plan a hiking route for a predefined area
#'only cost
#'
#'@param
#'
#'@return
#'
#'@examples
#'
#'@export
#'
#'
|
1ab6157df566170f75833b93c7a47b60dc96e9aa | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/8652_0/rinput.R | 29fec6627d8cf9a9ca7d19910cbf475409883bb6 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("8652_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="8652_0_unrooted.txt") |
dd57d6d9961c081382d3951578410c755728f7be | 265746beb936c10466eda49f1f49eb22e6c5ba53 | /Week 2/pollutantmean.R | c70514cb78687be2ac5724106735384f019ee313 | [] | no_license | jlondal/RPrograming | d7816ce20e471e7735311c8feaeb845811f0ebbd | 6c6b4ce41e35d49388bfd9286c78e04a21ceccd0 | refs/heads/master | 2016-09-06T00:07:35.678849 | 2014-09-27T14:45:52 | 2014-09-27T14:45:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 464 | r | pollutantmean.R | setwd("/Users/jameslondall/Dropbox/DS Course/RPrograming/Week 2")
pollutantmean <- function(directory, pollutant, id = 1:332) {
directory <- paste('/Users/jameslondall/Documents/Data/DS Course/',directory,sep="")
files<-as.character(list.files(directory))
files_paths<-paste(directory, files,sep="/")
df2 <- ... |
3850dae18a532fba078781f330fb807e0a6a3bef | 4249aed63bb1302c65010c492b9d6446e3f71b9e | /reference/data_wrangling.R | 0003fd6bafa814578b7df4a313b1cd8f3f1459f0 | [] | no_license | Emiton/dsp539-assignment3 | b4f2b209b36d2cf36c50b43afbc3da2c964ff18a | 7af1c8cf731a61bc6e66257cde55c38b60e701fc | refs/heads/master | 2020-05-16T01:30:57.444864 | 2019-05-06T21:37:43 | 2019-05-06T21:37:43 | 182,604,464 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,422 | r | data_wrangling.R | # R Data Viz
install.packages("tidyverse")
download.file(url="https://ndownloader.figshare.com/files/2292169", destfile = "data/portal_data_joined.csv")
surveys <- read.csv("data/portal_data_joined.csv")
library("tidyverse")
# head(surveys)
# View(surveys)
# mean weight for each sex for each species
surveys %>%
... |
f1198e213af0d880a885aea8293bcf6718783297 | b6897715823fd16dd37a9627cf2c4fb18abb481c | /Assignment 2 - K Fold.R | 09795ae9aa2343df64a48ff77a5cdd4008a1a564 | [] | no_license | monicachandil/AMMA2017-18 | 39d6e68526e94603be04070da602f176cefbca70 | 36a5aa8a09e309a4042a6f7c6caf6c9816cf3bb5 | refs/heads/master | 2021-01-23T09:12:04.506033 | 2017-09-07T15:32:10 | 2017-09-07T15:32:10 | 102,566,300 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,067 | r | Assignment 2 - K Fold.R | # STEP - 1 START #
install.packages("titanic")
install.packages("rpart.plot")
install.packages("randomForest")
install.packages("DAAG")
library(titanic)
library(rpart.plot)
library(gmodels)
library(Hmisc)
library(pROC)
library(ResourceSelection)
library(car)
library(caret)
library(dplyr)
library(InformationValue)
libr... |
9dd4de63061e83bbdbbbecbfadae6ed785ddd18a | e8f656ed68a82e391a8fdbec7701545a69f74aa1 | /main.r | 6156ac979f0ee76eee6488d69355dbea051f8f7d | [] | no_license | pknight24/flying-circus | 36fdea22cead87315a5501b2b7db4584c3646d98 | 7f9b0cf7955061d0f3af2afc950f096310294627 | refs/heads/master | 2020-03-23T08:51:40.393130 | 2018-07-30T01:22:20 | 2018-07-30T01:22:20 | 141,352,175 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 649 | r | main.r | library(Rcpp)
library(RSQLite)
source("helpers.r")
sourceCpp("src/markov.cpp")
###########################################################################################
db <- dbConnect(SQLite(), dbname="database.sqlite")
q <- dbSendQuery(db, "SELECT character, detail FROM scripts")
data <- dbFetch(q)
dbClearResul... |
ecd29283f74e7aae1c4e046fea6c012677b94673 | 6d7a191695cf8905d7cdda3d8753540568a8565e | /Data Plotting Code.R | 3feaaf810ab1df82a8c7163021d8d60cb8174798 | [] | no_license | bhagerott/ExData_Plotting1 | 5b747abceaad68d9f347231ee9670197758ce040 | 8c5c8a86f601e7a27381486967d44934404286e6 | refs/heads/master | 2021-01-17T05:27:23.321671 | 2016-02-14T18:23:46 | 2016-02-14T18:23:46 | 51,704,735 | 0 | 0 | null | 2016-02-14T17:28:09 | 2016-02-14T17:28:09 | null | UTF-8 | R | false | false | 2,370 | r | Data Plotting Code.R | #download data
file.name<-"./household_power_consumption.txt"
url<-"http://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
zip.file<-"./data.zip"
if (!file.exists("./household_power_consumption.txt")) {
download.file(url, destfile = zip.file)
unzip(zip.file)
file.remove(zip.file)
}
... |
844dccc92d28df08fc698c5a558b92ae05946855 | 466e2c481363aa446bb0e470325e90fb1f0069bc | /02_Plotting/02_Plot_CA_HST_suitability.R | 3a246e0f652a07f60eaaf062e451808141ac3407 | [] | no_license | naiamh/Lead-trail_project | 9e51bc78d5b4659c2126c2fa7421e2b96ae2747d | cd31593461bb0fa6f89d8ed13d4e4e3cd25b2c97 | refs/heads/master | 2021-01-10T06:55:51.563796 | 2016-02-16T22:10:32 | 2016-02-16T22:10:32 | 51,658,025 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,956 | r | 02_Plot_CA_HST_suitability.R | # Scripts for plotting suitability maps for historic climate
# Updated October 28 2015
# Clear workspace
rm(list=ls())
Computer <- "HP"
#-----------------#
# Set directories #
#-----------------#
if (Computer == "HP") {
wdir <- 'C:/Users/Naia Morueta Holme/Documents/Documents_share/Projects/'
idir <- 'D:/Lead-t... |
03551384d6d5398ae553299e400c25199b59c2c9 | 558244a780c81c64cf171def2ae6720f0feb5239 | /crime/scrape.R | a1cb44dcd4cbe65b77ee8f8805176ef6f601c730 | [] | no_license | xyangwu/whosesociety-data | 3056ab6a1469c5699a630617f96300c2b37c8b0a | c2d85192da21aa9bb2eeb45b67d4664213cd75c1 | refs/heads/master | 2021-05-21T19:50:55.740625 | 2020-05-17T13:23:59 | 2020-05-17T13:23:59 | 252,776,916 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,818 | r | scrape.R | library(rvest)
library(RSelenium)
library(tidyverse)
library(XML)
remDr <- remoteDriver(remoteServerAddr = "localhost"
, port = 4444L
, browserName = "chrome")
# java -jar selenium-server-standalone-3.9.1.jar
# java -jar selenium-server-standalone-3.141.59.jar
remDr$open()... |
b1cd5915cb20e6972c8420294716a827cb4e6168 | 37c76010ded6d1fc4448ce417d9a5648a4e1cdee | /man/scale_fill_jpregion.Rd | 4622908bf67c71c689135e4402d1b26650b81587 | [
"CC-BY-4.0"
] | permissive | uribo/tabularmaps | d51927fea6679aa89d8490df37f351591759fc83 | 7fd7251eec59def15a1853bf18294772452b9989 | refs/heads/master | 2022-12-02T03:28:15.633293 | 2020-08-06T03:19:40 | 2020-08-06T03:19:40 | 251,153,664 | 8 | 1 | NOASSERTION | 2020-04-05T02:18:44 | 2020-03-29T23:11:21 | R | UTF-8 | R | false | true | 512 | rd | scale_fill_jpregion.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tabularmap.R
\name{scale_fill_jpregion}
\alias{scale_fill_jpregion}
\title{Coloring the tabularmaps by region in Japan}
\usage{
scale_fill_jpregion(lang, ...)
}
\arguments{
\item{lang}{Select whether the region variable is Japanese (\code{jp}... |
8464890929953ba8c277b42f0c2c569d26c39e43 | 6e32987e92e9074939fea0d76f103b6a29df7f1f | /googleautomlv1.auto/man/AnnotationSpec.Rd | 8b1026e3f5c4889713c32d68fdc6df066053d0fb | [] | no_license | justinjm/autoGoogleAPI | a8158acd9d5fa33eeafd9150079f66e7ae5f0668 | 6a26a543271916329606e5dbd42d11d8a1602aca | refs/heads/master | 2023-09-03T02:00:51.433755 | 2023-08-09T21:29:35 | 2023-08-09T21:29:35 | 183,957,898 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 573 | rd | AnnotationSpec.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/automl_objects.R
\name{AnnotationSpec}
\alias{AnnotationSpec}
\title{AnnotationSpec Object}
\usage{
AnnotationSpec(exampleCount = NULL, name = NULL, displayName = NULL)
}
\arguments{
\item{exampleCount}{Output only}
\item{name}{Output only}
... |
495c8ca3f35cfa300616338d3e459c72412edfdf | 1b1241229f6386662bef24be67ca94e0ac8f7ca5 | /R/legisListWordPress.R | 0831a4695a9f053f343d24fa8c846a3805ee7969 | [] | no_license | rafaeldjacome/CongressoAberto | c928815bef71008ffadefc7d2ea1d07fd75129a1 | a4785785cb37e8095893dc411f0a030a57fd30f8 | refs/heads/master | 2020-03-18T00:33:50.482718 | 2010-04-14T14:46:51 | 2010-04-14T14:46:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,011 | r | legisListWordPress.R | rf <- function(x=NULL) {
if (.Platform$OS.type!="unix") {
run.from <- "C:/reps/CongressoAberto"
} else {
run.from <- "~/reps/CongressoAberto"
}
## side effect: load functions
source(paste(run.from,"/R/caFunctions.R",sep=""))
if (is.null(x)) {
run.from
} else {
paste(run.from,"/",x,sep='')
... |
d398e00bab9407afe0fa7a018a51198c8562d9ba | 2848fe85a2077683826f4206cccdb023830c14ef | /tests/testthat/test-triangles.R | 1f35d25ec977cb35e112a895182004cd0e84697b | [] | no_license | mpadge/silicate | c5f629eb562eea53210a805f05dd4dfe019a9d4c | df0118208df26c282f31fed5fe0e07ef2d04085e | refs/heads/master | 2021-01-24T08:08:12.416339 | 2019-02-22T00:52:47 | 2019-02-22T00:52:47 | 122,969,382 | 0 | 0 | null | 2018-02-26T12:51:18 | 2018-02-26T12:51:17 | null | UTF-8 | R | false | false | 329 | r | test-triangles.R | context("test-triangles")
pts <- structure(c(5L, 3L, 1L, 4L, 4L, 8L, 6L, 9L), .Dim = c(4L, 2L))
tri <- c(2, 1, 3, 2, 4, 1)
a <- tri_area(pts[tri, ])
test_that("triangle tools works", {
expect_equal(a, c(6, 3))
expect_equal(tri_ix(pts[tri, ]), c(3, 1, 2, 6, 4, 5))
expect_equal(tri_jx(pts[tri, ]), c(1, 2, 3, 4, 5,... |
e1dd549a6a877100d36a8cc79bbbf628b8b8a6b6 | 0ee50dd399127ebe38bc8f5197114d46d717ccd7 | /R/combatbaaddon.R | 1371413e8bf831f062ec3d48a290ab042cfbb577 | [] | no_license | cran/bapred | 0051d57056f886e6df028255f0c85339c70d66f1 | e24720be3c6f82c2d5422ae97a8f12f5edc15adc | refs/heads/master | 2022-07-07T03:06:58.840921 | 2022-06-22T07:20:13 | 2022-06-22T07:20:13 | 48,076,867 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,466 | r | combatbaaddon.R | combatbaaddon <-
function(params, x, batch) {
if(any(is.na(x)))
stop("Data contains missing values.")
if(!is.factor(batch))
stop("'batch' has to be of class 'factor'.")
if(!is.matrix(x))
stop("'x' has to be of class 'matrix'.")
if(!inherits(params, "combat"))
stop("Input parameter... |
5ef38c7e0f0df88a8dea5e13d5cb762642259ed0 | 8e1002933c5e79a33bc1aff1d216696aa2f96e68 | /Particle_Tracking_subcode/Making_depth_layers.R | 04405a6c9eb773fdfe8721bdad9b002112d247de | [
"MIT"
] | permissive | Christopher-Blackford/ParticleTracking | 34432a0e58eb453c04c222d6d186200cef01f742 | 5e4917b88e6bdd87753bc8157244c2767c61a5e9 | refs/heads/master | 2020-03-13T02:25:58.543461 | 2020-01-13T20:36:30 | 2020-01-13T20:36:30 | 84,609,475 | 0 | 1 | null | 2017-03-15T18:50:50 | 2017-03-10T23:32:45 | R | UTF-8 | R | false | false | 743 | r | Making_depth_layers.R | #Making_depth_layers
#Making the depth layers from released points
Depth_class_dataframe <- Released_larvae@data
Depth_class_dataframe$Depth_class <- Habitat_classes_names[i]
Depth_class_dataframe <- Depth_class_dataframe[,c("Poly_ID", "Depth_class")]
Depth_class_dataframe <- dplyr::distinct(Depth_class_dataframe, Pol... |
47ffa1600c95f818410473afa9e7be3743394601 | 8632eab9c0d5c3aaa1d0aef69bef8458f49e1c30 | /R/ggsurvplot.R | 53acba7b7981f5ea43604b2cd6b4b61126c1a5e7 | [] | no_license | AlKavaev/survminer | 79f85f32b4a571a0a14b8dc00e80f8da9accfb03 | 76e822a303b2c008cb2a55e6bf093245fc3c4df7 | refs/heads/master | 2021-01-19T09:03:38.209274 | 2017-04-07T15:16:21 | 2017-04-07T15:19:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 44,428 | r | ggsurvplot.R | #' @include utilities.R theme_classic2.R surv_summary.R
#' @importFrom methods is
#' @importFrom stats pchisq
#' @importFrom survMisc ten comp
#' @importFrom utils capture.output
NULL
#'Drawing Survival Curves Using ggplot2
#'@description Drawing survival curves using ggplot2
#'@param fit an object of class survfit.
... |
86184d5b89bd7548f26ff3825bb6a9adc8188151 | 3325717d8ca9d832a7e391bd77e5a763e3401472 | /transactions.R | 3c9125e3297a43728fc2eb21d6b8c540011017b1 | [] | no_license | huynh-vu/1---The-Vu-Foundation | 206172c1504caddb2a85e429515f18863c864c68 | 23665b6978178cec393f2167a025e70b2bbe0f2d | refs/heads/master | 2020-03-28T18:21:07.266791 | 2018-09-26T20:41:15 | 2018-09-26T20:41:15 | 148,873,893 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 970 | r | transactions.R | library(tidyr)
library(dplyr)
library(ggplot2)
library(sqldf)
# read file
imported_data <- read.csv("data/transactions.csv",header=TRUE, skip = 0)
# exclude variables
newdata <- imported_data[c(1,2,4,5,6,7)]
newdata <- subset(newdata, Transaction.Type=='debit')
newdata <- subset(newdata, as.Date(newdata$Date, form... |
d7967dcf0b786af37be6daac8c7bd81243e87c8b | 53c7dee5598e34fcec7f6843fda3b938735d70b7 | /GP.R | 418912176e511fabe98371b9ecad08a1c38420e9 | [] | no_license | tinazi/geomod3D | d49051473581e84d74dc9f3f15a588fd5de49f8a | 9cc3eb400f5c4ad598de018a8f0136ef5b625280 | refs/heads/master | 2021-01-23T02:30:07.998491 | 2016-12-27T18:33:24 | 2016-12-27T18:33:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,415 | r | GP.R | #### Gaussian Process class ####
GP <- setClass(
"GP",
slots = c(data = "spatial3DDataFrame",
tangents = "points3DDataFrame",
model = "list",
mean = "numeric",
trend = "character",
beta = "matrix",
... |
e00ac576fdf3de3c315778f0009d83199371c32c | 0ae1661c6939d7924612c08e12725ff9139da98b | /R/lw.R | eedf19f9bedce40f8f9751e8ab2ef6d1bc3ae21c | [
"MIT"
] | permissive | kbario/concentr8r | 1d24a080588661f02f55cbc27049d890caf4f8f2 | ecde75b76f8b6a9d12c333795a6bde8833b9250e | refs/heads/main | 2023-04-13T12:55:58.704961 | 2022-11-01T22:57:34 | 2022-11-01T22:57:34 | 404,204,813 | 1 | 1 | NOASSERTION | 2022-11-01T22:57:35 | 2021-09-08T03:58:10 | R | UTF-8 | R | false | false | 1,814 | r | lw.R | #' Full Width at Half-Maximum
#' @description Calculating full width at half maximum (FWHM, aka line width). This function returns the ppm difference where peak line crosses half of the peak height. It requires one signal across all spectra within ppm ranges specified in shift.
#'
#' @param X num matrix, NMR data with ... |
3f673f4848c3c29418d6da2b27f4249e2c5896ff | 1e45d64203edd6d5125980bf23db3daedc9da89d | /sources/framework/VEModel/inst/advanced/02-running.R | 3ab461dad19df6f05854f3c3c2b93c8ffc9fe2c5 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-proprietary-license",
"Unlicense",
"LicenseRef-scancode-public-domain",
"Apache-2.0"
] | permissive | VisionEval/VisionEval-Dev | 5c1600032307c729b96470355c40ef6cbbb9f05b | 701bf7f68d94bf1b4b73a0dfd622672a93d4af5f | refs/heads/development | 2023-08-19T17:53:55.037761 | 2023-08-15T12:33:50 | 2023-08-15T12:33:50 | 144,179,471 | 6 | 34 | Apache-2.0 | 2023-09-07T20:39:13 | 2018-08-09T16:44:22 | R | UTF-8 | R | false | false | 1,093 | r | 02-running.R | ### running.R
# Walk through running models
# Load VEModel package (in effect, the visioneval environment)
require(VEModel)
# Assuming you've done install.R and have some models around
mod <- openModel("VERSPM-run")
print(mod) # Should say "Run complete"
mod$run() # basic instruction to run the model
# but it doe... |
bffffb46916710eab534510a001a726af61bf15a | f43ff1e09138649558c2e90a75bd2d4f3cbbdbb6 | /source/Windows/R-Portable-Win/library/zeallot/doc/unpacking-assignment.R | 9d6e73dd5477c8ded840ee13434992e6e57d54f2 | [
"MIT",
"CC-BY-3.0",
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | romanhaa/Cerebro | 5b2d9371403c52f60341894f84cd0f6a006cc930 | 946ed178c986027d60af6013e63d1fc51ae8b371 | refs/heads/master | 2022-12-02T15:49:57.705873 | 2021-11-20T11:47:12 | 2021-11-21T17:09:37 | 164,686,297 | 87 | 23 | MIT | 2022-11-10T18:21:44 | 2019-01-08T16:09:59 | HTML | UTF-8 | R | false | false | 5,050 | r | unpacking-assignment.R | ## ---- include = FALSE----------------------------------------------------
knitr::opts_chunk$set(collapse = TRUE, comment = "#>")
library(zeallot)
## ------------------------------------------------------------------------
c(lat, lng) %<-% list(38.061944, -122.643889)
## --------------------------------------------... |
b134f67304cac1ec899c49a85efcd2d99692de2e | 0f5fc517c7beb08b4a11fd85749d0d1a50c28f5b | /man/sum_A_mat.Rd | 5cede3fab72b40e67a988794012ac5e1981813ea | [] | no_license | sqyu/ZiDAG | 544de482c6e7a3e35968408826c6136e57d2cb25 | d893be61690031b13ced18b18a7e7c98d4b78804 | refs/heads/master | 2023-02-13T19:04:25.840259 | 2021-01-13T08:16:53 | 2021-01-13T08:16:53 | 239,381,238 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,252 | rd | sum_A_mat.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zero_dist.R
\name{sum_A_mat}
\alias{sum_A_mat}
\title{Calculate the a parameter in the conditional Hurdle density of the child node given the parents for multiple samples, assuming a is linear in the parents and their indicators.}
\usage{
sum... |
0b965c968b73dee92db38084aba7eb7830417792 | 9b6539835ebff3eed1f23930aced8c5de69506d0 | /Semana 5.R | bab0c5500e4fae05989559f9ffb30c4f54fbadfc | [] | no_license | tcastrop/Practica-1-Tatiana-Castro | 6ef0629927df0c1521f850cc2177e5d1f7af28d3 | a55a7fbf88f1b3e4b937aca69ebb57001c1e9548 | refs/heads/main | 2023-06-19T16:12:05.886196 | 2021-07-19T04:06:03 | 2021-07-19T04:06:03 | 377,016,683 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,276 | r | Semana 5.R | library("DBI")
library("odbc")
library("dbplyr")
DB_BikeStores <- DBI::dbConnect(odbc::odbc(),
Driver = "SQL Server",
Server = "dbtedamssql.uh.ac.cr",
Database = "BikeStores",
UID = r... |
0680addbf54d64f93eaa4bc92b230078e09109ce | 3516abb9471d95326c21c83ae1c6dbaf29a90700 | /time_series/WaterDemandAnalysis.R | 6d63ae173b18d5827e734c5b11c34baa72dde3a4 | [] | no_license | rgrosskopf/R_scripts | f06200375f72342fc7883baa879ea1c97532b929 | 2a29785d8565003fb5bd8617eab718b8cdf384dc | refs/heads/master | 2020-04-16T09:22:15.369721 | 2019-01-13T04:00:06 | 2019-01-13T04:00:06 | 165,461,717 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,523 | r | WaterDemandAnalysis.R | #-------------------------------------------------------------------------------------#
#Author: Ryan Grosskopf
#Date: July 20, 2016
#Description: Perform multi-seasonal decomposition of water demand time series to determine base demand
#pattern and to evaluate the distribution of the model residuals. This distribution... |
e931de35f54f96521f64c68fa8334d4da2454688 | 7479ff31fafab560cc195ee58fed193da611799c | /cachematrix.R | 20e784f514fa7ec0b7884239db920986ad8a7ec2 | [] | no_license | cpmontoya/ProgrammingAssignment2 | 12ca93153558f0ad32df4a7d2e148159cc788a54 | 0402552d177c39c6085ce00b40e0c7297a901585 | refs/heads/master | 2021-01-18T10:26:21.042811 | 2014-05-25T05:40:36 | 2014-05-25T05:40:36 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,268 | r | cachematrix.R | ## The functions below can be used to create a matrix and solve for its inverse
## the inverse matrix is cached for later retrieval. Caching the matrix makes
## use of R's Lexical Scoping
## The makeCacheMatrix function creates a list of functions for getting and
## and setting a matrix as well as getting and setting ... |
f2c604b81977172ea75e6c9ca83bc2129cb9b5c4 | 88311cfdacc0ada10cfb6e05c35411d3965dc582 | /solution/2-similarity/part2b/visualise.R | c30740da80dc9f829e790d7e7d4b7fd526f1bc92 | [] | no_license | g-eorge/CCPDS-02 | 7aab360f3c77c7c4a77bc047a7d18ee8c6dc1b95 | 6e3095395723f7d679349595d6ed8f098504a1b8 | refs/heads/master | 2021-05-27T10:18:52.830892 | 2014-07-01T01:47:09 | 2014-07-01T01:47:09 | 19,005,113 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,833 | r | visualise.R | #! /usr/bin/env Rscript
# Dependencies
# install.packages("ggplot2")
# install.packages("reshape")
# Load packages
library(ggplot2)
library(reshape)
# The regions that are least like the others
provider_ids <- c('CA - San Jose', 'CA - Contra Costa County', 'CA - San Mateo County')
# Plot colours for the regions
sca... |
1c47c4de6b12200145e2bdaa9fc2cf6b41bc063a | e3259d8f489b093b246fe2fd0c4fb6999d6466bf | /R/talbox.camp.R | 9db9a7c0d5b25f9cd9eb0dc3293b9207ab989ac3 | [] | no_license | Franvgls/CampR | 7baf0e8213993db85004b95d009bec33570c0407 | 48987b9f49ea492c043a5c5ec3b85eb76605b137 | refs/heads/master | 2023-09-04T00:13:54.220440 | 2023-08-22T14:20:40 | 2023-08-22T14:20:40 | 93,841,088 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,030 | r | talbox.camp.R | #' Abundancia estratificada para un rango de talla
#'
#' Extrae los datos de abundancia de una especie o conjunto de especies con un rango de tallas determinado a partir de las distribuciones de talla.También puede mostrar los datos de biomasa a partir de la relación talla-peso
#' @param gr Grupo de la especie: 1 peces... |
1d73dfe49bf4b3f1e228e1ab0113701b30e0fc05 | 850406eebc34d582fe8603a9ed79b6bcf613f132 | /h2o.saveModel.Rd | 6f3262797cfc9e67d2f65f0056661ce0f5bed1e7 | [
"MIT"
] | permissive | sanjaybasu/sdh_t2dm | 7652a7452cc271f345a9bf9303d77f1bf3efa73c | 5b1d5752a056898397bff7e51c6e1aa180feccc2 | refs/heads/master | 2020-03-29T04:00:35.481658 | 2019-04-19T23:11:19 | 2019-04-19T23:11:19 | 149,511,195 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,217 | rd | h2o.saveModel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/export.R
\name{h2o.saveModel}
\alias{h2o.saveModel}
\title{Save an H2O Model Object to Disk}
\usage{
h2o.saveModel(object, path = "", force = FALSE)
}
\arguments{
\item{object}{an \linkS4class{H2OModel} object.}
\item{path}{string indicating... |
7d6a0819c0d79242cd5be7466046cb00d2d3d965 | 38098d293d364f8df734bc187b701ed6df160a8d | /refuge_central.R | 7ab9fc67f70243da61745bbda563384e705798a4 | [] | no_license | RyanXJu/Using-CDmetaPOP-simulate-MPB-population | dbd53d016371cf6f3fc799b9116f0c236927c8a9 | 25c24aaebe7d63611aa1074067b1a6a5861ada3d | refs/heads/master | 2021-10-23T16:08:43.608771 | 2019-03-18T17:36:22 | 2019-03-18T17:36:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 609 | r | refuge_central.R | #####**********function return central refuge***********####
#need col and row number
#xcen,ycen: dimention of the centre wanted
centre <- function(col, row, xcen, ycen) {
xcentre <- (col / 2 - xcen / 2 + 1):(col / 2 + xcen / 2)
ycentre <- (row / 2 - ycen / 2 + 1):(row / 2 + ycen / 2)
centre <- NULL
for ... |
f24ad1c109d96400488bc64ad37863d96237cda7 | 0450df55f943cb5ea0f1484c71bc5e9b37238cd3 | /Lab03/global_copy.R | aac9a274f233946366c5f24e7b316542a8f332b3 | [] | no_license | gjw13/data-visualization | 95ec647ca39b1a279266bcb331329e878d0d07c0 | d695b1c38e5ac849f15863fec80daeff0fd96573 | refs/heads/master | 2020-05-14T09:12:41.131227 | 2020-04-15T13:59:34 | 2020-04-15T13:59:34 | 181,732,829 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,610 | r | global_copy.R | library(tidyverse)
library(lubridate)
library(maps)
#Read in data and clean up
gridded_data <- read_csv("gridded_data.csv",col_names =F)
number_of_months <- nrow(gridded_data)/37
monthly_data <- vector("list",number_of_months)
for(i in 1:number_of_months){
monthly_data[[i]] <- gridded_data[((i-1)*37+2):(i*37),] #ex... |
39320cf3a7523d44d2d37ccfcfefabe9cbbe471d | f8b02de18a21aa42d2035d8d66bebcc6a669473a | /animate_recursive.R | 3df07f5075dd6b8225aa9ce2574735db9d741332 | [] | no_license | fabio-a-oliveira/stock-data-reduction | 925c25e2c9a1201bbabe5bc977f0390c9b6fbd32 | 818511380e935bcd6136b4cbcbbbdda89920888a | refs/heads/master | 2022-12-19T00:03:31.319749 | 2020-09-17T15:58:21 | 2020-09-17T15:58:21 | 283,913,122 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,132 | r | animate_recursive.R | # Housekeeping -----------------------------------------------------------------
# load libraries
library(tidyverse)
library(ggplot2)
library(gifski)
# runs script with the definition of the pivot points functions and the function
# that creates random stock data
source("declaration_of_functions.R")
# Image paramete... |
50d3c712582c0646d337a35c73a59b258b3c10ae | 30427a7015befa1c2923311622f9a60c0b500050 | /man/frescalo.Rd | 015dafd32146e328fbe3b82c6f43ba55ca26580d | [] | no_license | ealarsen/sparta | 35c5fe7d3b84077db871e2788f768c63ba233945 | 3f80893fca52de551f7674e3912e60e03df7f6a5 | refs/heads/master | 2021-01-23T01:51:11.148474 | 2014-11-19T10:17:59 | 2014-11-19T10:17:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,480 | rd | frescalo.Rd | \name{frescalo}
\alias{frescalo}
\title{Frescalo trend analysis}
\usage{
frescalo(Data = NULL, species_to_include = NULL,
ignore.ireland = F, ignore.channelislands = F,
sinkdir = NULL, time_periods = NULL, plot_fres = FALSE,
Fres_weights = "LC", non_benchmark_sp = NULL,
fres_site_filter = NULL, phi = ... |
8abdc9f98a642804b8e0f866806925a79db39797 | 520c0e6917626743f86d9e86be81461030231c7b | /man/pdFilterSingle.Rd | ae69ee01808205e676b1acff81bdb2fad92bcd1e | [] | no_license | olssol/pfDesign | be4e8cd5161304d991ffe1ef71258dfe28788e6f | e8bd03bef21c4210645a16bd5d5e5651754a2616 | refs/heads/master | 2022-03-02T06:53:51.087223 | 2022-02-20T04:41:31 | 2022-02-20T04:41:31 | 206,724,967 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 661 | rd | pdFilterSingle.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pfDesign_filter.R
\name{pdFilterSingle}
\alias{pdFilterSingle}
\title{Particle filter for a given interval}
\usage{
pdFilterSingle(
y,
last_smps,
last_weights = NULL,
f_ll = pdBinPmf,
thresh_ess = NULL,
...
)
}
\arguments{
\item{y... |
0f3f5ebf879ab5108284a6e43a5e6e1ce125304e | 24220d86828456d501b8c1b96e3d3839f68aa8d3 | /man/review.Rd | 58abd2420758557b526d6ca0df0897c6bca62a9f | [] | no_license | AndreaCapozio/TMDb | 025a1e90870f520a78091c5b9c113c764da4f24b | 5498eae1b37b4858185328cf0555158cbe1566e3 | refs/heads/master | 2021-01-01T04:39:11.419294 | 2016-05-01T11:20:05 | 2016-05-01T11:20:05 | 57,594,176 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,181 | rd | review.Rd | \name{review}
\alias{review}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Retrieve basic informations about a review.
}
\description{
Get the full details of a review by ID.
}
\usage{
review(api_key, id)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
\item{api_key}{
Y... |
c8b73849fdf535c3294f8f56732031f8745a9ef8 | 2e6f8e6eaf11f6e3fe622428dd3d4ce9b9185278 | /ctsmr/ctsmr-package/man/PackData.Rd | 282dd7dd28ec29c3ed8b35b6eb90dc265ca285bf | [
"MIT"
] | permissive | perNyfelt/renjinSamplesAndTests | c9498a3eebf35f668bc1061a4c1f74a6bf8e2417 | 5140850aff742dbff02cd4a12a4f92b32a59aa25 | refs/heads/master | 2021-07-23T23:58:59.668537 | 2021-07-23T10:21:39 | 2021-07-23T10:21:39 | 202,578,093 | 1 | 1 | MIT | 2020-10-15T18:13:49 | 2019-08-15T16:45:33 | Fortran | UTF-8 | R | false | false | 354 | rd | PackData.Rd | \name{PackData}
\alias{PackData}
\title{Packs (validated) user given data for CTSM}
\usage{
PackData(data, inputs, outputs)
}
\arguments{
\item{data}{list of data.frames.}
\item{inputs}{vector of names of the input variables.}
\item{outputs}{vector of names of the output variables.}
}
\description{
Packs (valid... |
d40ebf34a1d2566ed916fc42ba30c245cb46efed | d58151abb81dba81e8ac2804d89a0e66de26af0d | /Snippets/differential expression analsysis formalized.R | 749edd75be0bcd489939de441b908db4145d2c5e | [] | no_license | vanrooij-lab/scRNAseq-HCM-human--old | c7fa3ac20a85aa77c26bde9a4b9731d236206df2 | 8f24236128e9cc89225e0e6d9c70b6c6eb0e88f1 | refs/heads/master | 2022-12-06T03:21:56.520140 | 2020-08-18T15:04:58 | 2020-08-18T15:04:58 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,603 | r | differential expression analsysis formalized.R | # functions for permutation-based statistics to deterimene
# cell population size dymanics across different conditions
# strategy of Ferhabi et al (2019)* was adapted for this script
# this sctipt requires a data.frame with teh first column being cell names which include the condition they are derived from
# the second... |
02e5d4747dd1b78b12ab8d135db494ad90e8afbc | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/lattice/examples/qqmath.Rd.R | 3d879e05d61b06c96105db0b7af39b4be17a6903 | [] | 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 | 1,012 | r | qqmath.Rd.R | library(lattice)
### Name: B_04_qqmath
### Title: Q-Q Plot with Theoretical Distribution
### Aliases: qqmath qqmath.formula qqmath.numeric
### Keywords: dplot
### ** Examples
qqmath(~ rnorm(100), distribution = function(p) qt(p, df = 10))
qqmath(~ height | voice.part, aspect = "xy", data = singer,
prepanel =... |
531b137de95e27576ea0f41d718f61083df2bdb6 | cd6b2f30ae748a9adc5c6f4a52c775645ac64497 | /data analysis/SNR subjective measures.R | 61a2ddf3a971cd735ef33d4c2a13af3f10707537 | [] | no_license | mkeomec/SNR-ERP | 88663b6cf51ebd0223dcf256e559794c111e4f66 | 8b037f13508a008c9caaf134412205eafac7d587 | refs/heads/master | 2020-05-23T08:14:18.672831 | 2018-06-21T04:23:52 | 2018-06-21T04:23:52 | 70,273,801 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 830 | r | SNR subjective measures.R | ## EXPLORE SNR subjective measures
redcap_data <- read.csv('C:/Users/cwbishop/Documents/SNR-ERP/data analysis/HASNR_DATA_2018-01-08_1630.csv')
# Look at IOI #7
redcap_data['ioiha_response_007']
table(redcap_data['ioiha_response_007'])
barplot(table(ioi_data['ioiha_response_007']))
# ALDQ
aldq_table <- table(redcap_d... |
ca10a2955680eca12b417a7e1ca28775c441f1ce | ec39440f33e9652cd7705b1d11f31bcb417ae806 | /man/get_whitelisted_domains.Rd | 278238aab15159dd55cd5765bbef4e5c6a6a339f | [
"MIT"
] | permissive | koad7/anahita | 61ae9870df69becc6bf395fa63c87ab818eb6f33 | 480be5f5ec8e3f65de790f11825bfa8c63bc62c2 | refs/heads/main | 2023-05-06T17:29:45.348845 | 2021-05-28T22:38:19 | 2021-05-28T22:38:19 | 371,832,792 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 615 | rd | get_whitelisted_domains.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-whitelisting.R
\name{get_whitelisted_domains}
\alias{get_whitelisted_domains}
\title{Get whitelisted domains}
\usage{
get_whitelisted_domains(conn, org_ids = NULL)
}
\arguments{
\item{conn}{connection to the data warehouse}
\item{org_i... |
c158ceac5feb5a2a9910b03292f782ea21df469c | 22087c2df17907e3d7c6c502b68779ba968848ce | /R/kuenm_rpca.R | a7a628191508f184e52fefc14476336fb95b3c9a | [] | no_license | marlonecobos/kuenm | 07c16d20445ccbd6e07d7349fa54ea03900cf0a9 | 2012fadee1ceffec008f50495ec598c94b41ffc5 | refs/heads/master | 2023-07-07T09:13:57.863875 | 2023-06-26T07:03:22 | 2023-06-26T07:03:22 | 130,799,797 | 46 | 19 | null | 2022-01-21T11:30:20 | 2018-04-24T05:17:49 | TeX | UTF-8 | R | false | false | 8,254 | r | kuenm_rpca.R | #' Principal componens for raster layers and projections
#'
#' @description kuenm_rpca performs a principal component analysis with a set of variables and
#' produces raster layers of them. If needed the pricipal components are projected to other
#' scenarios.
#'
#' @param variables (character or RasterStack) if charac... |
fc0dea54c4e4bd0c48972930cbcdbc3d1841621d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/currentSurvival/examples/cci.nostrat.Rd.R | 8b145c3d2448597d9ad744a26cdf755fa816852d | [] | 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 | 319 | r | cci.nostrat.Rd.R | library(currentSurvival)
### Name: cci.nostrat
### Title: Estimates Current Cumulative Incidence (CCI) and Common
### Cumulative Incidence (comCI) Functions Without Stratification
### Aliases: cci.nostrat
### Keywords: survival
### ** Examples
# This is an internal function and is not usually called by user.
|
bcefaf68c3ff9cb566e8b2d13c1c0b24628215a9 | 52586df6b1df22e19750306185ee69a7b09abf42 | /ISAEM/oldISAEM/GMM/SAEM_2gauss.R | 11f85b21ab567f378b6bbc5fdfc5a817413e1c2f | [] | no_license | BelhalK/AccelerationTrainingAlgorithms | 5d1390f5a5cb6f24f59f2c06073040056014aa64 | 0cc5f4405ad103f704cd7c6259762a66fb6bf37f | refs/heads/master | 2023-07-25T02:28:38.095277 | 2020-10-30T09:14:28 | 2020-10-30T09:14:28 | 94,530,148 | 0 | 0 | null | 2023-07-06T21:20:14 | 2017-06-16T09:46:26 | Jupyter Notebook | UTF-8 | R | false | false | 1,355 | r | SAEM_2gauss.R | source("mixtureAlgos.R")
source("mixtureFunctions.R")
theme_set(theme_bw())
n <- 100
weight<-c(0.7, 0.3)
mu<-c(0,4)
sigma<-c(1,1)*1
weight0<-c(.5,.5)
mu0<-c(1,2)
sigma0<-c(.5,2)
nb_r <- 10
K1 <-50
K <- 100
alpha1 <- 0.7
alpha2 <- 0.4
seed0=44444
# ylim <- c(0.15, 0.5, 0.4)
ylim <- c(0.1, 0.3, 0.3)
nsim <- 5
#
... |
ec84826b1ec6e9cc051c5d0211fc04a7cab3034e | 3d3d03188e534039ecb68f057f159f58591bd03f | /man/estimate.mfARI.CBFV.parameters.type.2.Rd | 7e29284da94acea42921db14335f93332eb07163 | [] | no_license | adbelazim/mfARI | c9ce3d2966f6b7596ac744e7a7d177f77a8d770e | 4c89ac08cf95e3a423197baa0291fda24f02ef21 | refs/heads/master | 2021-03-27T13:08:15.263063 | 2016-10-18T17:09:33 | 2016-10-18T17:09:33 | 71,271,237 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,139 | rd | estimate.mfARI.CBFV.parameters.type.2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mfARI-v15.9.10.R
\name{estimate.mfARI.CBFV.parameters.type.2}
\alias{estimate.mfARI.CBFV.parameters.type.2}
\title{Descripción de la función
Estimates the MSE for specified duration of the transient CBFV signal
In this version, Ks is the valu... |
8fbee4cec969a399649a8f301bd09de2ef7c0d88 | ab47dae2fa5a108e6c48b2013ae2ac09a1511856 | /R/TaxaSplit.R | 34ddd958f2788f511d2799b7cc60f8ef7ccba291 | [] | no_license | Nermin-Ghith/phylofactor | bee02d7676411e3d37b758ae42828128708da62c | 666b55cf634067392850ea5035c46eb1a473e969 | refs/heads/master | 2023-04-08T13:16:40.626542 | 2021-04-01T15:57:33 | 2021-04-01T15:57:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 954 | r | TaxaSplit.R | #' Describes the taxa split at a particular factor summarized by summary.phylofactor
#' @export
#' @param Summary summary.phylofactor object
#' @return list of taxa (with trimmed taxonomy strings) unique to the group & complement for the input summarized factor
TaxaSplit <- function(Summary){
taxG <- as.data.fra... |
2a079c7b93424cdc7b36e403a03378ad26aa867f | 5c57739590f374e136e95252250c06be3c300275 | /run_analysis.R | e00744147485e7dbf771409cc13b0ddc58b98796 | [] | no_license | leeyeelien/CleaningDataProject | 3380a566463a0e6bf40aef00cf706f5a2057ea6f | b67f702aaf329c6b6074ab8183ca198f0f86e6f9 | refs/heads/master | 2022-11-29T23:15:05.087822 | 2020-08-04T14:23:03 | 2020-08-04T14:23:03 | 284,751,845 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,496 | r | run_analysis.R | #Load dyplr library
library (dyplr)
#Load labels and features tables
activity_labels <- read.table("UCI HAR Dataset/activity_labels.txt")
features <- read.table("UCI HAR Dataset/features.txt")
#Create feature description from features table
feature_names = as.vector(features[,2])
#Load train data tables
t... |
9d6f5d79cc5e5d81be8e181351ec4c1c08b77c95 | bca63e5a36852745b285c801f0f1d66d79b63933 | /R Scripts/Tsay - High-frequency intraday number of transactions.R | e57a741b7cdd4914c45b1d64847833c2b604ae63 | [] | no_license | arkagogoldey/Finance_R_Files | 17201641c1ef05715bca8889dbfe7ff64cafe357 | 3b8b1fc5dd32448c7db637fc7306a7be50453710 | refs/heads/master | 2020-04-18T02:53:16.520896 | 2018-09-25T16:43:05 | 2018-09-25T16:43:05 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,182 | r | Tsay - High-frequency intraday number of transactions.R | "hfntra" <- function(da,int){
# Compute number of trades in a given interval (intraday)
#
# int: time intervals in minutes
# da: data in the format: date, hour, minute, second, price, volume
#
if(!is.matrix(da))da=as.matrix(da)
intsec=int*60
istart=9*60*60+30*60
iend=16*60*60
# compute the number of... |
04e41318ac05ce4d472aff17c705f76a86d5900d | 2c1805e79d915c88faa0f6c258fc41e95937dba5 | /R/HelperFunctions/distance_between_points.R | 46cf0b3e0ad40c462829b7c772b6d6166826b616 | [] | no_license | hejtmy/VR_City_Analysis | b85c14ddc7aad5db8aeeb353ae02462986b20e59 | b149d3f52d76fc8fb0104fa42ec7b38ae7470ba0 | refs/heads/master | 2021-01-18T16:16:53.962471 | 2017-05-21T22:01:26 | 2017-05-21T22:01:34 | 49,779,651 | 0 | 0 | null | 2017-02-18T17:35:16 | 2016-01-16T15:48:50 | R | UTF-8 | R | false | false | 214 | r | distance_between_points.R | distance_between_points = function(point_x, point_y){
if (is.numeric(point_x) && is.numeric(point_y)){
x = point_x
y = point_y
}
if(is.null(x) || is.null(y)) return(NA)
return(sqrt(sum((x-y)^2)))
} |
66d2961c0cd4178ee5060365b337e0d41e51943b | b40ec26f17286c2159a72f666e1531a041be2f51 | /datatest.R | 087d19e87afc8b377cf42dff78735f13b13dbf95 | [] | no_license | Nicey80/CampaignPlanner | bb744b5a12eb0f25fab57a680cf44164e09e1542 | d3b6f9f8d9be28c7d0a81e8ef0d06077a6d9dcbe | refs/heads/master | 2021-09-04T15:31:48.998266 | 2018-01-19T22:41:23 | 2018-01-19T22:41:23 | 111,463,778 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,651 | r | datatest.R | library(tidyverse)
library(readxl)
Camps <- read_excel("./data/InitCampDB.xlsx",sheet=1)
CampBatch <- read_excel("./data/InitCampDB.xlsx",sheet=2)
RCID <- read_excel("./data/InitCampDB.xlsx",sheet=4)
RCurves <- read_excel("./data/InitCampDB.xlsx",sheet=3)
DatePeriods <- read_excel("./data/AdminData.xlsx",sheet=1)
Org... |
6119e24d6ab2a400a908128b18e8455cb24e2728 | 40c0b708b174b6860015a9e99acd3f90b51fb4a7 | /Beta/server.R | a0b7bc430ad387afe2b62db940ddb4c350f4f695 | [] | no_license | stu-keil/ComputationalStatistics | 0a49579adb0e9f9d71d4dbb7806d58eee13ddb96 | 3a83d9494a0a8b351d46f84247a3f9e6f68809f8 | refs/heads/master | 2021-01-10T03:30:50.615068 | 2016-03-11T21:44:27 | 2016-03-11T21:44:27 | 53,698,193 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,177 | r | server.R |
# This is the server logic for a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
shinyServer(function(input, output) {
unif <- reactive(sort(runif(1000)))
output$text1 <- renderText({
paste0("La media o... |
67617dd9c14c189ff69ab01cf4e69c8b29bd3b17 | c400f710ad66102a0216b1b2df088838938b8bf9 | /logistic_machine_learning.R | da610a9ca29f9ae0202d64b97bc386f3b26938d7 | [] | no_license | dorissuzukiesmerio/R_machine_learning_palmetto | 35ee3f2f3470bd35f9c0d19f18daa65880447a6e | fda1e88233b545b5b1a385192fb4e314a1152229 | refs/heads/main | 2023-09-01T09:01:03.116142 | 2021-10-26T21:07:10 | 2021-10-26T21:07:10 | 381,422,108 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,129 | r | logistic_machine_learning.R | # Logistic Regression : binary output
#install.packages("kernlab")
library(kernlab)
data(spam) # spam , not spam is binary output
names(spam)
table(spam)
library(caret)
set.seed(123)
#Divide between test and training
indTrain <- createDataPartition(y=spam$type,p=0.6,list = FALSE)
training <- spam[indTrain,]
testing <... |
5c17d702b4b8053621f03622e615563ae7a5dc39 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/MapGAM/examples/toformula.Rd.R | 8c94c8a93033f56a3a94a868360f4df1f1f596a6 | [] | 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 | 247 | r | toformula.Rd.R | library(MapGAM)
### Name: toformula
### Title: Build a Formula Based on Data for 'modgam' Function
### Aliases: toformula
### Keywords: misc smooth
### ** Examples
## No test:
data(CAdata)
toformula(data=CAdata, surv=TRUE)
## End(No test)
|
eb02f6bd34091e10af218df74bc926cd21e86265 | 6d8572fb50a9ba39e6372ff0de70aac877d50ec7 | /man/f_val_calc_total_mol_fraction_CO2.Rd | 935ffbce1033fa2e07373fd7fb98b67b7b55c283 | [] | no_license | erikerhardt/isogasex | aed346bf689f28dce3d8500dc799e80b7354c037 | 2e3fc9c21c1d3d8e2348b7bff28954b5a169b0e8 | refs/heads/master | 2020-05-22T00:32:30.670300 | 2019-07-16T04:43:20 | 2019-07-16T04:43:20 | 186,173,267 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 526 | rd | f_val_calc_total_mol_fraction_CO2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/f_val_calc_total_mol_fraction_CO2.R
\name{f_val_calc_total_mol_fraction_CO2}
\alias{f_val_calc_total_mol_fraction_CO2}
\title{Total mol fraction CO2}
\usage{
f_val_calc_total_mol_fraction_CO2(obs_12C, obs_13C, fo_13C)
}
\arguments{
\item{obs_... |
d37d238a80d27430c5e48767fc2cdbbdc6f97147 | f5f142e469ba0526a2768a509630c8b5156b1fcb | /man/get_leaves_branches_col.Rd | 81209f149ec33d2536e39f88f1aa9878c1ff1205 | [] | no_license | JohnMCMa/dendextend | 350ca633b439b8964eec739ba9247c9527ae37f4 | 1e25e5bf786d943b3aa651f4257336462187d43c | refs/heads/master | 2021-01-18T16:05:01.686085 | 2017-03-30T14:15:29 | 2017-03-30T14:15:29 | 86,709,713 | 0 | 0 | null | 2017-03-30T14:06:03 | 2017-03-30T14:06:03 | null | UTF-8 | R | false | true | 1,642 | rd | get_leaves_branches_col.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/attr_access.R
\name{get_leaves_branches_col}
\alias{get_leaves_branches_col}
\title{Get the colors of the branches of a dendrogram's leaves}
\usage{
get_leaves_branches_col(dend, ...)
}
\arguments{
\item{dend}{a dendrogram object}
\item{...}... |
85b5c5b952e658605d08c3c3165ceff095f79a37 | 0969cd25b2806877d1aa239e1cb8d20f9d2b5bfe | /R/callback.R | 693845e3ea9b9c033b7b85a83f43ead45add80ff | [
"MIT"
] | permissive | refik/busboyr | 8f5f7544826a82827abca3ff79d24108279f6299 | 8233094162a20466d61387ea8e161ef9bde95da6 | refs/heads/master | 2018-12-20T08:51:54.131784 | 2018-09-17T12:38:24 | 2018-09-17T12:38:24 | 112,404,856 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,132 | r | callback.R | #' Consumes transfer complete tasks from putio
#'
#' @export
consume_callback <- function(wait = NULL) {
logger <- get_logger()
sqs_message <- aws.sqs::receive_msg(
Sys.getenv("CALLBACK_QUEUE"),
wait = wait
)
if (nrow(sqs_message) == 0) {
logger("No message in callbac... |
fecb7d9551e70709f6e006d8182e20a277d4e6f6 | 1ce674b9b77d1c11c36ab8263cdf002ed5515f33 | /Src/annotate_tissue_abbundance.r | 9f38fe0942b424655741c6a0f18bad0520b4c9d9 | [] | no_license | RaikOtto/Generic_mRNA_Expression_Pipeline | a129dd208dbd7073446f3a3109e384eb53b9d83b | 4a50c18e2c3ca261812da63e4f8fa360ffc49f8c | refs/heads/master | 2021-01-17T08:16:42.887852 | 2016-05-04T14:27:51 | 2016-05-04T14:27:51 | 41,857,180 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,862 | r | annotate_tissue_abbundance.r | #print("Comparison to normal tissue expression")
library("hgu133a.db")
mapWithMultiProbes_symbols = toggleProbes( hgu133aSYMBOL, "all")
if(F){
tissue_of_interest = c("kidney","kidney.1")
data_tmp = read.table(tissue_norm_exprs_file_path, sep ="\t",header=T)
tissue_norm_exprs = data_tmp[ , 2 : length( data_tm... |
2c96b1c4d01fbce42d3ba4e3751eb5ea83400c1c | 4418250666483cdfd0247130613265517c6cc702 | /machine-learning-fundamentals/supervised-learning in-r-classification/4. Classification Trees.R | 0048c0a0ce9cc6da3e3bfb6c60cb6306d8fa452d | [] | no_license | andrepvieira/courses | fb3b36bd0887f1be4846454b2bf5731bfea1a3be | 03ce293996cb524b39f6fdc1345cf2f25a194d54 | refs/heads/master | 2020-04-27T14:03:32.044320 | 2019-03-07T20:08:29 | 2019-03-07T20:08:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,164 | r | 4. Classification Trees.R | #' Classification trees use flowchart-like structures to make decisions.
#' Because humans can readily understand these tree structures,
#' classification trees are useful when transparency is needed, such as in
#' loan approval. We'll use the Lending Club dataset to simulate this
#' scenario.
# building a simple r... |
eb3c6a5d39a18f8a9cdedb62a278d7bbe1d85a85 | fbe71ac8022c9a05ed461ce4a65f80d6e46ac55a | /pkg/mutoss/R/localfdr.R | ffe228a9954361e4ea2689afa7c1f966adc12d44 | [] | no_license | kornl/mutoss | 63474aceaac4a4bc9373ea1ae8bdb1d65ea7222b | 21d3d8b397632d54138510f514102bf8cb5f6686 | refs/heads/master | 2020-04-14T19:30:39.280884 | 2017-12-04T16:39:36 | 2017-12-04T16:39:36 | 10,869,131 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,104 | r | localfdr.R | #
# Author: JonathanRosenblatt
###############################################################################
pval2qval<- function(pValues, cutoff){
requireLibrary('fdrtool')
fdrtool <- get("fdrtool", envir=asNamespace("fdrtool"))
qvals<-fdrtool(
pValues,
statistic= 'pvalue',
plot=FALSE,verbose=FALSE)... |
1117200125940e4f880df8744a6cedcf4d6c981a | 1d3505b16f17a0c473fbc0e4bbe456976c5830ce | /scripts/timeline.R | f8623ec8b84aaa459332382d5b398ff1dc664c9b | [] | no_license | anuto/info-201-final | 82ec83a2de573ca5e71bec0ee5c5a19e2e0023c1 | 07eb452bcb69e737baaf30216593d2f6be87787d | refs/heads/master | 2020-12-30T15:54:58.601440 | 2017-10-06T18:18:18 | 2017-10-06T18:18:18 | 91,186,114 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,553 | r | timeline.R | library(plotly)
library(gdata)
library(dplyr)
Timeline <- function(oc, this.data) {
# Read data
data <- this.data
# Read still open case data
open <- data %>% filter(is.closed == "FALSE")
# Set the date into the form that is usable.
open.case <- as.Date(open$opened, format = "%m/%d/%y")
# Read closed ... |
b71eb3b23405eec98e611d9915b3a0600e900cb7 | 05c6c5192018fa59f713e894dc3c3cf0d588036f | /man/gwsca.vioplot.Rd | cb80fe325d9a9532e84816b49013091cf63c1eab | [] | no_license | dyerlab/gwscaR | 029dd73185098375d6f136757cd4cf4855c8f605 | 226fef34caeceff472af8894ff5062a58ab77e5e | refs/heads/master | 2023-03-22T08:30:42.405029 | 2019-11-13T02:47:17 | 2019-11-13T02:47:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,022 | rd | gwsca.vioplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gwscaR_plot.R
\name{gwsca.vioplot}
\alias{gwsca.vioplot}
\title{Create violin plots with}
\usage{
gwsca.vioplot(x, ..., range = 1.5, h = NULL, ylim = NULL,
names = NULL, horizontal = FALSE, col = "magenta",
border = "black", lty = 1, lwd ... |
8171723c8e554fe154a1b48fb61b75ce7a792b52 | 8f951800419bbd7e752db183d61891fe3ab239c0 | /normalized_alignment.R | be5d44d82fdba1b243fa5685ff19feaf7af9cdcc | [
"MIT"
] | permissive | innerfirexy/cognition2017 | 28e09234203ed0cb112ca5a7cdefe41ad1114770 | 98ab93e520d991991dbb24d527c742bb768b559a | refs/heads/master | 2021-01-20T16:58:43.329825 | 2017-09-26T18:04:19 | 2017-09-26T18:04:19 | 82,845,793 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 15,762 | r | normalized_alignment.R | # Analyze how the normalized LLA measure (from length effect) changes within topic episode and dialogue
# Yang Xu
# 2/28/2017
library(data.table)
library(tidyverse)
library(stringr)
library(lme4)
library(lmerTest)
library(ggplot2)
library(ggalt)
# LLA function
LLA = function(prime, target, normalizer='sum') {
# ... |
3d78d3feb64681b0f51c8c71075eb3d64e4cd3b7 | 52a2ee72de740ee910724180f9f84afff6db704c | /garch11.R | 35862b9e2227c111834faff6063146b5579a3409 | [] | no_license | pedropolvora/Research | 27c36bba0ca9a9a27d8ab5ab38302bc1fd4f4d61 | 6469e52b6fed45e993c0d700847dd47d99c9da44 | refs/heads/master | 2021-01-20T00:35:24.962387 | 2017-04-21T00:49:35 | 2017-04-21T00:49:35 | 89,155,729 | 1 | 0 | null | 2017-04-23T16:23:49 | 2017-04-23T16:23:49 | null | UTF-8 | R | false | false | 2,240 | r | garch11.R | library(tseries)
library(MASS)
library(stats)
library(fGarch)
date_price <- read.csv("dataa.csv", sep=",")
price <- date_price[1:2373,2]
plot(price,type='l')
log_r <- diff(log(price))
plot(log_r, type='l')
acf(log_r)
hist(log_r, breaks = 20)
osx<-seq(min(log_r),max(log_r), 0.01)
lines(osx, dnorm(osx, ... |
b3d18d4d8a56aa7da2ee568c24d2fe2ede72e886 | 858a0c6bee8b6785d8e043028a74d82a76b3333a | /#3.5_Script_BOGA.r | 29b077f05a6e9644977bb7e26079799775037caf | [] | no_license | BellaBoga/Quantitative_Phonetics_with_R | e91cfd0e25b93b8bda48c4d9248f218ffa58cd2f | 12f2004d6bdb6815faa2ff538c8b78e5fb5ceb57 | refs/heads/main | 2023-06-05T16:09:43.769448 | 2021-06-17T21:43:08 | 2021-06-17T21:43:08 | 377,966,790 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,601 | r | #3.5_Script_BOGA.r | #Create a data frame from the second file in the corpus
#folder: rec_001_AS_id_002_CUT_20MIN_2.TextGrid.
#with these columns : word, starts, ends, and word duration.
#get rid of all the pauses then calculate the mean of all
#words' duration then get words with the least and the most
#duration.
#get the mean of wor... |
ec8001ecee27e062c5a97ea58d8b99c0290cd41f | c66690df66cd458ca1bd9352bd0c4e04ff70089a | /Code/loadDataOberijeEtAl.R | 2c8631456ee850015d6e793eb8e91a96da3343f3 | [
"Apache-2.0"
] | permissive | biobibibi/classifier_selection_code | 6ef8a706c808de1a8b911df61e7fbd10e571551b | 040a2e1c8504e5f0e3d2877fdbaa326cc9c0708d | refs/heads/master | 2021-10-01T00:52:17.720895 | 2018-11-26T12:34:22 | 2018-11-26T12:34:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,600 | r | loadDataOberijeEtAl.R | loadDataOberijeEtAl = function(pathFromDataFolderToCsv,pathToDataFolder)
{
library(plyr) # used for revalue
pathToFile = file.path(pathToDataFolder,pathFromDataFolderToCsv) # construct full file to csv
data = read.csv(pathToFile,sep = ";", dec = ",") # read data from .csv
# derive outcome (one-year survival)... |
733f2b3141a6143231379d2a4eed2702fea9f654 | 1c6c7e838ad70677c317e76152f4b9b425d1f91e | /Prediction using superised ML.r | 1698b2c056684d4e6219fe4448351c0f796db027 | [] | no_license | borle2909/Prediction-using-Supervised-ML--Student-data | b345ef48e04109e613762e1511555bff80544cd2 | 5997047a219e12f15730b0b6ae998572e1ba3ff2 | refs/heads/main | 2023-08-06T06:23:09.807470 | 2021-09-17T13:58:53 | 2021-09-17T13:58:53 | 405,916,235 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,269 | r | Prediction using superised ML.r | #Step-1 Reading the Given Data Set.**
# Importing The CSV Data
student_data <- read.csv("https://raw.githubusercontent.com/AdiPersonalWorks/Random/master/student_scores%20-%20student_scores.csv", header = TRUE)
head(student_data)
summary(student_data)
#Step-2 Plotting the Given Data set.**
#... |
3e2b4bf935a66b296b38d9106f27b0817b30ae3c | 38642304f0afbc664388685ff195727872207335 | /iUI/util_corr_viewer.R | ccfb374490884730de2165d62c5c55ab60f02e5b | [] | no_license | DrRoad/ShinyMLHome | 929681a900bd4b05b35a337c36563a72e2acc2cd | 590c44133b157b96f06193c3ae911b957b4548cb | refs/heads/master | 2020-07-22T11:24:03.278521 | 2018-09-23T12:02:22 | 2018-09-23T12:02:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,325 | r | util_corr_viewer.R | tp_util_corr_viewer <- tabPanel(
"Correlation viewer",
fluidRow(
column(
width = tp_wid_hlf,
tags$div(class = "title_wrapper", tags$h6(class = "title_content_sm", "Predictors")),
selectInput("ucv_upload", NULL, choices = ListTblsFromSSviaCS(proj_db_name), selected = db_predictors_src,
... |
b89e7a465e2729ea98c4a9ab90e18e48d3143242 | e103b12751676afcc73fb321a41725a74012124c | /R/FeatureImp.R | c35183b7a2a90eb7c2eed40d5b7ecb5dbf7fda9d | [
"MIT"
] | permissive | ShunanGao/iml | ed5ae788182e4dab6cd4ebe25a988cd869b769c3 | a892b520ebc9084ff0a4d8168fbb0d3ef483886e | refs/heads/master | 2020-04-07T01:32:28.606515 | 2018-10-30T08:28:01 | 2018-10-30T08:28:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,963 | r | FeatureImp.R | #' Feature importance
#'
#' @description
#' \code{FeatureImp} computes feature importances for prediction models.
#' The importance is measured as the factor by which the model's prediction error increases when the feature is shuffled.
#'
#' @format \code{\link{R6Class}} object.
#' @name FeatureImp
#'
#' @section ... |
6b67cb9cb96053e2f07959ee5f663776033b7cfa | f458e3e38c4e8eff6cbe8988488e31aa916ab38b | /cachematrix.R | 4d7ac85a71f908ff4d7fd37ae188c2c779ef3765 | [] | no_license | rculpi/ProgrammingAssignment2 | d65da6a607a973048929a2e0e6a7846d88720e87 | f8d1612f7bea2eb4622f26eb2d4695a631257e7d | refs/heads/master | 2020-04-01T15:40:53.325253 | 2018-10-16T20:16:11 | 2018-10-16T20:16:11 | 153,346,830 | 0 | 0 | null | 2018-10-16T20:02:59 | 2018-10-16T20:02:58 | null | UTF-8 | R | false | false | 2,359 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## makeCacheMatrix: This function creates a special "matrix" object that can cache
## its inverse.
## cacheSolve: This function computes the inverse of the special "matrix" returned by
## makeCacheMatrix above. If the inverse has alrea... |
a65860fcfa3e7c17972b63851364c204d86a565a | 7f6cfb830ff9b1658c8b943a72d6bb8b8a3a6168 | /man/geom_cobweb.Rd | 9f95c269c36c2f42e950417a18209da9fd9abfcf | [
"Apache-2.0"
] | permissive | Beirnaert/MetaboMeeseeks | aad9dd2a1fa956464478ee5a6703c3bfd44dba6b | 7c9926b24050679f1efbec2da81b8fec4b5207a8 | refs/heads/master | 2021-01-25T08:13:22.690656 | 2019-03-14T12:18:11 | 2019-03-14T12:18:11 | 93,733,340 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,898 | rd | geom_cobweb.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geom_cobweb.R
\name{geom_cobweb}
\alias{geom_cobweb}
\title{Cobweb plot}
\usage{
geom_cobweb(mapping = NULL, data = NULL, stat = "identity",
position = "identity", na.rm = FALSE, show.legend = TRUE,
theme = list(panel.background = element... |
7e61c26ce29b1059c1d59846aa3d7e7c00aac38a | 1318b29d7b0f212ebe1a87145a13ee563ea094d8 | /R/AB.withDescalation.R | 715c1c2fc03a3b4253f4148ffb80bf3bb375a688 | [] | no_license | cran/TrialSize | 73c3ff9086760334fa83d4608c111bb0ea32765b | 314e951e9d33786b6a2883f7cd483984cb611243 | refs/heads/master | 2021-06-04T14:24:45.564491 | 2020-07-06T20:40:03 | 2020-07-06T20:40:03 | 17,693,970 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,016 | r | AB.withDescalation.R | AB.withDescalation <-function(A,B,C,D,E,DLT){
pj=DLT
P0=rep(0,ncol=length(pj))
P1=rep(0,ncol=length(pj))
Q0=rep(0,ncol=length(pj))
Q1=rep(0,ncol=length(pj))
Q2=rep(0,ncol=length(pj))
n=rep(0,ncol=length(pj))
for (j in 1:length(pj))
{
k=ifelse(C>1,c(0:(C-1)),0)
P0[j]=sum(choose(A,k)*pj[j]^k*(1-pj[j])^(A-k... |
d6034a55eeee691264f83157161e2cc2e20056b6 | da627ef8abba2774be316152556d871160e1ac15 | /man/get_HPDI.Rd | d2abbb46c4aede2bf9ccff03afbb146e0b5c36d6 | [] | no_license | fditraglia/binivdoctr | fae27a133659a0378f229aa5f1b34a7d226a33f4 | 907482963e82a95fff5a7672a422610f61a3db9c | refs/heads/master | 2020-04-12T08:24:40.322701 | 2016-08-23T17:16:04 | 2016-08-23T17:16:04 | 52,390,880 | 0 | 2 | null | 2017-04-29T19:57:49 | 2016-02-23T20:53:29 | R | UTF-8 | R | false | true | 226 | rd | get_HPDI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary.R
\name{get_HPDI}
\alias{get_HPDI}
\title{Title}
\usage{
get_HPDI(draws, level = 0.9)
}
\arguments{
\item{level}{}
}
\description{
Title
}
|
5a9497bcb22be400201536ea685acc1cfc0a6be4 | 54a599da54a7083329e805c0d8eda2987c6a94a0 | /mkare_reference_5_10_2019.R | 6ce5c310f5789126259e7f670fc3185535bdca56 | [] | no_license | xiaodongy86/Tomato_methylome | ac2ca92e4e0974f8352554ba6003d89ffe42ba3c | f227ed50bf8482eae16adbd94f1f16393ac0cc39 | refs/heads/master | 2021-06-21T21:02:46.620743 | 2021-01-20T14:48:04 | 2021-01-20T14:48:04 | 178,910,187 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,033 | r | mkare_reference_5_10_2019.R | #####################################################################################
# all four wt as reference
#####################################################################################
ref_all_four_wt_CG <- poolFromGRlist(list(WT_CG$WT1_P1, WT_CG$WT1_P2, WT_CG$WT2_P1,WT_CG$WT2_P2), stat... |
c4d2cfd51ed7eac1ff6147c453ecaa99392e8bae | 1176e185df07a19c00d0baf112fa11f2f8a8f5f2 | /R/RV_Cor.R | 93750a921bee90d57c7ea549c25cbaa0faa97491 | [] | no_license | Pintademijote/multipack | 142cba0c0376a5779e06a8dd66762bf6e497bb9e | e9ff3c6695ac794cfc7bf681a109e03740d77f0f | refs/heads/master | 2020-05-02T14:44:20.301357 | 2019-09-23T11:54:47 | 2019-09-23T11:54:47 | 178,019,296 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,683 | r | RV_Cor.R | #' Computed the RV coefficient between the metrics.
#'
#' `RV_COR()` Return matrix of correlation between all metrics.
#'
#' This function is meant to be used with the tab generated by formultivariate()
#' The RV coefficient is meant to compute the correlation between two tabs.
#' In this case metric's values at each s... |
48f4d5de4583a7fc1c5988f213d873a4ad3525c7 | fff46d4e1384d111c8aab667e2cba107d9212769 | /plot2.R | d9b97ef1d8a63fdbe0089aeb19a5fc86405da1da | [] | no_license | iioanamar/ExData_Plotting1 | f488c82f36f3ecbe2566f15e053d885a66c926f7 | 502a3cb78cdac5721d0fa744e158eb4b5fc98549 | refs/heads/master | 2020-04-09T12:01:06.188383 | 2018-12-04T12:39:45 | 2018-12-04T12:39:45 | 160,332,630 | 0 | 0 | null | 2018-12-04T09:31:29 | 2018-12-04T09:31:28 | null | UTF-8 | R | false | false | 642 | r | plot2.R | ## Exploratory Data Analysis
## Course Project 1
## Code for Plot 2
# Reading the data
data <- read.delim("household_power_consumption.txt", header = TRUE, sep = ";",
na.strings = "?")
# Subsetting and converting plot data
power <- data[data$Date == "1/2/2007" | data$Date == "2/2/2007", ]
po... |
12c7bd073f7f623b869a3904f197bc94e7db6b75 | 75f792fc99722753a76b6e428ba30a591f2d5368 | /man/small_meta.Rd | 4472a8c88a34bf2c78b782eda7fcdf3bd964fd59 | [
"MIT"
] | permissive | jtmccr1/HIVEr | 9739c7883ec6e8f1071a537517a62b7288f553cd | 61601afa9f173fe2ca033b0a0028b109f7b90de6 | refs/heads/master | 2021-09-20T03:25:25.257483 | 2018-08-02T15:15:31 | 2018-08-02T15:15:31 | 109,002,994 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,264 | rd | small_meta.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{small_meta}
\alias{small_meta}
\title{A small meta data file}
\format{A data frame with 20 rows and 17 variables:
\describe{
\item{HOUSE_ID}{House identifier of sample}
\item{ENROLLID}{personal identifier}
\i... |
7e665a40d62c299bffeef63e8167c0466aab9602 | 9818480ac9ade5cf6a7fbe037e2c9cb6d4b87bb8 | /huge_matrix.R | 1f5018a9053f58bdbf539540b93d4ce159dde1f0 | [] | no_license | sseemayer/R-hacks | 0531d79c37559c3dad9eb44dbd938960c366360d | 80ae420f888c3c5953455f1fdedf27b3b8f557a9 | refs/heads/master | 2020-03-29T23:19:10.319560 | 2012-09-06T08:45:28 | 2012-09-06T08:45:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,309 | r | huge_matrix.R |
# Data structure HugeMatrix for storing a matrix with more elements than .Machine$integer.max
# by splitting the matrix into multiple matrices by columns
setClass("HugeMatrix", representation( data="list", matrix.cols="integer", ncol="integer", nrow="integer" ))
setMethod("initialize", "HugeMatrix", function(.Object... |
18339ed0203f9754d4b62c6134b174af8f046735 | 38f657868816ded08bfe661bf27a529c59f8e6cc | /q2/g.R | 1e5fdddae1fb2b7c0451ecb0d4eefb7a5daf35cb | [] | no_license | AntonioDelleCanne/stats_r_coursework | d75ab9351136d7be71519f491df2b47f399b2c4a | 094f81455c8e3feceeb0f5cadf0efcc30595a8ec | refs/heads/master | 2023-01-23T03:44:52.632394 | 2020-12-12T15:08:59 | 2020-12-12T15:08:59 | 318,884,358 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,191 | r | g.R | # Read the data
data <- read.csv("q2/DartPoints.csv", header = TRUE, row.names = 'X')
# Remove NA rows
data <- data[complete.cases(data),]
colnames(data)[c(-8,-1)]
# Define the dependent variable
Y <- "Weight"
# Define the combinations of covariate
X <- colnames(data)[c(-8,-1)]
# specifications of ... |
582c290f7e50e35ea8e44e4af855a433581a4d5a | db8a43ce4e4d58a57a0a2bb29b63acf6c30b5092 | /R/ML_FDAModel.R | 1d31910b7570f637bef411a57b8d68738ba40b95 | [] | no_license | zhaoxiaohe/MachineShop | ca6fa7d6e7f00ac7d6f8522d50faeec2f4735b2d | 85b1ff6a9d7df425d041289856861e75ce596621 | refs/heads/master | 2020-04-11T06:30:08.059577 | 2018-12-13T00:45:43 | 2018-12-13T00:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,915 | r | ML_FDAModel.R | #' Flexible and Penalized Discriminant Analysis Models
#'
#' Performs flexible discriminant analysis.
#'
#' @rdname FDAModel
#'
#' @param theta optional matrix of class scores, typically with number of
#' columns less than one minus the number of classes.
#' @param dimension dimension of the discriminant subspace, le... |
6aeec00d410b6139de806e618ddd9c635d5f9679 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/distrMod/examples/SelfNorm.Rd.R | 7d6c0b54e270306d118f8f0ef19a63f8e9123afc | [] | 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 | 235 | r | SelfNorm.Rd.R | library(distrMod)
### Name: SelfNorm
### Title: Generating function for SelfNorm-class
### Aliases: SelfNorm
### Keywords: robust
### ** Examples
SelfNorm()
## The function is currently defined as
function(){ new("SelfNorm") }
|
caacbf373a90bb3b58b956bc25e05a3878afed54 | d835aeaf4cacac3ccf8b9f76da1ae89f4eabc469 | /RandomForest_Radar_Regression_EBC.r | 14480c3b4e67861c8ce33bd6af059bc82886ea6f | [] | no_license | NewForestsUS/R-Code | ce3cca43a979c4638649c548d5eb5a68765e6acf | b06340f073c44d9921409dc28033f1d7f393b8c3 | refs/heads/master | 2020-04-04T20:45:47.780074 | 2020-02-18T18:17:39 | 2020-02-18T18:17:39 | 156,260,112 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,645 | r | RandomForest_Radar_Regression_EBC.r | ###THis script will create a .tif file of aboveground Biomass after using a random forest approach
##and Principle Compenents that have been predetermined
library(sp)
library(raster)
library(maptools)
library(rgdal)
library(fields)
library(dplyr)
library(odbc)
library(DBI)
library(RSQLite)
library(caret)
l... |
95a76e545ffb26dbf8fda490f92ca6566f6b5dec | 9576704cf2bac865ba7ae90ae0ca66a6bab13ffd | /CancerPredictionModel.R | d92eade1c6007d4532d25a22e0817189c24eeee3 | [] | no_license | 23ArmaanT/Machine-Learning-Projects | 5142e7caf711be5b3d531733c18a37951b06480a | f1b4c35ffb2564fd9918544ea0a4c6f4831e207e | refs/heads/master | 2023-03-07T15:52:21.386887 | 2021-02-22T16:59:27 | 2021-02-22T16:59:27 | 281,810,769 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,359 | r | CancerPredictionModel.R | library(caret)
library(corrplot)
library(ggplot2)
library(rpart)
library(kknn)
library(hydroGOF)
library(cowplot)
library(caret)
library(randomForest)
library(e1071)
originalCancerData = read.csv("cData.csv")
originalCancerData= originalCancerData[,c(-1,-2,-34)]#A lot of NA's in both coloumns 2 and 34. id has low cor... |
09a430e331a2f01bfc46ba8cf46eaddc3310a115 | 4c29b2e8cd6d5d12889958a408ecde2498a25eba | /R/best_binomial_bandit.R | 5ae5a930609f9b4cfb7beaab03b8736664ad961a | [] | no_license | ssimeonov/bandit-1 | f5fc38cc2c4e97dca8039b65fba89dddc8a76422 | 485deccebf06b77d68d00df45b877dc28da45e33 | refs/heads/master | 2021-01-18T00:22:34.032009 | 2012-08-23T22:07:22 | 2012-08-23T22:07:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 968 | r | best_binomial_bandit.R | # estimate the Bayesian posterior probability of each alternative being the best binomial bandit
best_binomial_bandit <-
function(x, n) {
k <- length(x)
ans <- numeric(k)
for (i in (1:k)) {
indx <- (1:k)[-i]
f <- function(z) {
r <- dbeta(z, x[i]+1, n[i]-x[i]+1)
for (j in indx) {
r <- r * pbeta(z, x[j]+... |
c65598557ecb241c8351ed0043554f2cbd612870 | 9ddd0a7857cfbf406c1508d91934a9269b0aacae | /1.characteristics/PG_HC_group_comparisons.R | a6fb4563f30df302144d0bb7bda99770c2ef0063 | [
"MIT"
] | permissive | CGR-UBC/gambling-sibling-study | 2b13a922a9be76af0a5dea46e532359d0100bee7 | 076cfc037e0ff75d35d033e012964e08a1155c4b | refs/heads/master | 2020-06-05T02:56:37.702135 | 2019-06-26T20:44:13 | 2019-06-26T20:44:13 | 192,289,746 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,652 | r | PG_HC_group_comparisons.R | library(pastecs)
rfromwilcox<-function(wilcoxModel,N){
z<-qnorm(wilcoxModel$p.value/2)
r<-z/sqrt(N)
cat(wilcoxModel$data.name,"Effect size, r = " , r)
}
setwd("~/Data/github/SIBSTUDY_slots/1.characteristics")
data_all=read.csv("data_for_R_new.csv")
data<-subset(data_all, GDHC==1)
data$Group <- ifelse(substr(... |
4527581c90a81054fdcd0048f51bb2a06981a7a2 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.management/R/appregistry_service.R | b2d5174e1a1adca17bf29ffe71766646d5417c9b | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | false | 8,371 | r | appregistry_service.R | # This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common new_handlers new_service set_config merge_config
NULL
#' AWS Service Catalog App Registry
#'
#' @description
#' Amazon Web Services Service Catalog AppRegistry enables organizations to
#' understand the application context of th... |
577cdf6e4c684e06ade8f3d7981fe30f0e990aad | af84f4fb4bd7c41432482cce6170da3e6af3a130 | /epi/SIR_cyclical_mitigation.R | f6aaa35152cdb342cffc6c413e356ab7a54948c9 | [] | no_license | tkmckenzie/pan | a65fc375eea8171c9b64f8360c5cf7b152830b7d | 5337e4c1d09f06f2043551e1dd1ec734aab75b49 | refs/heads/master | 2023-01-09T11:54:29.636007 | 2022-12-21T22:26:58 | 2022-12-21T22:26:58 | 156,240,022 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 977 | r | SIR_cyclical_mitigation.R | library(deSolve)
library(ggplot2)
setwd("~/git/pan/epi")
rm(list = ls())
# SIR model:
# dS / dt = -alpha * S * I
# dI / dt = alpha * S * I - beta * I
# dR / dt = beta * I
# Parameters
alpha = 0.05
beta = 0.01
gamma = 0.001
I.0 = 0.01
# Setting up model
parameters = c(alpha = alpha, beta = beta, gamma = gamma)
state... |
a76ac341b4067581b8a80ab5f97ed37df9d78398 | be5d16a8bfbd1f721d20bfc1596ab6ebca674f48 | /ecopackage/R/firmbeta.R | a405c8f518ba6f74b27a803682977195822c679c | [] | no_license | gabriellecy/ecopackage | 24e162535517d1a2004d6a808a772e2f7ee3713f | a7b0273dc7a17d4ab7b88ad8a393244b1f9b2f8d | refs/heads/main | 2023-03-18T17:18:18.482087 | 2021-03-13T23:52:50 | 2021-03-13T23:52:50 | 347,504,248 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 177 | r | firmbeta.R | #Financial functions - firmbeta
firmbeta <- fuction(equity,debt, equitybeta, debtbeta){
value = equity + debt
return((equity/value)*equitybeta + (debt/value)*debtbeta)
}
|
e6db40d5c32afffbb2f332627f8fcea35d6e4cb7 | 87df222e6e4b2280c6de03895be912d95e45cd52 | /scripts/plot-lr04.R | b25fdfc1e7e6ac9ae5d992b0dd612923f91d7434 | [] | no_license | robynfsj/lr04 | a392736cefe882461cdc9ced38480ed743ba9fae | 6677aeaa5967d717250183a067751550c5e87d5a | refs/heads/master | 2023-01-11T01:52:21.211768 | 2020-11-13T20:36:53 | 2020-11-13T20:36:53 | 297,066,536 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,120 | r | plot-lr04.R | # Set up ------------------------------------------------------------------
library(ggplot2)
# Read and check data -----------------------------------------------------
lr04 <- read.delim("./data/lr04.txt")
str(lr04)
head(lr04)
# Basic plot --------------------------------------------------------------
ggplot(... |
67c5294bae01f20f0c790d5a9438e45bbde0ebdb | ac4c1e700063a3cdc2d96047724c4a14d0014c04 | /man/optimisation_f.Rd | d217bf42d3ccb13492fe48a0213ffc44a76b84ef | [] | no_license | dmkant/outilsechant | 9b5557ceaeaa84a0c9d6a765c106dff6980f6c5b | 77c07f1cb876ae4bb71461b5c33b3e9a2fe98fda | refs/heads/master | 2021-08-07T14:22:02.320094 | 2020-06-25T15:01:17 | 2020-06-25T15:01:17 | 194,061,815 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 909 | rd | optimisation_f.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/optimisation_f.R
\name{optimisation_f}
\alias{optimisation_f}
\title{Optimisation de faisable}
\usage{
optimisation_f(varselect, data, constr, taille)
}
\arguments{
\item{varselect}{variable utilise pour diviser la tableau de quota}
\item{da... |
8c2f1cdb8b8c7ceddb764aeea11ce5012d70c25a | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /understandBPMN/man/cross_connectivity.Rd | cc49e6ea1d9abffc7494409b989aefa18eeb689b | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,622 | rd | cross_connectivity.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metrics.R
\name{cross_connectivity}
\alias{cross_connectivity}
\title{Cross Connectivity}
\usage{
cross_connectivity(file_path, signavio = FALSE,
path_log_already_created = FALSE, generate_new_path_log = FALSE,
time_to_generate_pa... |
1851ea621dbf83dd3c9b8cebdccc3b1f9ce3a931 | e2f1fd23f8209eefa27c8392b29e2a8b1d704128 | /man/m.test.Rd | 1b5c4d7f806ab242a83bf22a564924b3551593c5 | [] | no_license | KirtOnthank/MTest | 7dda55bd3373529882cae4636cd34e9e73d78fb9 | 7de708c8b8f4a7466d144c3875aebfe4aa5d478e | refs/heads/master | 2022-05-22T04:15:19.978580 | 2020-05-01T23:44:29 | 2020-05-01T23:44:29 | 260,345,418 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 409 | rd | m.test.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Mtest.R
\name{m.test}
\alias{m.test}
\title{M-test}
\usage{
m.test(X1, X2, b = 100)
}
\arguments{
\item{X1}{A point pattern object (ppp)}
\item{X2}{Another point pattern object (ppp)}
\item{b}{number of bootstrap replicates to generate rand... |
a47e23fb49db0823e2eb719657cc0660d3a570f8 | 8dc4df93d88fe8b504006eefc4e35ee66e29e96e | /learn-R/input-output/step2-expr.R | dbb4e58d646fe996eeba1ed99ee05df7610f147e | [] | no_license | NailouZhang/5years | dd574e54aa5d23b124a48c8aa4890e1f46fc7669 | 099e77bc244ff6b3c080b734956fb125d2f872a5 | refs/heads/master | 2022-03-01T18:17:42.818340 | 2019-10-28T03:18:56 | 2019-10-28T03:18:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,233 | r | step2-expr.R | rm(list=ls())
b=read.table('GSE17215_series_matrix.txt.gz',##读入该文件
comment.char = '!',header =T,##有!的行不被读入,有表头
sep = '\t')##以制表符分隔
rownames(b)=b[,1]##以b的第一列为行名
b=b[,-1]##将b的第一列去掉
b=log2(b)##对b中数据求log2
mean(as.numeric(b[1,]))##将b第一行数据框类型转换为数值型,再求第一行平均值
mean(as.numeric(b[2,]))##将b第二行数据框类型转换为数值型,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.