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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e033462e31782d612e32cd9b6d92178973cb1203 | 32da81b5bff3273a3eb50375203479baf721e570 | /Energy_emiss_accounting.R | d99ad9547a3265fc0941eba679af4917a01f8b8b | [] | no_license | labyseson/Waste-LCA | a98dca8faddf68f5b51af503cf831dffa8c26bd9 | dcf32905231627a447518350281da7e2a699b39f | refs/heads/master | 2021-07-13T21:30:56.432761 | 2020-08-10T18:47:23 | 2020-08-10T18:47:23 | 187,103,631 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 198,875 | r | Energy_emiss_accounting.R | #Author: Bo Liu, UCLA
#County-level calculation
waste <- waste_all[c(4,5,6,15,23,24)]
colnames(waste)[4] <- "Waste_type"
coefficients <- merge(coefficients, tech)
waste_1 <- merge(waste, coefficients)
waste_2 <- merge(waste_1, state_GHG_ef)
#Collection & Transportation_1 (energy - GJ, emiss - kg CO2e)
waste... |
b384fbf4232b55f5be0d24fcf09a528be940db6d | 645e6f2cf029b8ed0a497d7bd19c443b7c54ba8d | /Locations_App/ui.R | bce35270455ca5f5952c91f22945f3c56a0141a6 | [] | no_license | ismorozov/minor_project | 9e4078dafada41530e623b7ed5720360fcd1c61c | 14326efacc15ba72c2b8b2d252ea90d09dc74ae0 | refs/heads/master | 2021-01-19T13:03:26.055701 | 2017-05-23T18:42:00 | 2017-05-23T18:42:00 | 82,376,201 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 888 | r | ui.R | #
# This is the user-interface definition 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)
# Load the ggplot2 package which provides
# the 'mpg' dataset.
library(ggpl... |
acfc2c72dacee5eaac491272d22e59a21aba2b68 | 1e732ce310d34a91d011ec609769fccbf9fb1160 | /cachematrix.R | dcf8011f4696950ed6924055d03cc845feb4d89c | [] | no_license | jamesasselin/ProgrammingAssignment2 | 0755e2f5f233aea1f13e2582f47f557cefb22261 | e1042c626c8967efcc526dfa2c3d63126a685e63 | refs/heads/master | 2021-01-17T21:51:20.032987 | 2016-06-07T04:18:40 | 2016-06-07T04:18:40 | 60,581,454 | 0 | 0 | null | 2016-06-07T04:12:06 | 2016-06-07T04:12:06 | null | UTF-8 | R | false | false | 876 | r | cachematrix.R | ## Functions work to calculate the inverse of matricies
## This function creates a special "matrix" object that can cache its inverse
makeCacheMatrix <- function(x = matrix()) {
i <- NULL
set<- function(y){
x <<- y
i <<-NULL
}
get <- function() x
seti <- function(ii) i <<- ii
geti <- f... |
e9254c76937dfd9823e1bdccdca4f0e0ddbb9a5e | 68fe900eda00733f3a20312556dbf7e246b277ed | /Introduction to linear regression/Ex7_20.R | 969f951a15108a50a7510709a165ff54880f4d74 | [] | no_license | thesaltree/TBC_R | 299e6f697294c1ddd51f128cfc46627a9ee4a178 | e3f35a7209adf77f1eb75421e5f2e80b105ade83 | refs/heads/master | 2021-07-14T08:40:57.482143 | 2019-10-15T20:58:40 | 2019-10-15T20:58:40 | 215,079,409 | 0 | 1 | null | 2023-01-02T18:37:52 | 2019-10-14T15:29:37 | R | UTF-8 | R | false | false | 280 | r | Ex7_20.R | ##Section: 7.2.5 Page No.:346
##from the least-square line representation: aid=24.32758-0.0431*family-income
family_income_unit=1000000/1000
intercept=24.32758
b1=-0.0431
aid=intercept+b1*family_income_unit
aid
cat("The aid of another freshman student is",aid*1000,"$") |
93b3747d173a9de30236717f1be0d61f9fd6b582 | 6d8572fb50a9ba39e6372ff0de70aac877d50ec7 | /R/plot_pc_simple_complex.R | 5ab7c2e6ced16d394c9d27dad647bef71ac4b5ee | [] | 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 | false | 2,086 | r | plot_pc_simple_complex.R | #' Plot pc, simple and complex
#'
#' Plots the input variables.
#'
#' @param chamber_Totalpc_using_simple_Delta_for_gm xxxPARAMxxx
#' @param chamber_Totalpc_using_simple_Delta_for_modeling xxxPARAMxxx
#' @param chamber_Totalpc_using_complex_Delta_no_decarboxylation xxxPARAMxxx
#' @param chamber_Totalpc_using_complex_De... |
c13f1b6c7de1e77b0cfa21a5be2dde0ba073f168 | fa1d5ee8e2c1d497ee6a20bb0a00d6224bfc8d71 | /Week4/plot2.R | 428976a41fa74b6e899abd8a5661a82e75a6214d | [] | no_license | remembrance1/Coursera_Exploratory-Data-Analysis | 57a4c80c70492c10e92c4f7812aac40edf25d398 | b4f16038a26c81e15c45690915f573b4b117a858 | refs/heads/master | 2020-03-24T04:02:58.228211 | 2018-08-04T04:38:36 | 2018-08-04T04:38:36 | 142,442,218 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 446 | r | plot2.R | #Have total emissions from PM2.5 decreased in the Baltimore City,
#Maryland (fips == "24510"\color{red}{\verb|fips == "24510"|}fips=="24510") from 1999 to 2008?
NEIsub <- subset(NEI, fips == "24510") #baltimore
totals1 <- aggregate(Emissions ~ year, NEIsub, sum) #summing emissions by SCC and year
barplot(totals1$Emiss... |
5f15af23b31d6876189ed28992323442af1af7d0 | 465612160cef5a59e19057c282b10b1e23a15357 | /scripts/evictions_boundaries.R | cf58fd2fa590f1fc47ff98ea036b40b2c0e6299d | [] | no_license | amykouch/sc-evictions | 7d9a2e35990066fe01cb16ffa25be0c5e9471c9c | cf450a62f9d1dfa4d0d7476765143649b0d20134 | refs/heads/master | 2020-12-23T07:28:24.512694 | 2020-01-31T01:46:45 | 2020-01-31T01:46:45 | 237,083,537 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 767 | r | evictions_boundaries.R | # Description
# Joining cities evictions and boundaries data in South Carolina
# Author: Amy Kouch
# Version: 2020-01-30
# Libraries
library(tidyverse)
library(vroom)
library(utils)
library(sf)
# Parameters
# Input files from data
file_evictions <- here::here("data/evictions.rds")
file_boundaries <- here::here("dat... |
5bf0ffc26f173be3a4daa25b6427359be00e225f | 87115a53263db358e2b3e3bea6651763b3728624 | /heatmap/cluster03.R | 0ef0b922ac6a146a3cf1549f75efc710cf9e01a7 | [] | no_license | liuxm0239/demo_R | e762f841053af972d99792b9a8c20d46311ee754 | 79814540b9bf85fa52c7cfa398bd2aab6417bfb4 | refs/heads/master | 2020-03-20T21:40:19.751634 | 2018-08-29T01:12:06 | 2018-08-29T01:12:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 685 | r | cluster03.R | #Usage: cat cluster02.R | R --slave --args <output prefix> < file.lst >
library("gplots")
args <- commandArgs(T)
a<-read.table(args[1],header=T, row.names=1, sep="\t")
#a<-read.table(args[5],header=T, sep="\t")
#a<-a[,-1]
#a<-a[,-1]
b<-t(a)
data<-as.matrix(b)
colbar<-c(rep("green",50),rep("yellow",50))
pdf(paste(args... |
144d38dee125a0470a31a1679f6ada65ae368b11 | a73f54821b6cee9f343e053b775ce5f6d6ac19a5 | /analyses/ELgraphs.R | 555e28eb69a408209910e5a82222981a0ad58045 | [] | no_license | lizzieinvancouver/heattolerance | 94d6b6280ce7076ffbb66b18e9ef1ac2d5d43908 | 6847234de9b498cafd68636f95b9d06a9b6f6738 | refs/heads/master | 2021-07-11T19:23:33.346418 | 2020-10-16T18:54:25 | 2020-10-16T18:54:25 | 73,869,765 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,897 | r | ELgraphs.R | ## Started 27 January 2017 ##
## By Nicole ##
##EL stage##
## general housekeeping ##
rm(list=ls())
options(stringsAsFactors = FALSE)
## libraries
library(ggplot2)
require(plyr); require(dplyr); require(tidyr)
# Set working directory:
if(length(grep("Lizzie", getwd())>0)) { setwd("~/Documents/git/projects/vinmi... |
138b5fd3142df88ecaa79957c906f7fa7c85b299 | 5ca8793fd39a818675306047c861e8c32965022a | /website/Old_source/Function/man/index2CountryFeature.Rd | 9491f8d9c40c86d4f4f95b76f751f178a858725a | [] | no_license | SOCR/TCIU | a0dfac068670fa63703b8e9a48236883ec167e06 | 85076ae775a32d89676679cfa6050e683da44d1d | refs/heads/master | 2023-03-09T01:28:28.366831 | 2023-02-27T20:27:26 | 2023-02-27T20:27:26 | 188,899,192 | 8 | 5 | null | 2022-11-12T01:56:25 | 2019-05-27T19:33:38 | R | UTF-8 | R | false | true | 744 | rd | index2CountryFeature.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/index2CountryFeature.R
\name{index2CountryFeature}
\alias{index2CountryFeature}
\title{index2CountryFeature}
\usage{
index2CountryFeature(indx = 1)
}
\arguments{
\item{indx}{Indicate the feature you wish to see after transfering to 1... |
0a9e3ed9d09dcb86053382975dd7b9621f5b0bd9 | 940047d7eb38f464e0ae201a57dbf0bf49aef839 | /042_Gompertz.R | 8cbe8baab34ab647a09880cf842ced61e3a66eb6 | [] | no_license | mvoigt87/ICP2017_SU1 | da7d8717548f580f823c8b7d2fbf1d2d44316c53 | 18c0379f7a1653077dc7a97c5241e148764be333 | refs/heads/master | 2021-01-01T04:47:22.963892 | 2018-08-24T12:07:21 | 2018-08-24T12:07:21 | 97,245,349 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,705 | r | 042_Gompertz.R | ### Playing with the Gompertz model
#### Fit Gompertz model with log income
## 1) Parametric survival model - log income
GOMP.MALE.A.C <- flexsurvreg(Surv(time=entry.age.r,
time2=exit.age,
event=event) ~ log(hhincome), data = subset(pen.coupl, SEXO... |
f9e45ff674a41e6b1537991eeeea9238c4485d40 | 965fd77fcb7c7bcc179af685c6f8bec101f33fc1 | /man/heightMatcher.Rd | 3a1fb6d87df4d29ab5c9db3ecd868a3aeb560a30 | [] | no_license | DrRoad/spsComps | f4df3e9b175b020a9f2214fc82b61a4c8e455165 | 39bcbb7f97b4b886b262aa8bee7f2a8818699307 | refs/heads/master | 2023-03-20T11:24:44.053001 | 2021-03-12T08:07:33 | 2021-03-12T08:07:33 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,657 | rd | heightMatcher.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spsUIcollections.R
\name{heightMatcher}
\alias{heightMatcher}
\title{Match height of one element to the other element}
\usage{
heightMatcher(div1, div2, isID = TRUE)
}
\arguments{
\item{div1}{element ID, or jquery selector if \code{isID = FAL... |
3bb3690069403a941cf7c1875166cbfd3abbad59 | e7d6cb14f42e01e0d9255717f851bc926c440700 | /quantviews_functions.R | b15d29d18d65cf46a93079ff120d3746bc41c690 | [] | no_license | quantviews/quantviews_functions | b42984cbeadaafa8cb4803cb9b2b7ef174967094 | c6bf5ef62c69123e529a482aadf6a8d3932c7807 | refs/heads/master | 2021-05-04T01:01:37.708575 | 2016-10-17T06:44:03 | 2016-10-17T06:44:03 | 71,108,012 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 127 | r | quantviews_functions.R | # загрузить все функции
source('data_functions.R')
source('chart_functions.R')
source('theme_functions.R')
|
2b8948e0c4ada3bb916616e958f784899d627ae2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/popRange/examples/popRangeSim.Rd.R | a6f6ce0c5eaf2d43c2e755ba55093fa4e7d4cd99 | [] | 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 | 739 | r | popRangeSim.Rd.R | library(popRange)
### Name: popRangeSim
### Title: popRangeSim
### Aliases: popRangeSim
### ** Examples
## Example: In this scenario, we are simulating a 3x3 grid of populations for 50
## generations. Each population starts with 100 diploid individuals. Each individual
## has a 0.01 probability of migrating away... |
2b0c43e1d17b52f9bd951fddd9e226d4d2256cb7 | 20eccf57bfffc40c64eb9cd5ab36373fec502079 | /plot3.R | f79b7fe95ee1fda7ae891ccec055b4cccf6158ca | [] | no_license | mayakamay/Exploratory-data-analysis | 97fa9383541470d243f9e161014a5466cffec77e | e910a0b1d097980e3b88bad1b32b380aeac341fd | refs/heads/main | 2023-02-02T20:46:18.793483 | 2020-12-22T07:23:10 | 2020-12-22T07:23:10 | 320,191,494 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 460 | r | plot3.R | ##Plot 3
png('plot3.png')
plot(my_data$Datetime, as.numeric(my_data$Sub_metering_1), type='l',
xlab='',
ylab='Energy sub metering')
lines(my_data$Datetime,as.numeric(my_data$Sub_metering_2),type='l',col='red')
lines(my_data$Datetime,as.numeric(my_data$Sub_metering_3),type='l',col='blue')
legend("toprig... |
52bd663259c728b3a21db252bf9bb42e3e1944a6 | 54c86df6a27edb73185859342a331daac0cf9ce8 | /man/PADManuscript.Rd | c42a533d15633821c839b4116290b35c230bb6e3 | [] | no_license | alondhe/PADManuscript | c2ad60b91c63144aa8e3fa92604cc4dc1b2c0bb2 | 5be31718a7ae155104f900c6a7c9f6cdc4e96951 | refs/heads/master | 2020-04-04T15:21:20.281592 | 2018-12-07T06:11:58 | 2018-12-07T06:11:58 | 156,034,461 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 231 | rd | PADManuscript.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Package.R
\docType{package}
\name{PADManuscript}
\alias{PADManuscript}
\alias{PADManuscript-package}
\title{PADManuscript}
\description{
PADManuscript
}
|
dad2a1e2274fb033ea93d6714ac7c7a5b2746180 | 2340a0e540d04b2fb442e6606a35537b8d2fc1b1 | /ABTesting/NextPageReport.R | 1e7b5d154498d73dccc62cd7208c8897a87b7fe9 | [
"BSD-2-Clause"
] | permissive | CDC-Digital-Media/metRics | 11887f348c2de5cded15eec46eedb5b87fac5c24 | 2b1cf076a9dbb896e1fb6e04ff04a0dfff50c376 | refs/heads/master | 2021-01-17T15:55:37.719909 | 2017-03-31T19:49:28 | 2017-03-31T19:49:28 | 84,117,818 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,513 | r | NextPageReport.R | #########################################
############ Edit this block ############
#########################################
SCUser <- Sys.getenv("SC_ID")
SCToken <- Sys.getenv("SC_KEY")
currentABTestSegment <- "s570_573c5ef1e4b0becdc3b444ce"
#ABTestPage <- "CDC Newsroom | CDC Online Newsroom | CDC"
ABTestPage <- "P... |
82e426529999205a6f6ed1ce9698da2e22a3ef6c | 675992faf7562aa1bb2fc2e133012f0ac9ae1312 | /Linkages_tests/linkages.test.butt.R | 246377c97eb442e751a7a4441d3e4192cafd572e | [] | no_license | bcow/Miscellaneous | 6780908b91cf94074d0306dc7341532f0ba1e9e9 | 53c580082552f96a5c4de19b3e23297ac9da1d58 | refs/heads/master | 2021-01-20T11:46:40.565124 | 2018-11-20T01:22:03 | 2018-11-20T01:22:03 | 31,224,090 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,112 | r | linkages.test.butt.R | rm(list = setdiff(ls(), lsf.str())) # clear variables but not sourced functions
for (i in dbListConnections(PostgreSQL())) db.close(i) #close any stray database connections
require(PEcAn.all)
# PEcAn.data.atmosphere::
xml_file <- "/home/ecowdery/GitHub_Miscellaneous/PalEON/PalEON.pecan.xml"
# settings <- read.settin... |
574ebb248620b745bbdc751107642d8d8daf7749 | f204357131766869e52d4c28052096fe0b78e04b | /R/shiny_app.R | 5b1d44c76cbaa842d74d735ae750153070a9617d | [] | no_license | innuo/KidsWindFarmDesign | 95f342f2673d59f2a6f568be6cf0ffe9be5fb46d | 915753cc623d0badddc5150f052dcc5610fab053 | refs/heads/master | 2020-04-24T13:09:19.828075 | 2019-04-19T17:23:24 | 2019-04-19T17:23:24 | 171,977,683 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,221 | r | shiny_app.R |
#' @import shiny
start_game <- function(n_turbines = 15, n_maps = 5){
seed <<- 0
max_turbines <<- n_turbines
num_maps <<- n_maps
shiny::shinyApp(ui, server)
}
#' @import shiny
ui <- shiny::fluidPage(
shiny::tags$head(
shiny::tags$style(shiny::HTML("
pre, table.table {
... |
4f0b5e7f3e1cfc12f6b3994a42d7d8985a6d41ae | ff96ca0135a10973c4b58b0dc8ae68f0428886c2 | /runShiny.R | 77da68454159ac4ef90eaee8b2e17f473e2497f2 | [] | no_license | rkrtiwari/rAdvanced | 58930e383423f68b2fe2c75ff192fc1ac6bc241d | e3474fe759849612ed29b658a670c7e8e4835c21 | refs/heads/master | 2020-04-12T03:54:28.173536 | 2016-09-14T15:40:04 | 2016-09-14T15:40:04 | 63,211,309 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 63 | r | runShiny.R | ##install.packages("shiny")
library(shiny)
runApp("shinyApp/")
|
d64cc58e6a47542facaf62b05c7a9b22915e802a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/baseballDBR/examples/get_bbdb.Rd.R | 661849c71b3f64efcc91c17c67e26a0ab5ead957 | [] | 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 | 349 | r | get_bbdb.Rd.R | library(baseballDBR)
### Name: get_bbdb
### Title: Get an up to date copy of the Baseball Databank.
### Aliases: get_bbdb
### Keywords: data database, frame
### ** Examples
get_bbdb(table = "Batting")
## Not run:
##D get_bbdb(table = c("Batting", "Pitching"))
## End(Not run)
## Not run:
##D get_bbdb(downloadZi... |
2469c62ee9c81a96aadf19f22720cf8f37bcc989 | 3cd0ff8022a94c234c8a9990719d2dcf8e54dd24 | /Reg_II assign_7 logit Rcode.R | b326e1f6522b79c8599e5d30b13bed5f7ea02278 | [] | no_license | drewwint/ICPSR-Regression-II-Assignments | 325d97077575f3c06ac867e374991d867b52612c | 4f4b0d8f30f0cb88bee82153bd8a7054ea93d708 | refs/heads/master | 2022-11-13T00:26:21.603696 | 2020-07-13T17:03:01 | 2020-07-13T17:03:01 | 279,361,250 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,123 | r | Reg_II assign_7 logit Rcode.R | ###########################################################
### ICPSR 2020 Regressin II OPTIONAL logit assignment 7 ###
### Instructor: Tim McDaniels #############################
### Code by: Drew E Winters, PhD. #########################
###########################################################
library(hav... |
920910b319504e0333b7e83e93b4bcfdfc5345c4 | 87b999676e7470897a283a52f0fb119cca653cd9 | /man/iapsr-package.Rd | d3aef05f3084b8d6f88a163dc684f6a61da35e3c | [
"MIT"
] | permissive | jdtrat/iapsr | 52fb245824cd21c823e6bae736b6bfec1609d460 | a1159e28b24a5402820294221d8b7bca3e29da79 | refs/heads/master | 2023-08-12T01:35:28.388733 | 2021-09-27T16:20:12 | 2021-09-27T16:20:12 | 280,185,892 | 0 | 2 | NOASSERTION | 2020-07-27T21:28:37 | 2020-07-16T15:11:43 | HTML | UTF-8 | R | false | true | 334 | rd | iapsr-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/iapsr-package.R
\docType{package}
\name{iapsr-package}
\alias{iapsr}
\alias{iapsr-package}
\title{iapsr: IAPS Analysis Functions}
\description{
Package useful for analyzing images as part of the International Affective Picture System.
}
\keyw... |
dc1f72369613f9f2ab78cef9c679e055d4ad82d4 | 27ebfdade6e3ac5df274eb71a97430ba024d9db1 | /inst/scripts/extractSnpsFromVCFs/extractByDiagnosis.R | dea0dc8b7316d104c4c1e5e12465e5caa945db97 | [
"Apache-2.0"
] | permissive | PriceLab/TrenaProjectGBM | f00ba88798063746159592f9ccec8772840ba90b | 462071a16bdd6f44734c73b0700c55a0d6248143 | refs/heads/master | 2020-04-09T09:59:39.320154 | 2018-12-11T01:45:18 | 2018-12-11T01:45:18 | 160,253,735 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,955 | r | extractByDiagnosis.R | library(TrenaProjectIGAP)
library(RUnit)
library(GenomicRanges)
library(VariantAnnotation)
#----------------------------------------------------------------------------------------------------
igap <- TrenaProjectIGAP()
goi <- getSupportedGenes(igap)
load(system.file(package="TrenaProjectIGAP", "extdata", "misc", "tbl.... |
dfe8fdb1c4b896137adbf30eda0f93073244eb2e | e3025a6182fa8739447e505bb7e723fb26a10712 | /man/download_CGLS_data.Rd | 5050574ce094aacd0e2369389267ba796d2b6e8e | [] | no_license | xiaojiujiu999/RCGLS | 5b1861cf0a542d90ab54adf64a0c859307fc2b11 | 1d28bb35a00976676d3ab96da16a503d0242c9de | refs/heads/master | 2022-12-14T05:52:39.659229 | 2020-09-16T08:10:17 | 2020-09-16T08:10:17 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,457 | rd | download_CGLS_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RCGLS-functions.R
\name{download_CGLS_data}
\alias{download_CGLS_data}
\title{Download CGLS data}
\usage{
download_CGLS_data(username, password, timeframe, product, resolution, version)
}
\arguments{
\item{username}{Register at https://land.c... |
92ce650f05980928ff81a94bff73055a30af58a3 | e60ba3cec348b78509e1475f92e26dcec78ed362 | /man/get_stations.Rd | 186ac0792e3cf0edb3690ebe67fd2393d2c856bb | [] | no_license | benaldous/weathr | 4262c744c8f668310005522fa5f10e2f78c7233c | 631b4bfda35ff608bba5ab39a8fa9fe1d6e2b089 | refs/heads/master | 2022-12-17T13:43:15.564233 | 2020-09-14T16:08:48 | 2020-09-14T16:08:48 | 209,882,465 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 283 | rd | get_stations.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Get-Stations.R
\name{get_stations}
\alias{get_stations}
\title{Get List of Stations}
\usage{
get_stations(wmo = TRUE)
}
\arguments{
\item{wmo}{Limit to WMO stations}
}
\description{
Get List of Stations
}
|
da1ee2fcb8d10112686dd21ad2f51e3582268984 | e0e538679b6e29837839fdbc3d68b4550e256bb9 | /docs/autumn/example/reg-dummy.r | 738a3d51f8a90bca6fb1aef2d9d0859354782dba | [] | no_license | noboru-murata/sda | 69e3076da2f6c24faf754071702a5edfe317ced4 | 4f535c3749f6e60f641d6600e99a0e269d1fa4ea | refs/heads/master | 2020-09-24T20:23:36.224958 | 2020-09-22T07:17:54 | 2020-09-22T07:17:54 | 225,833,335 | 0 | 0 | null | 2019-12-05T08:20:51 | 2019-12-04T09:51:18 | null | UTF-8 | R | false | false | 1,607 | r | reg-dummy.r | ### 質的変数の取り扱い
### datasets::ToothGrowth による例
### モルモットにビタミンC/オレンジジュースを与えた場合の歯の成長度を記録したデータ
example("ToothGrowth") # helpに付いている例を使ってデータを図示する
## ビタミンCとオレンジジュースで成長度に違いは出るか?
est1 <- lm(len ~ supp, data=ToothGrowth)
summary(est1)
## suppVC(ビタミンC=1のダミー変数)の係数が負のため
## オレンジジュースの方が効果が高いと予想される
## しかしながら差(係数)は5%水準では有意でない
## 投与... |
b378de6be0c2adc851bf8ad047c0c3d9321b95a1 | 46eab7350f674de87ae4e84e7b3e8b0860463443 | /tests/testthat/test_cluster_regions.R | 766c87bd34422ea30cc48499c07b5be5e99b5e2c | [] | no_license | yangxhcaf/NINA | f2c028958973fc3aabd262fbab429dff3cfa3280 | f80b41590f83730f7fbb0bbc9592e9f8a8075067 | refs/heads/main | 2023-03-06T15:17:01.559313 | 2021-02-15T15:03:41 | 2021-02-15T15:03:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 304 | r | test_cluster_regions.R | context("Testing")
test_that("Succes", {
library(NINA)
env_clus = cluster_regions(env_data, n.clus = 5, plot = T)
expect_equal(class(env_clus), "data.frame")
expect_equal(nrow(env_clus), nrow(na.exclude(raster::getValues(env_data))))
expect_equal(length(unique(env_clus$cluster)), 5)
})
|
ef8e1a735dc7f62b700b1ab76f82c69b3a32230e | c836b2dd62c2c87a013301e33fe349c89562e764 | /MLExpResso/man/islands_locations.Rd | 9f5f429188779052e075ac322144936de5a377cc | [] | no_license | xulijunji/MLGenSig | 95f9acd4f2dabfd57cdd99ecb97ea48d72205261 | 4dfd28aaa85cbeb808c2367b486bbea80b093e29 | refs/heads/master | 2021-07-08T14:43:39.877920 | 2017-10-03T21:08:47 | 2017-10-03T21:08:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 388 | rd | islands_locations.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/islands_locations.R
\name{islands_locations}
\alias{islands_locations}
\title{Locations of CpG islands}
\usage{
islands_locations(data_A, data_B, condition)
}
\arguments{
\item{data_A}{d}
\item{data_B}{d}
\item{condition}{vector with condit... |
732c2fa91473304509bcc390db42072fc7a2a0ea | afd66b36eb652894c79ab964dd602e4970de6458 | /figures/paso_1_multiplicacion_normales_image.R | 334c4a90e3eb3a46b99f4f916a34e2bf17d5c598 | [] | no_license | glandfried/liaa2018 | 54202dcb2fb4aa1c2a37ead77fc6e6440abf92d8 | b926e9dd0ca4a49591ed903bdefc0c4dd247f1bf | refs/heads/master | 2020-12-26T21:25:29.740240 | 2020-06-08T22:08:33 | 2020-06-08T22:08:33 | 237,649,069 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,818 | r | paso_1_multiplicacion_normales_image.R | ###########################################
# Header
oldpar <- par(no.readonly = TRUE)
oldwd <- getwd()
this.dir <- dirname(parent.frame(2)$ofile)
nombre.R <- sys.frame(1)$ofile
require(tools)
nombre <- print(file_path_sans_ext(nombre.R))
pdf(paste0(nombre,".pdf"))
setwd(this.dir)
#setwd("~/gaming/materias/inferencia_... |
f39b033b52d2de0847a00982117ebcfd83b688f8 | 22dc322d68a8bfaecf3c57be5ec99a433f0a95a8 | /man/IPDNa.Rd | 18ade01191c5bb4d27395c8852b206e8fb0a153b | [] | no_license | cran/micemd | 19a1acfeb69da9e62d1639265a518ecebeb1f3a5 | e5adbe076babd9f6c9aa3926eaabdd73d76dd69f | refs/heads/master | 2023-06-09T21:04:43.211056 | 2023-06-01T11:00:04 | 2023-06-01T11:00:04 | 91,136,501 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,868 | rd | IPDNa.Rd | \name{IPDNa}
\alias{IPDNa}
\docType{data}
\title{
A simulated Individual Patient Data (IPD) meta-analysis with missing values.
}
\description{
This dataset is a simulated version of an IPD meta-analysis consisting of 28 studies focusing on risk factors in acute heart failure (GREAT, 2013). Each study includes a ... |
04d518649d0656b9889f974195ee31942ef85246 | b0831da803f0de5197a9a8584feae1009e03ec8b | /knn.R | 571afc3860fe8d438bea93e60c467400922499d0 | [] | no_license | bdewilde/kaggle_digit_recognizer | 86f1a74c7a93f517808e39d98b6bf6a7b2bd15e1 | b99b76688a5cf74aa3cc18bbcb4f10e3556e3c70 | refs/heads/master | 2016-09-05T23:31:26.821727 | 2012-10-27T17:29:41 | 2012-10-27T17:29:41 | 6,131,556 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,479 | r | knn.R | # Kaggle: Digit Recognizer
# https://www.kaggle.com/c/digit-recognizer/data
# produce submission file with optimal knn model
# load training and test datasets
train <- read.csv("train.csv", header=TRUE)
test <- read.csv("test.csv", header=TRUE)
##############################
# Weighted k-Nearest Neighbors
library(kkn... |
23d5f831d5eacfc999ebf4e9856de81c8c149583 | c9134ea0d1873a0a7a6157b30da2699ec4df9478 | /R/adfgConvert_StatAreas-LatLons.R | 14a4ecd40b51bc2714af1f8f757ed513dc2d6fd6 | [
"MIT"
] | permissive | wStockhausen/tcsamFisheryDataADFG | 2031a5302e4590dbf0eee10f065ea0610bf56010 | d1c9c72d0a54d32ed62cee1763376fa65f412ae2 | refs/heads/master | 2023-04-13T09:34:49.059459 | 2023-04-01T00:28:47 | 2023-04-01T00:28:47 | 180,407,629 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,095 | r | adfgConvert_StatAreas-LatLons.R | #'
#' @title Convert ADFG stat areas to lat-lon coordinates
#'
#' @description Function to convert ADFG stat areas to lat-lon coordinates.
#'
#' @param stat_areas - character vector of ADFG stat areas
#'
#' @return a tibble with columns "lat", "lon" representing the center of each stat area.
#'
#' @details ADFG stat ar... |
eb6825a42b03b412c5194cfca41fd2241b86380e | 23fde5f01c1f5c21a985da4b72b48319f848bab1 | /plot1.r | 657ed241678963467e569c3903bfd2acffeb4d4b | [] | no_license | andenzen/Exploratory-Data-Analysis-Week1-CourseProject | 45c3dffe87ac18f8af5bbb6d991d3154973c2d56 | 42ec6446337fa93ec7ac3a800c9a6b040b3ebdce | refs/heads/master | 2020-05-25T14:54:21.399711 | 2019-05-21T14:44:02 | 2019-05-21T14:44:02 | 187,856,578 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 922 | r | plot1.r | # Exploratory Data Analysis Week 1 Course Project
# Author: Antti Merisalo
# Date 2019-5-20
## PLEASE NOTE THAT IN ORDER FOR THIS CODE TO WORK YOU HAVE TO HAVE THE REQUIRED DATASET "household_power_consumption.txt" already in your working directory!
# Load in the required libraries for data manipulation
librar... |
f0a73476448618e5628cd8528375935f350627eb | 833bd5182389d0162730091d9da528c39b178ca7 | /R/gam.R | 46e1b635f1376edb5175988ccf63a3cfe618a0d3 | [] | no_license | alramadona/denfor | e26241b888ca0c29383d1e4f4cf7f39a8f08aebb | a69cb099d217b5bfee84a477746f8506333afd58 | refs/heads/master | 2021-04-03T04:46:37.724458 | 2016-07-19T07:12:12 | 2016-07-19T07:12:12 | 63,670,869 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,046 | r | gam.R | denforM <- function(templ3,rainl2,rainl3,month)
{
require(mgcv)
gam_train <- data.frame(dengue=(c(48,47,47,63,142,66,67,50,35,24,15,3,61,43,32,59,52,32,21,20,24,16,15,4,56,43,37,86,51,51,50,20,37,33,17,22,151,160,261,36,13,4,12,10,20,11,9,18,15,31,39,30,23,14,7,17,13,19,34,101,172,230,247,63,31,37,31,31,15,14,11,... |
d3ffeb32444d69865de8c904d6c7918dcb4158c3 | 2b554623ba47451026229abdf4269d2c49803c43 | /regression.R | 5fe2b6ad82441cb54fff38ec36075f849b83d3c3 | [] | no_license | sathishdhevarapalli/Airbnb-Occupancy-Rate-Academic-Project | e920cad41dbeee386da2220278d299de8090b235 | 888e2ce59a084a15de9524a6aab5d03d147564ea | refs/heads/master | 2022-07-20T06:34:16.181051 | 2020-05-22T19:53:11 | 2020-05-22T19:53:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 722 | r | regression.R |
data_set = read.csv ("C:\\Users\\Sathish Reddy\\Desktop\\Final QMB project\\Data_with_out-dummies.csv")
str(data_set)
hist(data_set$Occupancy_Rate)
hist(log(data_set$Occupancy_Rate))
names(data_set)
dim(data_set)
lm2 = lm (log(data_set$Occupancy_Rate)~Accommodates+Guests_included+Bathrooms+
Bedro... |
a022db613c80da086263c7ca06f89ff5c0077ef4 | 9a79c6d33fc2776d08c72e71c8ad91aa73df2e10 | /man/as.dataset-methods.Rd | c06761182f35bf5be1dda351fd0a063d002d1d26 | [] | no_license | giupo/rdataset | 8e6d1d645e1806bed616f2c9d34fdeac3af65129 | 7786febfadb60bf37343976a0d0d2a0286cca259 | refs/heads/master | 2021-06-07T19:17:06.802211 | 2021-05-14T15:29:23 | 2021-05-14T15:29:23 | 67,530,543 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 644 | rd | as.dataset-methods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/as_dataset.r
\docType{methods}
\name{as.dataset}
\alias{as.dataset}
\alias{as.dataset,list-method}
\alias{as.dataset,Dataset-method}
\alias{as.dataset,data.frame-method}
\title{Casts to a Dataset}
\usage{
as.dataset(x, ...)
\S4method{as.data... |
4e29d73fb6bbd9ead23f7c311a0c24dc6a4ceb82 | ce72162d2546955b5f65edb587436928481692e5 | /forecast.r | 0f07715cd9738f07adfe414da269cb18b1db5fd3 | [] | no_license | zackery65/ml-learn-r | 0f493b0e56586a638341c9e35692b8bb42c32262 | a6cf7045e3af0118945c320b6163dff83e437621 | refs/heads/master | 2021-01-23T02:54:56.202411 | 2017-05-08T06:16:04 | 2017-05-08T06:16:04 | 86,035,562 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,283 | r | forecast.r | library(xts)
library(forecast)
flag=data.frame(flag=c(1,2,3,4,5,6,7))
#预测函数
yuce<-function(ts,d,od,ss)
{
ts=ts[2]
ts2<-xts(ts,seq(as.POSIXct("2016-09-01"),len=nrow(ts),by="day"))
data.fit <- arima(ts2,order= od,seasonal= ss)
forecast <- forecast.Arima(data.fit,h=d,level=c(65))
dt=as.data.frame(forecast)
}
:... |
26c1993da08195a2b4071ada29799be63bd8ff9b | 8ad3594325900e5a4715ca4405cd765bc9958158 | /getting-started/exercises/exercises_05/exercise_05_06.R | ad95c8689b1a82cc99989176dda77d63be00ca4c | [
"Apache-2.0"
] | permissive | garciparedes/r-examples | 22806859c7c147a6d503f1b1223a5168b6fa9d76 | 0e0e18439ad859f97eafb27c5e7f77d33da28bc6 | refs/heads/master | 2021-01-25T16:59:16.020983 | 2019-05-21T10:26:27 | 2019-05-21T10:26:27 | 102,385,669 | 1 | 0 | Apache-2.0 | 2018-05-24T07:38:21 | 2017-09-04T17:27:27 | Jupyter Notebook | UTF-8 | R | false | false | 619 | r | exercise_05_06.R | #
# Title:
# Ejercicios Computación Estadística - Hoja 5 - Ejercicio 6
#
# Author:
# Sergio García Prado - garciparedes.me
#
# Date:
# April 2018
#
rm(list = ls())
#
# Apartado a)
#
(tabla.normal <- pnorm(t(matrix(seq(0.0, 4.49, by = 0.01), nrow = 10))))
#
# Apartado b)
#
alpha <- c(0.4, 0.25, 0.1, 0.05, ... |
539a45f3aee46f6fe2b41171ea4913c63d6046b9 | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /durmod/R/datagen.R | c5af5bbd5e6d4a756dca07f73468366b1e252c29 | [] | 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 | false | 4,969 | r | datagen.R | #' Generate example data
#'
#' @description
#' Generate a data table with example data
#' @details
#' The dataset simulates a labour market programme. People entering the dataset are without a job.
#'
#' They experience two hazards, i.e. probabilities per time period. They can either get a job and exit from
#' the data... |
ae1e68f3db0be54ea0c636aec0fcb19d85e6c6bb | c7ee9553b8b2e67bffeea0874db00dd1e7fdb541 | /R/pdSpecEst.R | 9c33ff7c8bf8d0f73aa9a8958dfa01e663caf80f | [] | no_license | cran/pdSpecEst | 2c80e79f2f5e6a64b2d017ccad56192519b3c3b8 | e8bc2a87aed91542fc804910f1556c7c24419fc1 | refs/heads/master | 2021-01-11T20:27:28.345499 | 2020-01-08T08:10:07 | 2020-01-08T08:10:07 | 79,120,097 | 7 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,945 | r | pdSpecEst.R | #' pdSpecEst: An Analysis Toolbox for Hermitian Positive Definite Matrices
#'
#' The \code{pdSpecEst} (\strong{p}ositive \strong{d}efinite \strong{Spec}tral \strong{Est}imation)
#' package provides data analysis tools for samples of symmetric or Hermitian positive definite matrices,
#' such as collections of positive d... |
aa4b9f2080ee3a0ce197999096c4db303ab9083c | 9d24829289bb8a48bf6ce4954e04bb7a4e2abc42 | /benchmarking_data_set/hypoxia/hallmark_pathway_hypoxia.R | f57ce872033c0dcfe78a98f99d4e935a6144229c | [] | no_license | michellemeier27/Semesterproject | 231a51168f104c5bce4e13ca1a4d4782a29301e8 | fe923ad7974e06a1b45271f466785e0465912c86 | refs/heads/master | 2022-12-09T13:13:02.536402 | 2020-08-31T15:57:58 | 2020-08-31T15:57:58 | 262,081,776 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,006 | r | hallmark_pathway_hypoxia.R | ##HALLMARKS PATHWAY SCORING
#loading libraries
library(singscore)
library(qusage)
library(ggplot2)
library(GSVA)
#loading all source files
source("/Users/michellemeier/Semesterproject/ARCHS4/singscore_function.R")
source("/Users/michellemeier/Semesterproject/ARCHS4/GSVA_function.R")
#not sure if i can just run this b... |
325b1b3dfe3d93981ae01f3c851a917f3606e0ad | fbcc0aee35bcd0ac8c866720ac95727ac831778a | /man/get_ch_data.Rd | 63cd6f9a608d70d220098aea379ff61027da4aaa | [] | no_license | laboshinl/cloudhistorianr | 18ec33f3da48f1dff3b95fe6561b93ca5b4e53df | 9727476339be921fb074a8788f083b3da93a41b7 | refs/heads/master | 2020-12-13T07:56:59.424178 | 2019-12-03T03:41:07 | 2019-12-03T03:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,134 | rd | get_ch_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_ch_data.R
\name{get_ch_data}
\alias{get_ch_data}
\title{get_ch_data Function:}
\usage{
get_ch_data(uri, token, start_time, end_time, tag_names, down_sample,
sys_guid)
}
\arguments{
\item{uri}{Cloud Historian Server Address}
\item{token... |
474ded296c59ba33bd7fd59942dfb9037e69a43f | 0d815aceefae3946543348f35e29527f3e231ee5 | /run_analysis.R | 8fe019f51d2bb0771daeca64b3ce832c4d09623f | [] | no_license | jmp2173/Samsung | 35bb9f93735e41b2c741623eb69270951d81758b | 3c22b2a592bdf5e53ba5715a13f15cadff8ba70a | refs/heads/master | 2020-06-04T09:18:50.648329 | 2014-05-25T19:28:12 | 2014-05-25T19:28:12 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,791 | r | run_analysis.R | ##read in datafiles
a <- read.table("subject_test.txt", sep = "")
b <- read.table("X_test.txt", sep = "")
c <- read.table("y_test.txt", sep = "")
d <- read.table("subject_train.txt", sep = "")
e <- read.table("X_train.txt", sep = "")
f <- read.table("y_train.txt", sep = "")
names <- read.table("activity_labels.txt", ... |
15f14c7dfce8a66e4b3716c751d6148a9570b4d8 | 1e48c563b2b9c723ed2a234df90f1dcd9338e6c3 | /tests/testthat/testDb.R | ef0f00269cdc9e627f8d47a9aaa420c089bd51ee | [] | no_license | bobjansen/mattR | e87f254d9bc54022a83ea4dc7eb1561528e3c956 | 9dfba5bd5436e0954b5dab77ba283f1adc94c13d | refs/heads/master | 2021-01-20T06:04:58.701879 | 2018-04-03T19:47:09 | 2018-04-03T19:49:20 | 101,481,868 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,866 | r | testDb.R | context("Database")
test_that("Connecting to the database works", {
con <- createConnection()
on.exit(DBI::dbDisconnect(con))
expect_true(is(con, "SQLiteConnection"))
})
test_that("Setting up the database works", {
con <- setupDatabase()
on.exit(DBI::dbDisconnect(con))
dbTables <- DBI::dbListTables(con)
... |
83bfdace3562aea7f3df3e24b65e2ba255e517cf | c750c1991c8d0ed18b174dc72f3014fd35e5bd8c | /pkgs/bayesm/man/rivDP.Rd | 351f9157a598add810c300e31ccbcef7bcb9347f | [] | no_license | vaguiar/EDAV_Project_2017 | 4b190e66fe7a6b4078cfe1b875bccd9b5a594b25 | 288ffaeec1cfdd873fe7439c0fa0c46a90a16a4f | refs/heads/base | 2021-01-23T02:39:36.272851 | 2017-05-01T23:21:03 | 2017-05-01T23:21:03 | 86,010,131 | 1 | 0 | null | 2017-05-01T23:43:04 | 2017-03-24T00:21:20 | HTML | UTF-8 | R | false | false | 6,553 | rd | rivDP.Rd | \name{rivDP}
\alias{rivDP}
\concept{Instrumental Variables}
\concept{Gibbs Sampler}
\concept{Dirichlet Process}
\concept{bayes}
\concept{endogeneity}
\concept{simultaneity}
\concept{MCMC}
\title{ Linear "IV" Model with DP Process Prior for Errors}
\description{
\code{rivDP} is a Gibbs Sampler for a linea... |
9ee442f5d19c003174ee9b12c0674d826e55d7fc | daeee1f6fa2191038550e6dde443d6554bce2c61 | /man/quantile.geometric.Rd | a67a10ff66ad2a581a7149bcc9b75aa13a89f617 | [
"MIT"
] | permissive | nfultz/distributions3 | a58f88146c81a70ab09e43c3f2762e8dcd42c52a | 945dcecd6488329127bc5585b6042cf9ec4dba81 | refs/heads/master | 2020-08-24T20:17:53.012731 | 2020-06-26T03:09:45 | 2020-06-26T03:09:45 | 216,898,661 | 0 | 0 | NOASSERTION | 2019-10-22T19:57:28 | 2019-10-22T19:57:27 | null | UTF-8 | R | false | true | 931 | rd | quantile.geometric.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Geometric.R
\name{quantile.Geometric}
\alias{quantile.Geometric}
\title{Determine quantiles of a Geometric distribution}
\usage{
\method{quantile}{Geometric}(d, p, ...)
}
\arguments{
\item{d}{A \code{Geometric} object created by a call to \co... |
df9f218be33d3ae504a23ceca014bbc8118a18b6 | 35706505050bf8d1d91929e5a3cfe4617684ecfd | /R/plotCCDF.R | a0b61aa8e04358a35b43e317e5a066bdd484a0b7 | [] | no_license | dgarcia-eu/DGarciaTools | f9564ce41e55fcf8d0b9eab5ec9b80c3c0a00054 | 4719f988119839f78affafb98b15901659ac4b2f | refs/heads/master | 2020-12-24T05:19:33.812712 | 2016-08-01T17:06:01 | 2016-08-01T17:06:01 | 64,681,373 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,426 | r | plotCCDF.R | #' Plot a Cumulative Complementary Density Function (CCDF)
#'
#' This function calculates and plots a CCDF with logarithmic axes by default
#' @param x numeric vector to calculate CCDF of
#' @param include.min whether to include a first point z=min(x)-1, which will have P(x>z)=1 (default FALSE)
#' @param counts whether... |
330fc9e6bc9d1bf125ddce9c7383f3a5a5415626 | 800486925da984567848f68fdcefa80118899164 | /R Files/NHL_Spread_Current.R | 81d297e6fd9d734514df9e622e251458aea865b9 | [] | no_license | kloudKlown/DFS-Website | e599e39fe45b07df18b1c3294afaf1c9ffadecc8 | 0a159d7404e48f0a76a5a0990b4cd337ffcadd56 | refs/heads/master | 2022-12-26T09:04:56.873353 | 2020-03-02T05:27:31 | 2020-03-02T05:27:31 | 213,518,931 | 0 | 0 | null | 2022-12-08T09:08:05 | 2019-10-08T01:12:53 | C# | UTF-8 | R | false | false | 31,880 | r | NHL_Spread_Current.R | library(Hmisc)
library(corrplot)
library(brnn)
library(h2o)
library(randomForest)
library(Matrix)
# library(xgboost)
library(stringdist)
library(varhandle)
library(tidyr)
require(devtools)
# library(mxnet)
setwd("D:/DFS Website/DFS/R Files")
source('NHL_GetDBData.R')
library(odbc)
con <- dbConnect(odbc(),
... |
4180628fd36faa7bab294d70ef56512833a27375 | 5be4d4f8d533ba3d3d7751b55d40ae2b58e58c95 | /BSMsimData_signal.R | cf256573e0e840258b949a4760f8af2e202f3c31 | [] | no_license | surf3s/Machine_Learning_Commentary | 50f9a8de083afb1bec53b112dafb7b3c9916f257 | eed236a26a03ebde303b7137656fd0fd0131a996 | refs/heads/main | 2023-08-20T00:36:02.647339 | 2021-10-12T11:38:44 | 2021-10-12T11:38:44 | 274,940,968 | 3 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 20,624 | r | BSMsimData_signal.R | # Code to simulate structured BSM data as multinomial RVs
# probability information from
#
# Domínguez-Rodrigo, Manuel, S. De Juana, Ana Belén Galan, and Mathieu Rodríguez.
# "A new protocol to differentiate trampling marks from butchery cut marks."
# Journal of Archaeological Science 36, no. 12 (2009): 2643-2654.
#... |
9132dc1388bbed397ee0472ba124171a3b560a44 | 3adf28de039a411cc6ea82bf3cb4e39b2f408d42 | /R/idahoans.R | 6b5a25f8d89c4897284708d82b77dfe2d19635f7 | [
"MIT"
] | permissive | JoeyStanley/joeysvowels | 980d5b4f896f6323a8ad97ed02e54dffde0633dd | c560e52d58ddb789e329c6ed68b50723b2123a5d | refs/heads/master | 2022-12-19T22:48:44.573636 | 2020-09-30T08:35:43 | 2020-09-30T08:35:43 | 284,346,307 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,035 | r | idahoans.R | #' Vowel formants from 11 Idahoans
#'
#' A dataset containing information on 1,100 vowel tokens produced by 10 people
#' from the state of Idaho in the United States. For each speaker, there are
#' ten tokens per canonical monophthong, randomly selected from a larger
#' dataset. Vowels are not preceding sonorants and n... |
ee049698273af4a1073f6600099e72da78b53290 | 3c25f49d8592847a741b9324b482eb769721d985 | /man/ACTmath.Rd | d7307de48c55728b18f54eb53be0f1712b882dc6 | [] | no_license | talbano/equate | 5de3d041aab6817dfad9b2fef9a37ca87321aeef | 3583de82faf337c4c9e0651db9293ed8b8a768c5 | refs/heads/master | 2022-12-01T17:23:14.460656 | 2022-12-01T16:12:50 | 2022-12-01T16:12:50 | 44,709,479 | 7 | 4 | null | null | null | null | UTF-8 | R | false | true | 814 | rd | ACTmath.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ACTmath.R
\docType{data}
\name{ACTmath}
\alias{ACTmath}
\title{ACT Mathematics Test Scores}
\format{
A 41 by 3 \code{data.frame} containing the score scale, frequencies
for form X, and frequencies for form Y.
}
\source{
Kolen, M. J., and Bren... |
44fc78772a7cbdffb65e33fb4ea5a66949d04162 | a2d1b0a9274dc34982d7be7e74a45679131d4ccd | /R/plot_lagcurve.R | bb513a1b26ee8ae210c4942d3fad2678263ed4a1 | [] | no_license | alastairrushworth/badlm | d6b5671167a5a4b1f24947c9184bc1f8dd3307d7 | 99a078fafb62ef000f5d8c1f4db677368c394c0f | refs/heads/master | 2023-03-07T12:57:00.726065 | 2023-03-01T13:52:08 | 2023-03-01T13:52:08 | 163,391,604 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 824 | r | plot_lagcurve.R | #' @importFrom ggplot2 ggplot
#' @importFrom ggplot2 aes
#' @importFrom ggplot2 geom_line
#' @importFrom ggplot2 xlab
#' @importFrom ggplot2 ylab
#' @importFrom ggplot2 ggtitle
#' @importFrom tibble tibble
#' @importFrom tidyr gather
#' @importFrom magrittr %>%
#' @export
plot_lagcurve <- function(dlm_object){
lagdf... |
db83837ec44549283a48b645c700f957fda4e9e3 | c2cada714ea0a494a72a1d1a60deb500549fee68 | /src/generate_reads.R | 3c2feffa653837f975c035445ad7b089aab072bf | [] | no_license | hothman/Investigate_differentially_expressed_genes_in_COVID_patients_using_RNASeq_data | 50370d8470dd6356cdb93fd11243a3bd08c8324d | 0518402a2a484d64009ed642ac4ef34f508e110e | refs/heads/master | 2022-12-17T00:52:57.636637 | 2020-09-07T13:57:31 | 2020-09-07T13:57:31 | 284,758,957 | 0 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,806 | r | generate_reads.R | # Installing Bioconda if it's not available
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("polyester")
BiocManager::install("Biostrings")
library(polyester)
library(Biostrings)
setwd("./src")
fasta_file = system.file('extdata', './fasta_ref.fa', packag... |
c41853c5f5ee1ec96615e05f700529e271087418 | 8cdb9b46931ac056c31a2dd0941ba714540edb8c | /2012-02-22-PREBS-rma/scripts/combine-stats.R | 6d61ec73cf76702d37726031e3a101cbff76d933 | [] | no_license | uziela/helsinki-project | 6ced7a27aefa103df8c73b85d50acbebaa317dc5 | 86335b6508c00b7f94298a963dfaa693faab9270 | refs/heads/master | 2021-03-12T22:50:38.445324 | 2015-02-24T10:51:21 | 2015-02-24T10:51:21 | 18,182,026 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 603 | r | combine-stats.R | #! /usr/bin/Rscript
#library(xtable)
cargs <- commandArgs(trailingOnly = TRUE)
base_file <- cargs[1]
out_file <- cargs[2]
dir_names <- cargs[3:length(cargs)]
N <- 6
#thresh <- gsub(".*basic-([0-9]+)-([0-9]+).*", "\\1-\\2%", dir_names)
thresh <- gsub(".*-[0-9]+-([0-9]+).*", "\\1%", dir_names)
#print(thresh)
my_st... |
6d45696aa72ab9c51f5c4ae7624bb8bdd45a4146 | 32f8a61dcdb255df6f73c63c93e411db958e776e | /lecture3/Raphael_Nash_p2/server.R | 39f99f86fbdf1d63399e1597efcda00ac35085ae | [] | no_license | RaphaelNash/CUNY-DATA-608-VisualAnalytics | ac1cb36c3aeb040efbf0aec285d37c8a1aeb953a | 6fbc62320b89a74be239a5e473298ee609246fd1 | refs/heads/master | 2021-06-06T03:50:28.808655 | 2017-12-17T17:21:03 | 2017-12-17T17:21:03 | 101,523,524 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,031 | r | server.R | ##
#Server logic for CUNY DATA 608 Lecure 3 p2
# Change in mortality Rates
#Author: Raphael Nash
library(shiny)
library(dplyr)
library(DT)
library("ggplot2")
library("maps")
library(DT)
library(tidyr)
shinyServer(function(input, output) {
mortality_df <- read.csv('https://raw.githubusercontent.com/RaphaelNash... |
77f3b25aa4573e6269689de139521391c3aa1f0d | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/jti/man/print.jt.Rd | 476ab4810d5e409d8d9cd3ecd676ad090981a45e | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | true | 382 | rd | print.jt.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/api_jt.R
\name{print.jt}
\alias{print.jt}
\title{A print method for junction trees}
\usage{
\method{print}{jt}(x, ...)
}
\arguments{
\item{x}{A junction tree object, \code{jt}.}
\item{...}{For S3 compatability. Not used.}
}
\description{
A p... |
7e16353ad0997cc9f286992c35cc2bb1365edead | f2ba53cf640a5bf141b824a4bd29d4020bd94da1 | /man/usgsimR.Rd | a5a11b9e55af20ab1b1672d94f9619e3fdd065f9 | [
"MIT"
] | permissive | juliocesarsolano/rgslib | 777bdf86799be43a5543ba068b97910d0b52e267 | d6c4ac02794bb82ca490ed0b01c2d325ee1757ea | refs/heads/master | 2021-09-29T05:08:56.518514 | 2018-11-23T22:12:08 | 2018-11-23T22:12:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,354 | rd | usgsimR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/usgsimR.R
\name{usgsimR}
\alias{usgsimR}
\title{Simulation Using \code{usgsim} Fortran Program from CCG.}
\usage{
usgsimR(data, mvario, vars, corr, xyz = c("x", "y"), n_realz = 1,
seed = 60221409, grid_def = c(n_x = 50, n_y = 50, n_z... |
76ed38967ac7d1b5126054d3c380a6803ba84553 | 6f796a1015d40c1e0ca7871fcf82a0dc74451914 | /cachematrix.R | 0a8d436be8296555165fbed6be12b5d78672ba3c | [] | no_license | ManuKandpal/ProgrammingAssignment2 | 5298c3abebf6411cfd041978d800e120c60dc41a | e1f08683e16612ff9be7cbc554b93b1d10800fa8 | refs/heads/master | 2021-01-20T01:34:43.769098 | 2015-01-25T17:37:12 | 2015-01-25T17:37:12 | 29,823,069 | 0 | 0 | null | 2015-01-25T17:30:55 | 2015-01-25T17:30:54 | null | UTF-8 | R | false | false | 1,278 | r | cachematrix.R | ##pair of functions that cache the inverse of a matrix
## makeCacheMatrix: This function creates a special "matrix" object that can cache its inverse.which is really a list containing a function to
##set the value of the matrix
##get the value of the matrix
##set the value of the inverse of matrix
##get the value of th... |
a588bd345bb8bcfebe8c8de8bd0602cce435a3a6 | 20b0f38b4bf7f1d50d3328fbab010ee33d80078e | /man/check_folds.Rd | 930f3043227c7c244fba04e9d02f3ad258b00e6b | [] | no_license | ntyndall/mltools | 88927392c32eaf64da948d5fe5b5e1ebd87fcab0 | ffe824835e867787cb6d73f2b09071c081f168b2 | refs/heads/master | 2021-06-27T02:19:08.495641 | 2019-05-26T16:00:07 | 2019-05-26T16:00:07 | 146,769,268 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 201 | rd | check_folds.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/check_folds.R
\name{check_folds}
\alias{check_folds}
\title{Check Folds}
\usage{
check_folds(data.set, cName, fold.info)
}
|
790f58d3baa58d091ab7f00fadc39276b18241e7 | 32694467865205579b98f15bf738d88c19fb954d | /tests/testthat/test_status_api.R | fb42be4d649833775ccf713a27cbf8add97ffd33 | [] | no_license | vjcitn/terraClientR | ee0dc11c00b8d707d023d93776637b5622c189b6 | 85ab30d88da3b4c3da9e36a9b2f9dbc7ab5f237a | refs/heads/main | 2023-06-05T04:42:36.218619 | 2021-06-29T15:43:36 | 2021-06-29T15:43:36 | 381,414,881 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 940 | r | test_status_api.R | # Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test StatusApi")
api.instance <- StatusApi$new()
test_that("Error", {
# tests for Error
# base path: http://localhost
# An error status endpoint for load balancing purposes
# @retu... |
2214a73596be308d6e41a678bf4b64a99737634f | 5f89a48ae87264a697476717b543215e1ef496aa | /scripts/time_series_regression.R | ac0559e2608b8e47365df6742390db518e059f97 | [] | no_license | miloknowles/17.835-finalproject | 3c9c2d97efa306f9d72401a55339ac4e24aff29e | 885f80345d2ff9d6903b751f5acf7b53b86bbd93 | refs/heads/master | 2020-03-08T23:31:17.939211 | 2018-05-19T00:16:57 | 2018-05-19T00:16:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 21,611 | r | time_series_regression.R | # Time Series Regression
# 17.835 Final Project
# Milo & Jen
# install.packages('DataCombine')
install.packages('xtable')
library(DataCombine)
library(xtable)
# Use the WDI/WGI matched dataset, since we don't care about global terrorism.
data = read.csv("../data/final/data_matched_wdi_wgi.csv")
data$year = as.factor(... |
a362761002adb19d8bbc58147636f157af7d4d43 | 7ee92c10a10a1226270e9d7d4bad14bb8fd819b9 | /man/new_yaml.Rd | 8c8b58d7849684330767f6d4638212badc5aedd7 | [] | no_license | harcharansidhu/swirlify | 7af8a720bd1570df9e189bc2adda7339a3bcb8b7 | cdc3837215b3e2574866246491633fafeba98aef | refs/heads/master | 2021-01-15T21:49:38.822788 | 2014-07-21T12:15:40 | 2014-07-21T12:15:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 323 | rd | new_yaml.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{new_yaml}
\alias{new_yaml}
\title{Create new yaml lesson using yaml_writer}
\usage{
new_yaml(lesson_name, course_name)
}
\arguments{
\item{lesson_name}{Name of lesson}
\item{course_name}{Name of course}
}
\description{
Create new yaml lesson using yaml_writer
... |
9bffbfabc3b2ed9cef6e38129d037a2be136a3fc | 1fe29b29498b2d0dd63f18038dd8105e721b65fa | /analysis.R | 8df147c383adeb6e4c7ba0d3149092a32e2ed680 | [] | no_license | khyejin1231/SocialNetworkAnalysis | 85e541b304dfe724853609f11408537187eedff9 | 87bd13fb1500dd2dba59da5e25c04de0e9a9732d | refs/heads/main | 2023-08-04T05:18:22.586334 | 2021-09-30T19:56:26 | 2021-09-30T19:56:26 | 408,346,891 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,840 | r | analysis.R | #https://igraph.org/r/doc/igraph.pdf
install.packages("readxl")
install.packages("linkcomm")
install.packages("igraph")
install.packages("NetData")
install.packages(c("sna","triads","psych",'nFactors','GPArotation','NetCluster'))
install.packages("leiden")
install.packages("RColorBrewer")
install.packages("ExPosition"... |
412ad6f28c946c9cbb803998f095460bd61041ff | a39190a4a53465d1711a5bbc600d86d1ff7a2640 | /MoreFilesYouNeed/squaresPack/man/addSquares.Rd | 2e2cabba2a0dc13cc6a8f10fc6673ffee3634e56 | [] | no_license | davidflast/Class | f2638d94605128712c22079aac81aca1772d18d8 | ba210e8d750c2cfb9cf66f3f084ee5beaf895f0c | refs/heads/master | 2021-01-18T05:49:07.305157 | 2016-03-10T20:19:05 | 2016-03-10T20:19:05 | 51,100,788 | 0 | 0 | null | 2016-02-04T19:45:54 | 2016-02-04T19:45:54 | null | UTF-8 | R | false | true | 730 | rd | addSquares.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/addSquares.R
\name{addSquares}
\alias{addSquares}
\alias{addSquares,ANY-method}
\title{Adding squared values}
\usage{
addSquares(x, y, ...)
}
\arguments{
\item{x}{A numeric object}
\item{y}{A numeric object with the same dimensionality as \c... |
553cec9c82226ca6bd13b19ae7e12bfb2beddb46 | a1a3b1005edfb61644549ef688cdb25eefc17ae3 | /Rscript/Script_4.R | d16ad96b9b073fb967f4afef20455d56b9973175 | [] | no_license | ibarrioh/Network_expansion | d61272db69c521c369e3699dc5c2df89d00afb3a | 4ae655542fce3e6b19cfdd319f09f5f0aec9635b | refs/heads/main | 2023-05-27T05:50:30.531542 | 2023-05-15T11:54:03 | 2023-05-15T11:54:03 | 521,727,385 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 679 | r | Script_4.R |
####Jaccard score calculations (genes from significant modules, figures 3 & 4)
jaccard.IB<-function(set1,set2){
jac=sum(set1%in%set2)/sum(!duplicated(c(set1,set2)))
return(jac)
}
######
setwd("/tables_expansion")
####This file is compressed using 7z (jaccard_KS.7z) and should be decompressed prior to run
jacca... |
e44e6a98ebabc601682ee74d818163cab9a767a1 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googlepubsubv1beta1a.auto/man/PubsubEvent.Rd | 54956cd4bfa34fc38c27ef5bcc9df840aacf2e6a | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 710 | rd | PubsubEvent.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pubsub_objects.R
\name{PubsubEvent}
\alias{PubsubEvent}
\title{PubsubEvent Object}
\usage{
PubsubEvent(truncated = NULL, deleted = NULL, message = NULL,
subscription = NULL)
}
\arguments{
\item{truncated}{Indicates that this subscription ha... |
e1cbaa52cb260fda739e5146eeac7ed97b00dde5 | 305923bb1a34b2eb81dae663b8bf5c2fb09a4774 | /R/model-setup.R | 4fff3c065cb3d3d11f1be5f03abb29bcfe4fd092 | [] | no_license | andrew-edwards/hake-assessment | 4e535bf7ce05a1fcf6156d5bfb0a73aec4320594 | 1b5d03594d89868c3496a672e1d9f86a608c5704 | refs/heads/master | 2021-01-24T01:36:02.342468 | 2019-07-03T21:06:18 | 2019-07-03T21:06:18 | 49,098,720 | 0 | 0 | null | 2016-01-05T23:20:06 | 2016-01-05T23:20:06 | null | UTF-8 | R | false | false | 20,449 | r | model-setup.R | ## -----------------------------------------------------------------------------
## Set verbosity for this project (R code) and SS shell calls
## -----------------------------------------------------------------------------
verbose <- TRUE
ss.verbose <- FALSE
## --------------------------------------------------------... |
4c5a6b6e2ca7e8d22263627194c20b47e55b1731 | bb4e7027da03652fc4475c106b2794684f191ff1 | /constructCrossSampleFrame.R | bb6f591d223ae04a2367381bf4963e525dfc99b1 | [] | no_license | BrainArid/CoexpressionNetworkRProject | b06601db016135dcabcd659d2e23e6a358977a71 | 1d2f3a6c73e08fdf5623928295e579503b2bd07c | refs/heads/master | 2021-01-23T11:49:50.034854 | 2015-08-12T01:02:26 | 2015-08-12T01:02:26 | 24,804,940 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,313 | r | constructCrossSampleFrame.R | constructCrossSampleFrame_privateHelper <- function(outFrame, inFiles, data, cols2Ignore, i)
{
if(is.null(cols2Ignore))
{
colnames(outFrame)[i] <- paste(tail(strsplit(inFiles[i], split="/")[[1]],1), "_", colnames(data)[-1]);
outFrame[,i] <- as.numeric(data[,-1]);
}
else
{
colnames(outFrame)[i] ... |
b0c2e87d465f53588fd5f2fc00418630a439fe10 | 17d7e380809b207ae5160c0f8f48a42d094cf54e | /Fast_data_explorer/server.R | 0d24985fc06612ce37ef146289311ab337297b04 | [] | no_license | PachoAlvarez/Developing-Data-Products | 0684e99d42eb2d43858f84148072566daccfd5a5 | d8949d581b13eebeaf0972eb2e9887224a937787 | refs/heads/master | 2022-12-26T21:14:23.864916 | 2020-09-24T06:12:16 | 2020-09-24T06:12:16 | 295,596,521 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,869 | r | server.R | library(shiny)
library(datasets)
library(DT)
library(GGally)
library(HistData)
library(mlbench)
library(tidyverse)
shinyServer(function(input, output) {
# #================= 2. DATA ==================================================
# --------- Carga los datos --------------------------------------
#... |
0871bd5aceb0ed69f6ae1202a0410daa61a0ccca | 8f937f58ede4fe1ad36cc7051a425d70b9078998 | /global.R | 1698676b88d7b8c2c181b4d84dbeaddc37d41bf9 | [] | no_license | davidhainesiii/apod-analysis-app | 0b198bb6823dc9eb68914966d933c00ebf31b81d | 927c1929629582fc49893357eb7349eceb19e499 | refs/heads/master | 2020-04-14T19:12:44.399498 | 2019-01-30T00:02:01 | 2019-01-30T00:02:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 778 | r | global.R | library(shiny)
library(shinydashboard)
library(ggplot2)
library(leaflet)
library(tidyverse)
library(dplyr)
library(tm)
library(httr)
library(wordcloud2)
library(tidytext)
library(data.table)
library(plotly)
mergedata <- readRDS("./data/apodtwittermerge.RDS")
apoddata <- readRDS("./data/apod.RDS")
cloud_data <- apodda... |
fafa0387f5a40485f5cedb07527cc5eca24a390d | 4bcb3a40c8527210fd2d00492559156a2cc2a58e | /instat/static/InstatObject/R/instat_object_R6.R | f31c9f1fe2b8c7983dfb2cfa691ca8cc260d712a | [] | no_license | getch23/Instat | d74b0bea55d200bda16575a7d3f18a768b165c97 | 297a0ed9d10af9df6d8a1699e44c447bda11a419 | refs/heads/master | 2020-02-26T13:32:18.841974 | 2016-08-01T07:49:46 | 2016-08-01T07:49:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 38,741 | r | instat_object_R6.R | instat_object <- R6Class("instat_object",
public = list(
initialize = function(data_tables = list(), instat_obj_metadata = list(),
data_tables_variables_metadata = rep(list(data.frame()),length(data_tables)),
... |
38254a39bbe17f06da04d63bd3d0a00be324aa57 | e5b3c5ceb002c9aa926e5a1caee2cfe6beb43e1b | /5-divergence/5c-phylogenetic-signal/phylogenetic_distance_correlation.r | 46ea1a14341c0dc76e3c6723a98a83d9e8005cce | [] | no_license | brendane/symbiosis_gene_evolution_initial | 4e4f9edc146fd2f1efe79e49b7d8e63d8b55941b | c69a2357c561794c79e2ec1189886b58e9354dad | refs/heads/master | 2022-11-20T23:13:48.105230 | 2020-07-26T23:53:21 | 2020-07-26T23:53:21 | 282,684,232 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,150 | r | phylogenetic_distance_correlation.r | #!/usr/bin/env Rscript
#
# Report the squared correlation coefficient between the median single-copy
# core distance among pairs of strains and the pairwise distances among
# sequences in a gene.
#
library(data.table)
argv = commandArgs(trailingOnly=TRUE)
## Read pairwise divergence data and gene summary data
pairwi... |
046c8aa69ced206634661ac432ae347166c10d0a | 72991c91f4df86d7e06c6235446ff1bf35b9cc9d | /t_nsah/srank_t_nsah.R | 57ef059809cbf0fce54a7a1f58a0df5363aa4b3b | [
"MIT"
] | permissive | samuelcg/thesis-data-scripts | 6b22ef73ff4f9399211cfd45aa09a878e65264b8 | 71e7d745d512a1c2be36fcae0c28ac7b669bc80c | refs/heads/master | 2021-01-19T22:17:43.715271 | 2017-04-25T00:56:00 | 2017-04-25T00:56:00 | 88,791,821 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,992 | r | srank_t_nsah.R | ## source('load_all_nsah.R')
source('../compute_src.R')
##################################
## Compute all possible unique pairs of SAFE sessions
##################################
t_nsah_session_pair_matrix <- t(combn(names(list_of_t_nsah_dfs), 2))
names_for_one_df <- names(list_of_t_nsah_dfs[[t_nsah_session_pair_mat... |
08db3aaab7105a747abdaf09b463f8c36de31ddd | 8ba4e3b939d3d4fe9c9b07d13ea6a05ab5e57d01 | /inst/extdata/counts_by_town.R | 351a453a2b18c46cfc9619f0e27a85775e5e7018 | [
"BSD-2-Clause"
] | permissive | COMHIS/fennica | 8ce782cbdff37582c586820b3c26a4f549c2f7d3 | f7f2e52b6e0b62a44a2c8106bb1ab5dd3edcc743 | refs/heads/master | 2023-08-19T03:01:34.138530 | 2022-04-20T17:23:36 | 2022-04-20T17:23:36 | 107,188,766 | 5 | 2 | NOASSERTION | 2023-07-04T08:44:37 | 2017-10-16T22:14:44 | R | UTF-8 | R | false | false | 720 | r | counts_by_town.R | #' @title counts_by_town
#' @description Plot publication year counts by town
#' @param df Main dataframe
#' @param str Name of town
#' @param file Filename
#' @export
#' @author Niko Ilomaki \email{niko.ilomaki@@helsinki.fi}
#' @references See citation("fennica")
#' @examples \dontrun{counts_by_town(df,"Hämeenlinna","... |
ea3bc61497ea83daa1cee93e33ec141a4c79c166 | b4db1d76b46dba8e9250a18b19d4851166f13eba | /R/style_catalogue.R | 117ea0da2004e3b6e109ba6961576cd00d54c602 | [] | no_license | adambouras/xltabr | 1b199a5dcda6c8dd7a28a780815503866b139ddf | fd9aab00ba85fd0d6061ab97489747970258df55 | refs/heads/master | 2021-06-25T19:18:16.703340 | 2017-09-10T14:23:53 | 2017-09-10T14:29:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,295 | r | style_catalogue.R | # Use default .xlsx style catalogue to initialise the catalogue of styles
style_catalogue_initialise <- function(tab) {
path <- xltabr:::get_style_path()
path_num <- xltabr:::get_num_format_path()
tab <- style_catalogue_xlsx_import(tab)
tab <- style_catalogue_import_num_formats(tab)
tab
}
style_catalogue_... |
c79d38cbf4970007e6961e3fbb64663be7ffb80e | 1dcb69267472f4dbc1a48f6fba1264e20e97e28e | /man/pigorro.Rd | 600badb739d0ece8827357e1769070eebcf8dea8 | [] | no_license | mvaldora/rdp | 1a4cdf19f42142d24eb497d67dbad9d7fb7205d6 | 8c177be17866bc1988d3fad4df5287466117980e | refs/heads/master | 2020-05-18T18:31:51.641777 | 2019-05-02T14:07:51 | 2019-05-02T14:07:51 | 181,533,928 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 506 | rd | pigorro.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rdp_basic_functions.R
\name{pigorro}
\alias{pigorro}
\title{computes the propensity score}
\usage{
pigorro(x, a)
}
\arguments{
\item{x}{A matrix of covariates without an intercept}
\item{a}{A vector of 0 and 1; if the i-th entry of a equals ... |
17a42c993c35022568079dfa18f931a5d45efb27 | b683643da99f0ac1cbc9275e83c873b8ce08240e | /tweet-sentiment.R | 3fdbcb01361e136c8ef315b429f823f4768e49a4 | [] | no_license | PurbashaChatterjee/Oscar-2018-twitter-sentiment-analysis | ed65d2ac786fc55d7125179229ab535f79c5a88a | cd6804074667cf59d20964f73fbf70f81c85166d | refs/heads/master | 2021-03-19T13:30:53.206896 | 2018-03-07T08:15:56 | 2018-03-07T08:15:56 | 123,990,601 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,102 | r | tweet-sentiment.R | library("twitteR")
library("wordcloud")
library("tm")
#necessary file for Windows
download.file(url="http://curl.haxx.se/ca/cacert.pem", destfile="cacert.pem")
#to get your consumerKey and consumerSecret see the twitteR documentation for instructions
consumer_key <- 'rTv9spgUO7mY6D45hmvfhld0a'
consumer_secre... |
ec3581b0cfe22f56e180020afce9d54202e7f381 | 4163b2ff26b31e00b8d73da528d5c881d94108e3 | /R/SSPFinUA.R | 2b627a047f3e04fd579f1f201866f55d2a0e4f6a | [] | no_license | VB6Hobbyst7/R_SEQUOIA | 6cfdb9586036efe7bac44857aee0eed8515d1e85 | def0603d5bb699a3cfc04ea9efd91c190d1c2a9d | refs/heads/master | 2023-04-26T08:45:06.117938 | 2021-05-27T15:21:47 | 2021-05-27T15:21:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,763 | r | SSPFinUA.R | # Lancement des library
if (!require("tcltk")) {install.packages("tcltk")}
if (!require("sf")) {install.packages("sf")}
if (!require("stringr")) {install.packages("stringr")}
if (!require("dplyr")) {install.packages("dplyr")}
SSPFinUA <- function(rep=F){
if(isFALSE(rep)) {
rep <- tk_choose.files(caption = "Choi... |
38bb7760f3507520b1ab14f0033b3c66c2903584 | 0d825b26d91f5dca10290aecd7830dc5b754d031 | /man/taubeta.casp.est.Rd | 6c9616421f397d093acf6634cf594c1cb60c27aa | [
"MIT"
] | permissive | trambakbanerjee/casp | 47dd5f707bddcc19c58148237ced317e4ca9e4f6 | 27b98414fbba639238beed7f1b7677b4b5e1e455 | refs/heads/master | 2022-11-20T10:11:19.371424 | 2022-11-12T21:02:24 | 2022-11-12T21:02:24 | 140,539,279 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,698 | rd | taubeta.casp.est.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/casplib.R
\name{taubeta.casp.est}
\alias{taubeta.casp.est}
\title{Data-driven estimation of the hyper-parameters \eqn{(\tau,\beta)}}
\usage{
taubeta.casp.est(grid.val, rmt, mx, X)
}
\arguments{
\item{grid.val}{a matrix with two columns. Each ... |
5acc1c339eaaf449acdd085bda9a42a9d16c4b41 | ef1853f4456fbcd6d273a39c1792125cd67975b9 | /man/run_searchlight.Rd | 6df50b70fc11aa634abeffd81ffc8a07aca01663 | [] | no_license | DiegoAngls/rMVPA | e9f47570684b64db84a377b547b5bc30de7206a1 | 358e4b47a981beccef0b085a3721b59bc0a4ee42 | refs/heads/master | 2020-03-18T18:45:49.311543 | 2018-03-29T13:56:25 | 2018-03-29T13:56:25 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 704 | rd | run_searchlight.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/allgeneric.R
\name{run_searchlight}
\alias{run_searchlight}
\title{run_searchlight}
\usage{
run_searchlight(model_spec, radius, method, niter, ...)
}
\arguments{
\item{model_spec}{a \code{mvpa_model} instance.}
\item{radius}{the searchlight ... |
ec032a91f08cd76ab7a9d80e46b287666fe4af58 | 68a381ae10021be4b4027eba5ed567bb547f1ac5 | /R-main/07-do-colony-drop-loci-experiment.R | 2d051e3948a756b676b102875ebd7b720d55cf39 | [] | no_license | eriqande/tpb-colony-compare | 205bb35c1324970ba44cfe6af62c600b46f938a1 | 2ff0a16c9d7f4f678441ac9f772e1d1db0d78e3e | refs/heads/master | 2021-01-13T01:55:37.198109 | 2015-03-04T07:55:14 | 2015-03-04T07:55:14 | 31,044,874 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,384 | r | 07-do-colony-drop-loci-experiment.R |
# must be run in project dirctory
load("outputs/InferredSibgroups.Rda")
source("R/colony-comp-funcs.R")
# get the mean size of the Colony inferred sibgroups (about 3.07) for use later
ColonyFirstRunMeanSibsize <- mean(sapply(InferredSibgroups$Full.colony$sets, length))
loc_vals <- seq(95, 25, by=-10) # these are... |
bd849773fd09c2ecd013bb4bac64ba2800c533de | a82252596b166e9b599a977a4296625e0adc066a | /post_processing/allLhs/sensitivityAnalysis/allLhsSensitivityAnalysis.R | f19190233dfe8f5d686d33fd780b3eb9bffe2e35 | [] | no_license | NREL/OpenStudio-analysis-spreadsheet | 45ec53a6aacc3218ec208c35315e3265a7cb374f | f81bd3f2f848c6ad847e9ebc6f2f053ef1711aa8 | refs/heads/develop | 2021-01-19T01:13:34.140725 | 2017-05-05T01:03:04 | 2017-05-05T01:03:04 | 16,424,102 | 26 | 17 | null | 2023-09-13T13:22:38 | 2014-01-31T23:39:41 | Ruby | UTF-8 | R | false | false | 6,729 | r | allLhsSensitivityAnalysis.R | #Load list of desired PCA reports and data to be used
require(ggplot2)
require(grid)
setwd("C:/gitRepositories/OpenStudio-analysis-spreadsheet/post_processing/allLhs/sensitivityAnalysis")
wd_base = "."
output_df = read.csv(paste(wd_base,"resources","reporting_outputs.csv",sep="/"))
data_for_analysis = read.csv(paste(wd... |
c39ebf5b1088688cc39b8c793bf08f9548a9a499 | 9512429e0e5d67a3bb2be291fa6f1d2f592da780 | /plot2.R | 06c7b69278258aba58ef99376b98b2cfc8026af6 | [] | no_license | priyalm/Coursera_EDA_Course_Project_1 | 55875577568d5deb8292967abf0360e4a2b56893 | 28b9baa25b6dc8d5ef311b0008684ca8a3bbb621 | refs/heads/master | 2020-06-02T12:22:30.757123 | 2019-06-10T11:34:32 | 2019-06-10T11:34:32 | 191,152,969 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 704 | r | plot2.R | library(data.table)
#Reads in data from file then subsets data for specified dates
datafile <- "./household_power_consumption.txt"
data <- read.table(datafile, header=TRUE, sep=";", stringsAsFactors=FALSE, dec=".")
# Filter Dates for 2007-02-01 and 2007-02-02
data <- data[data$Date %in% c("1/2/2007","2/2/2007"... |
027ed9034e105f7e6addf4b58f8d69c886d1e450 | 63acf62201a0562e264c45ca67d93f6169c632e5 | /man/determineLibraryFromGroup.Rd | 645b82a4a0ccfd55d0ffcc0f55ca7221b55c7a59 | [] | no_license | yavorska/TenXAnalysisPackage | afc4f6eaf28b50583cdc11e4da119001a106d92f | 3f89111a5940a06eb59e1487b51616bc56a8c322 | refs/heads/master | 2021-01-15T19:04:12.640274 | 2017-08-09T14:24:02 | 2017-08-09T14:24:02 | 99,803,911 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 766 | rd | determineLibraryFromGroup.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/AllGenericsIndexing.R
\name{determineLibraryFromGroup}
\alias{determineLibraryFromGroup}
\title{Get the library that this group belongs to}
\usage{
determineLibraryFromGroup(queryGroupIndexVector, TenXSubset)
}
\arguments{
\item{quer... |
e75cea50fa1693b8b2882d13890b3ce13c804ff1 | c62fce79b984f308d4a13b98ce90e6dd8e76e849 | /plot2.R | 8aff5ccccfa82d149a05ee1e4b8dcda9e9d8302e | [] | no_license | punadsmile/ExData-Project2 | ae946566fa4a58170c6bb94fd9d1b2dc60d46a67 | e731bea9c34d73f9abbb891e503cb0c9d4038d26 | refs/heads/master | 2021-01-20T01:03:32.653194 | 2014-11-23T16:14:16 | 2014-11-23T16:14:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 774 | r | plot2.R | #due to network problem, I mannually downloaded the files...and unziped it...and set the wd...
## This first line will likely take a few seconds. Be patient!
NEI <- readRDS("summarySCC_PM25.rds")
SCC <- readRDS("Source_Classification_Code.rds")
#2.Have total emissions from PM2.5 decreased in the Baltimore City, Maryla... |
a7de1c3215548d9701fd7b64f124e10b744ac0c5 | c8b609bf58dab1a383bbea8b43a7bc2708adcb38 | /R/RcppExports.R | f81d071421281d0ffac2f3c9702ec50f44de3c0b | [] | no_license | holaanna/contactsimulator | ce788627c12323c4ab6b3aa902da26bf3e2e4cf5 | 8bcd3f01e0bbe5fb7328d9f6beb27eb907779bdd | refs/heads/master | 2022-03-17T03:25:18.841897 | 2019-11-26T18:33:29 | 2019-11-26T18:33:29 | 111,702,061 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 22,008 | r | RcppExports.R | # Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' Functional form of the intensity (beta) as a function of t.
#'
#'\code{func_time_beta} returns the value of the intensity as a function of t.
#'
#' @param t,t_intervention Time of the conta... |
c048295de90b1436c590fa6f5b26a29073a4cfe3 | 208c3260ec9874dcaedf8ee2cbfb316d8b78fffe | /intersect_towns_cells_lr.R | 0b475e189099b8a6db582ea1d35f2116e41f17a7 | [] | no_license | mtrachs/vegetation_township_lr | 13336873466700c9960e6ccf0ed38588fb0c8ff2 | 86d5011470af3f7889f7b92b56052055e89d5f98 | refs/heads/master | 2020-03-22T16:06:59.483944 | 2018-07-09T15:16:31 | 2018-07-09T15:16:31 | 140,303,662 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,766 | r | intersect_towns_cells_lr.R | #!/usr/bin/Rscript
# code to intersect Charlie's townships with Simon's 8 km grid
# result is 180x296x(1372+471) array of proportion intersection
# where 180 is y dimension and 296 is x dimension
# open issue: intersection only uses discrete approximation with 100 points
codeDir <- '~/github_changed_files/compositio... |
e9afe1b637955e9184ce8c32cebb85bbb4e6fe33 | 735d13ef3b0a2f7c640951c3c26944aabaa5908f | /man/DIFtree.Rd | 95f9fafdad3d12c817df4dae3f4dfd10c97f5c2f | [] | no_license | cran/DIFtree | c6f2582a868e36dc12a514a428a8c4b205bbb929 | a1dfeb6c9e89a078c543da504698939992578700 | refs/heads/master | 2020-12-25T17:13:07.031869 | 2020-06-05T08:30:03 | 2020-06-05T08:30:03 | 34,724,799 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,742 | rd | DIFtree.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DIFtree.R
\name{DIFtree}
\alias{DIFtree}
\alias{print.DIFtree}
\title{Item focussed Trees for the Identification of Items in Differential Item Functioning}
\usage{
DIFtree(Y, X, model = c("Rasch", "Logistic", "PCM"), type = c("udif",
... |
b6aeaff2d9d9b6666b74210b5f56b12a53d43e49 | 9e4d92c69037b170b9c91b85eaf7ad0e6f40948c | /man/unitizerTests-class.Rd | d626cd2aa57c4c1e83a5518e95f5f6a38345912c | [] | no_license | loerasg/unitizer | b59b8276aba90fa44ba4154bf06fcc69e80a02af | af20623b75d627f5e9533ae1c0e3c6e8286031bb | refs/heads/master | 2020-12-31T01:35:28.148583 | 2015-05-14T02:05:43 | 2015-05-14T02:05:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 300 | rd | unitizerTests-class.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/test.R
\docType{class}
\name{unitizerTests-class}
\alias{unitizerTests-class}
\title{Collections of Calls For Testing}
\description{
Should probably add an \code{as.unitizerTests} function...
}
\keyword{internal}
|
14a1ff774ab77ade534aac200c9b34f93e2a59c6 | b9ef94f1714dbf6bbd7096d742851eb83ad07d9f | /R/omixerRand.R | acb509732486fe0b53b5ef4b455ac1445add25b5 | [
"MIT"
] | permissive | lardenoije/Omixer | 5c5a1a386ddaf81555de39008f731840ffaddaf1 | b2e12c89b7a2d087d0242229c6cc39011e620aad | refs/heads/master | 2023-02-21T04:55:44.767122 | 2021-01-26T11:02:15 | 2021-01-26T11:02:15 | 332,760,675 | 1 | 0 | MIT | 2021-01-26T11:02:16 | 2021-01-25T13:44:17 | R | UTF-8 | R | false | false | 10,305 | r | omixerRand.R | #' Multivariate Randomization
#'
#' As the main function of the Omixer package, this function
#' outputs a randomized sample list that minimizes correlations
#' between biological factors and technical covariates.
#'
#' @param df Sample list
#' @param sampleId String specifying sample ID variable
#' @param block Paired... |
0c862b080575e11deea2d4a03d4648c2d3dbc00c | bfe324beb0c335272362e7514938a82c08a9cc40 | /man/mean_precip_by_month.Rd | 901e462cecf6562493a49747c64276be5f07d99f | [] | no_license | jkmiller-wildlife/PrecipPackage | 79157b7d394835f34a2999bdbaf380c74b09a7d0 | 070035c67dbdb496716c60e5d598b8315b7a4e3a | refs/heads/master | 2020-06-01T12:07:27.458399 | 2019-06-16T03:43:21 | 2019-06-16T03:43:21 | 190,774,172 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,564 | rd | mean_precip_by_month.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mean_precip_by_month.R
\name{mean_precip_by_month}
\alias{mean_precip_by_month}
\title{Mean monthly precipitation}
\usage{
mean_precip_by_month(precip_data, plot = TRUE)
}
\arguments{
\item{precip_array}{The function uses data from the precip... |
caef31083430b861b635a9bf4f91361ed484dca8 | 689c02c3b86f202ce2ebe805ea6be6d32a1d415d | /Shazam/shazam_list.R | 2782389159cf3bb24340ccf802db9e7a6aeb0e47 | [] | no_license | mengranhe/Code-Display | 963d8c45073b16a2a637da3e193f19c74fcccba2 | 5f11c29206df93cf9a216f4edb23726e2f53b163 | refs/heads/master | 2021-01-19T14:01:23.370730 | 2017-05-25T05:19:59 | 2017-05-25T05:19:59 | 88,119,312 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 286 | r | shazam_list.R | #!/usr/local/bin/Rscript
source("tasks.R")
suppressMessages(library(argparse))
#create parser object
parser <- ArgumentParser()
parser$add_argument("--songname", default = NULL, type = "character", help = "Name of the song")
args <- parser$parse_args()
list_song_info(args$songname) |
973ba9cbe420102cff7130f729688a65cbd4b98d | d12f5e4d9eb954aaa27d50f93cbeb85ab8a4c066 | /man/iter.step.Rd | f42f19937f91dd03b7810c9e18b366621bad3490 | [] | no_license | WangTJ/opera | db0c463f99f28098a7eae0a1d0f79633f8e23a57 | 84b509bc27fc81103c7388c39829eedd329ec7b7 | refs/heads/master | 2022-04-22T00:55:20.711640 | 2020-04-15T00:24:43 | 2020-04-15T00:24:43 | 255,422,317 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 668 | rd | iter.step.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/solve.R
\name{iter.step}
\alias{iter.step}
\title{iterative step to calculate cox model derivatives}
\usage{
iter.step(Z, cov, time, cen, beta, theta, indvec)
}
\arguments{
\item{Z}{a matrix of staging term}
\item{cov}{a matrix of covariates... |
68196d9d0ba9fd561eb5c6784f40cdf819f3ff7b | 93a88a25389e7923d0a0c65429cc013459d7e0c0 | /GetData.R | a68675d98402374d5ee43d1b90fadfc234c5d24d | [] | no_license | Anooshiravan/DataScience_C4_W4_Explore | 07206e19c6b2a666d56cfa98641799c0893cc797 | f6ddf0a81ee2744b68caceff93602d6226247182 | refs/heads/master | 2021-06-24T09:43:20.435354 | 2017-09-09T22:08:36 | 2017-09-09T22:08:36 | 102,986,301 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 321 | r | GetData.R | # Get archive file
archiveFile <- "NEI_data.zip"
if(!file.exists(archiveFile)) {
url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip"
download.file(url=url,destfile=archiveFile)
}
if(!(file.exists("summarySCC_PM25.rds") &&
file.exists("Source_Classification_Code.rds"))) { unzip(archiveFile) }... |
436dfc1a8b5c334a38b53c7c24c783c91e74b8d2 | f24bbf59b7b931cd1febf10ae1a62385dd2ab5b2 | /test_sims2.R | 83aa8ad857de005f9006417aab44e6c6361129df | [] | no_license | aaamini/hdpslicer | 067d63a66e72fd32282813769ca9064aeac61461 | 801e419a81cc77886cfc944a3a926b88c0a46171 | refs/heads/master | 2021-07-16T10:45:46.304659 | 2020-06-01T05:50:42 | 2020-06-01T05:50:42 | 167,135,207 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 4,600 | r | test_sims2.R | library(tidyverse)
library(trendsegmentR)
library(purrr)
library(intervals)
# library(clue)
library(mclust) # for adjusted Rand index
library(extraDistr)
# library(stm)
library(lpSolve)
library(hdp) # Nicola Robert's hdp package
source("net_common.R")
source('hdp_module.R')
source('hdp_inference_simple.R')
source('do... |
1bd28cdef8d65d8975cbf07d051be2d17f529373 | ee8733c46c91949478b44143e4977ca0ca857968 | /man/logic.bagging.Rd | a8d2b6d156d73690185a4a60e8005d24ab4dc779 | [] | no_license | holgerschw/logicFS | 0a7919ef1012814b83a114dbc485e8be3d21e7ae | ed8b0be37da919754b39e1a46e793e253b06ddaf | refs/heads/master | 2021-06-06T01:10:52.594711 | 2020-04-12T21:34:42 | 2020-04-12T21:34:42 | 148,649,928 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,078 | rd | logic.bagging.Rd | \name{logic.bagging}
\alias{logic.bagging}
\alias{logic.bagging.default}
\alias{logic.bagging.formula}
\alias{print.logicBagg}
\title{Bagged Logic Regression}
\description{
A bagging and subsampling version of logic regression. Currently available for the
classification, the linear regression, and the logi... |
87f3cca2fef5b5b71f9ddd46ed6d0a25a75ec4be | 188817727780824ca9f51e0fc09caf9e06f526f9 | /lab1/R/lab1_10.R | 4c276116862a1412a29b061e6eeb6c0dab9d1f6b | [] | no_license | beartwigsam/TDAB01 | 2efbb99908595f1b753b98774c661d2ccfb1e420 | 6a14738f42df5c7da47a9db7fd01873dc20bfb1e | refs/heads/master | 2020-03-28T23:07:25.669596 | 2018-10-11T10:01:14 | 2018-10-11T10:01:14 | 149,277,251 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,552 | r | lab1_10.R | n = 1000
lambda = 5
rate = 1
size = 10
p = 0.01
X = rpois(n, lambda)
Y = rexp(n, rate)
Z = rbinom(n, size, p)
hist(X, col="blue", ylim = c(0, 1000))
hist(Y, col="red", add=TRUE)
hist(Z, col="green", add=TRUE)
# Makes a given number of pulls from Z, where every pull is
# a mean value of 10 samples... |
0fab5b90d7501bd4dc7dedffa1753c3fc2ab9c74 | 8450cd8d46322e46964eaeabb27e299d5d417ca6 | /inst/R_old/plotConc.R | 0eaaef091f7c79c16355281246238f5cd2a44bb0 | [] | no_license | WillFox/TBsim | 0251b444b8247796ed11d56283344b88e4329099 | d304c5957dd1199e2ad08ba00fe054b8c6e30366 | refs/heads/master | 2020-07-07T04:07:23.609484 | 2018-07-05T21:52:44 | 2018-07-05T21:52:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,928 | r | plotConc.R | #===========================================================================
# plotConc.R
# PK concentration profiles
#
# John Fors, UCSF
# Oct 6, 2014
#===========================================================================
plotConc <- function(){
# read header file
list <- readHeaderFile(folder)
ti... |
c620b7b4cc4cc78c9356b698c43437a131885381 | 5e2ffabcbde9f82c243abaa9ddb0e6bcb7ceaf9b | /summaryStats.R | cc241aaf298e51e5dabbf205ac830f9376c02a2d | [] | no_license | eidanjacob/dataplus | 56f2aad21310db70a79a5f2bf6fefe2a5d3b121f | 006aa5169157a221a529f317db09b9e5bf77f8c5 | refs/heads/master | 2021-09-26T06:23:33.073721 | 2018-09-12T22:36:27 | 2018-09-12T22:36:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,144 | r | summaryStats.R | # Script that calculates summary/interesting stats.
# Stats calculated:
# Avg time taken to get to certain places
# Most common paths
library(dplyr)
library(lubridate)
# # Mess with these numbers if you want.
# timeSteps = c("1hr" = 60*60, "2hr" = 2*60*60, "4hr" = 4*60*60) # in seconds
# # timeSteps = c("4 hr" = 4*60... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.