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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cc366a01e3d9dd711c1de1ddbcffd36ea94d9e69 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sensors4plumes/examples/polygrid2grid.Rd.R | e06da7662a76a1388e6f6cbed0de4d57f0a6fa16 | [] | 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 | 604 | r | polygrid2grid.Rd.R | library(sensors4plumes)
### Name: polygrid2grid
### Title: Coerce SpatialPolygridDataFrame into SpatialGridDataFrame and
### geoTiff file
### Aliases: polygrid2grid
### ** Examples
data(SPolygridDF)
# return SpatialGridDataFrame
SGridDF1 = polygrid2grid(SPolygridDF, zcol = "b")
# generate geoTiff
polygrid2grid... |
fd5729c5be5b9ea385af9a0937a933b4b94b2052 | 3c5d52b699e6645cbb086b4f45519f898a4b2f64 | /tests/testthat/test-io.R | 4f8b69d496b6b28189b5cd2a6aef5261aa365d44 | [] | no_license | AndyBunn/dplR | 249427c0be6c68c80c267ad4392a03a331bb056d | 8bb524ae6a024affea2c9ec982b0972fc5175280 | refs/heads/master | 2023-07-06T04:02:45.073034 | 2023-04-12T21:41:31 | 2023-04-12T21:41:31 | 195,873,071 | 31 | 12 | null | 2023-06-23T14:33:40 | 2019-07-08T19:21:39 | R | UTF-8 | R | false | false | 9,076 | r | test-io.R | context("input / output functions")
test.read.tucson <- function() {
MISSINGVAL <- 0
## Invalid file
tf <- tempfile()
fh <- file(tf, "wt")
on.exit(unlink(tf))
writeLines("TEST1A 1734 1230 456 789 12 34 56 7 6",
fh)
close(fh)
test_that("read.tucson c... |
f9b2b1dae4a4ebc98f354514541d5452667b9060 | dc1f17859c4d14d2d18e34a377a474b7d955c09f | /PEPATACr/man/getPrealignments.Rd | 46ddf3dab4c5216da7b957b3c21d1e6db2b44f23 | [
"BSD-2-Clause"
] | permissive | databio/pepatac | 55f4b7947333c3543f892e19e60803d04003eba5 | 9ee0b6c1251b1addae8265c12f16cbfeae76d489 | refs/heads/master | 2023-08-08T22:02:23.327668 | 2023-07-31T21:32:28 | 2023-07-31T21:32:28 | 58,678,230 | 46 | 11 | BSD-2-Clause | 2023-07-31T21:32:30 | 2016-05-12T21:29:13 | R | UTF-8 | R | false | true | 424 | rd | getPrealignments.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PEPATACr.R
\name{getPrealignments}
\alias{getPrealignments}
\title{Return a list of prealignments from a stats_summary.tsv file if they exist}
\usage{
getPrealignments(stats_file)
}
\arguments{
\item{stats_file}{A looper derived stats_summary... |
fa2cda12bc0313b7db92ca6926851934b64bbfbd | 5042c3a97c9a9fa4d0a5d6794960eec8146afa47 | /lotteryEstimator/man/ParameterizedEstimator.Rd | bef95b7e64e9fa224dbf3b70db6b0a3cd9e943d3 | [] | no_license | Sea2Data/CatchLotteryEstimation | eef044b949aa382a0ca70a23c9c32d2ca2a1a4d5 | e364b505969e5bd861684bdb2fc55f6fe96d2b8f | refs/heads/master | 2020-12-22T06:29:23.504177 | 2020-10-25T09:12:56 | 2020-10-25T09:13:52 | 236,696,753 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,008 | rd | ParameterizedEstimator.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/estimation.R
\name{ParameterizedEstimator}
\alias{ParameterizedEstimator}
\title{Parameterized estimator}
\description{
Function contract for parameterized estimators
Parameterized estimators are functions that map a data frame to an estimate... |
092da274e9e9cc927395b3122434427da352821c | 700c80d6185f5e0c13742146e5ef4a4a2f51b02e | /GrandMaster.R | 7935fe92d83866b1b0586d55ee63d937ae74dcef | [] | no_license | DanOvando/SNAP | e0951a127381a60efb7a00dca1f28661322ae86f | 9cbe6845c00f7d1827d8d6054929d7dca6cbbceb | refs/heads/master | 2021-01-24T03:58:05.246973 | 2014-07-21T23:51:18 | 2014-07-21T23:51:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,613 | r | GrandMaster.R | #==specify options (e.g. what management tactic is going to be searched over)
#==make storage facility for key output (e.g. total cost vs. total profit; depletion, spr)
#==create directories
#==write csv files
#==scenarios: changing MPA size, changing size limit, changing season length, changing effort input through fi... |
0be7f86e7cbe4212f342292c65c48555a70ea1c9 | e3dcd1c39d94e87ca058d1ad9941a660a2dcdac8 | /ScriptFinal.R | 6decfae4d7910a63022181cc67f5855a5ded054f | [] | no_license | CarolinaRamosR/Extraccion-Datos | eae497fe5c5c545dd26ce7eff974de13e3a9dc53 | f2f5b63fb13ba0692bd72063b841b60def314cd4 | refs/heads/master | 2021-06-25T09:55:37.027122 | 2017-09-11T01:10:04 | 2017-09-11T01:10:04 | 103,074,347 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 14,383 | r | ScriptFinal.R | rm(list=ls())
library(RSelenium)
library(XML)
library(xlsx)
# iniciar navegador Chrome
rD <- rsDriver()
remDr <- rD[["client"]]
remDr$navigate(paste0("http://www.socioempleo.gob.ec/socioEmpleo-war/paginas/procesos/busquedaOferta.jsf?tipo=PRV"))
Sys.sleep(runif(1, 4, 5))#se espera un tiempo de hasta 5 segund... |
81f1ac9973671d0b0d2eba5a40f8a51b4841dc63 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/XML/examples/xmlSubset.Rd.R | 71aa6b336d25300d6004839d92145fc4da4c06f4 | [] | 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 | 801 | r | xmlSubset.Rd.R | library(XML)
### Name: [.XMLNode
### Title: Convenience accessors for the children of XMLNode objects.
### Aliases: [.XMLNode [[.XMLNode [[.XMLInternalElementNode
### [[.XMLDocumentContent
### Keywords: IO file
### ** Examples
f = system.file("exampleData", "gnumeric.xml", package = "XML")
top = xmlRoot(xmlTr... |
18a1fdd97feba9b459703e8bf5138ef88e77040c | 99cc7be202be967615bbe55606d13731e42e4632 | /The art of data science_apllied.R | fb44eaeecc83465bcf644b0387e36a43c0e54b49 | [] | no_license | oscarjo89/Coursera_DataScienceSpecialization | 4e05e765e581e1c37ebdfe57c58362b424611dd5 | 4370c572365abcf1b7857d28e8be259c02c3de6b | refs/heads/master | 2021-01-09T06:11:10.829943 | 2017-02-26T14:31:49 | 2017-02-26T14:31:49 | 80,918,819 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,093 | r | The art of data science_apllied.R | # The art of Data Science - A guide for anyone who works with data
# By Roger D. Peng and Elizabeth Matsui
# In this script I will briefly present the main take aways from the book and apply them
# to a couple of hypothetical data analysis projects based on some of the data sets that come
# with R in order to apply t... |
48a490a4d9efb4c4850097716a58d3e7d5589425 | ee5b8d5819445f2488a048fd6bb79eaf1dc7e1e8 | /man/trfm_data.Rd | 85c7bd4b9b62b125b813a1fdd7e8ceccf3272a71 | [
"MIT"
] | permissive | bioticinteractions/predict2 | 598d84389ae2f81289ea2b3d01a25c2082935ec3 | 3f5d00e783f07d70a3be1e64f1174ae48afbc4c6 | refs/heads/master | 2021-08-29T12:09:20.193795 | 2017-12-13T23:17:42 | 2017-12-13T23:17:42 | 106,970,818 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 498 | rd | trfm_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_trfm.r
\docType{data}
\name{trfm_data}
\alias{trfm_data}
\title{Toy data that makes no sense}
\format{An object of class \code{data.frame} with 49 rows and 7 columns.}
\usage{
data(trfm_data)
}
\description{
Data for making transformatio... |
b8b4b1deb913e11c895cf0510b923fc5229b859c | 0c61299c0bfab751bfb5b5eac3f58ee2eae2e4b0 | /Early_attempts/Master.R | baefe4bb0a3940809ebaf7748bd9cf7b77581aa0 | [] | no_license | jwerba14/Species-Traits | aa2b383ce0494bc6081dff0be879fc68ed24e9c2 | 242673c2ec6166d4537e8994d00a09477fea3f79 | refs/heads/master | 2022-10-13T10:57:54.711688 | 2020-06-12T01:57:21 | 2020-06-12T01:57:21 | 105,941,598 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 195 | r | Master.R | load("Mich_Death_functions.R")
load("dat_simulation.R")
load("clean_sim.R")
load("cleandat.R")
load("Graphing_MM_Algae.R")
load("algaemodeljags.R")
load("Graph_Simulation_DataParameters.R") |
e318bc544042f38e635ca2eb932b00eaa52b1862 | 67d0524fbfb11cc19f4748cbe1c76af08ff7dd9f | /man/sctest.default.Rd | 728c7e412d5baaf88484b9bbf1f5024507d8b9b8 | [] | no_license | cran/strucchange | c0deea7a6e907c6c81769fe57ee09ad358b583d4 | 97bb4ea4cf76248aeb8abfc36c87b82dc2cee3db | refs/heads/master | 2022-06-26T04:41:50.013743 | 2022-06-15T05:50:02 | 2022-06-15T05:50:02 | 17,700,164 | 7 | 6 | null | null | null | null | UTF-8 | R | false | false | 7,618 | rd | sctest.default.Rd | \name{sctest.default}
\alias{sctest.default}
\title{Structural Change Tests in Parametric Models}
\description{
Performs model-based tests for structural change (or parameter instability)
in parametric models.
}
\usage{
\method{sctest}{default}(x, order.by = NULL, functional = maxBB,
vcov = NULL, scores = estfun, ... |
fdc767ffbf3f3143e02e2c846e0a588a2f6923bb | 992e8047ecf70d2daf0e6ce5996b23237f83c05f | /PDApp.r | fe17af3dc77f88c8920215a0ced8cc88670a0721 | [] | no_license | DShapero1/Player-Development---WVU-Baseball | bc4954d77da0fed4c7263ec095ea07c6a4f705b2 | be3e4de60c426440740d67bdc8e4a1d74b9de96b | refs/heads/main | 2023-08-26T06:51:50.973315 | 2021-10-22T02:17:38 | 2021-10-22T02:17:38 | 409,386,704 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,017 | r | PDApp.r | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(shinydashboard)
library(tidyverse)
library(DT)
library(bslib)
library(janitor)
library(read... |
8f250764d33cae4904b378687acc5aac2588ac02 | 060bf24ff4534c7a63e4a229b0eaeef1ffaeb88b | /Server/uploadpackage.R | 1b17f6f34e1b47d5ffe2d080a559228f0f819cfa | [
"MIT"
] | permissive | andersonjaraujo/risk_assessment | 71f68b3d7ad55178fb933d6079110660198c8997 | 32f2865f97166db2a36734564eb3ebd62bf88453 | refs/heads/master | 2023-05-12T01:41:51.599990 | 2021-05-28T19:32:54 | 2021-05-28T19:32:54 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,990 | r | uploadpackage.R | #####################################################################################################################
# uploadpackage.R - upload pacakge Source file for server Module.
# Author: K Aravind Reddy
# Date: July 13th, 2020
# License: MIT License
###############################################################... |
a6666db178eba40afb7115d29f00dc9a494de633 | ed17b93b41ebc74b11ef01963dd3374968aa51ec | /man/Get.Def.Par.QLearningPersExpPath.Legacy.ThesisOpt.RNN.Rd | a868a3a55fa526d0a2dad37636c9e785d366dc05 | [] | no_license | MartinKies/RLR | 64fe378ebad8e5a83628efe7bde7f8a628375cb6 | 3b8b1bfd4b4766b1e612de85a96c8d24e95d33e6 | refs/heads/master | 2022-03-24T09:32:00.219749 | 2019-12-17T16:23:26 | 2019-12-17T16:23:26 | 108,415,469 | 1 | 1 | null | 2018-03-19T13:48:34 | 2017-10-26T13:30:58 | R | UTF-8 | R | false | true | 432 | rd | Get.Def.Par.QLearningPersExpPath.Legacy.ThesisOpt.RNN.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/DefaultFunctions.R
\name{Get.Def.Par.QLearningPersExpPath.Legacy.ThesisOpt.RNN}
\alias{Get.Def.Par.QLearningPersExpPath.Legacy.ThesisOpt.RNN}
\title{Default Parameters QLearningPersExpPath Recurrent NN v.0.1.6}
\usage{
Get.Def.Par.QLearningPe... |
efa9b69c736a39ed8698eba88c4022a883520798 | 7defd18b9d3a85fd52a2353acf536ddca5113146 | /day-06-r/main.r | f5192e3692f3617fc48e21555d11b5f7ad07d844 | [] | no_license | DenSinH/AOC2020 | 257f1e083016adeee30ed782d59d99c075e8b0b1 | 35a7a31efe0dd3b1611b0d73a7fec17d07bccb1f | refs/heads/master | 2023-02-04T19:41:49.519901 | 2020-12-19T12:48:21 | 2020-12-19T12:48:21 | 303,654,786 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,095 | r | main.r | con = file("input.txt", "r")
any_yes <- list()
any_count <- 0
all_yes <- NULL
all_count <- 0
chars <- function(string) {
return(strsplit(string,'')[[1]])
}
get_unique <- function(lst) {
return(lst[!duplicated(lst)])
}
repeat {
answers = readLines(con, n = 1, warn=FALSE)
if (nchar(answers) == 0 || length... |
7b0d2fcc60931e7074f88248a229162827e84a3d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/trueskill/examples/trueskill-package.Rd.R | 79f80597a534e37ef741ed873f8354d7f2a69204 | [] | 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,282 | r | trueskill-package.Rd.R | library(trueskill)
### Name: trueskill-package
### Title: Implementation of the TrueSkill algorithm
### Aliases: trueskill-package trueskill
### Keywords: package trueskill
### ** Examples
# Example 1.
# set default values for BETA, EPSILON and GAMMA where BETA is sigma / 2
# EPSILON is DrawProbability(0.1... |
33ff7374afb3f00af61ef47589d1c0d305cb6b32 | c34d464b69e2d5946c9dd97337b16a0192e42093 | /8_visualizacion_datos/enriquezHerradorRafael.R | d6aad548b74d789144c9f7c0d67566b71d39c5e5 | [] | no_license | renqherr/utad-peds | 9a8b633946ec562be5a48c5e8784d9dcd65b7b6e | 7e020c37fa7f59edc7ed8410c2ba2374726af201 | refs/heads/master | 2021-01-10T05:06:04.178828 | 2016-03-21T21:06:32 | 2016-03-21T21:06:32 | 54,330,048 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,628 | r | enriquezHerradorRafael.R | #############################################################################
## Rafael Enriquez-Herrador
## U-TAD - PEDS 2ED - 2015
## 8 - Visualizacion de Datos
## Practica
#############################################################################
library(ggplot2)
library(data.table)
dt.SFCSS <- read.table(file ... |
7fbf7b29c6395ef32af6f1e48e184b6ee8a15be5 | 29585dff702209dd446c0ab52ceea046c58e384e | /jvnVaR/R/jNoComb.R | 58c7d042631be3bfac612664901c1d453217b987 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 256 | r | jNoComb.R | jNoComb <-
function(n,k,alpha){
# Number of combination of k elements from a n-set
C <- 1
# n!/k!(n-k)! * alpha^k * (1-alpha)^(n-k)
for (i in 1:k){
#C <- C * (n-i+1)/i
C <- C * (n-i+1)/i*alpha*(1-alpha)
}
C <- C * (1-alpha)^(n-k-k)
return(C)
}
|
b63e9ea3752531ef8cd0be3b30741affbc001a13 | c6c0083fb9b334b9cfaee4378d144ea64910200f | /Prepocessing/Train-kmer.R | f10f3e42767246c0d7dcdf5f2150eb8d8280427e | [] | no_license | vicely07/KmerResearch | 4c026c9f330420785a9cff1ac2b4cbac2c548988 | 255fa0bc64ae5918bc1fe5cd7b47965da07ca1b6 | refs/heads/master | 2020-04-02T05:01:41.791563 | 2019-02-15T18:46:06 | 2019-02-15T18:46:06 | 154,048,808 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,346 | r | Train-kmer.R |
source("https://bioconductor.org/biocLite.R")
biocLite("Biostrings")
# Run these the first time if you need to install the biostrings library
library("Biostrings")
# Here we load the files that will run through the Kmer counting package.
dna1 = readDNAStringSet("C:/Users/lykha/Documents/bioinforma... |
536bd883bb1f2cb1ce2a05519b80ffbfb7e8fbc0 | eef54759eaf73ad38a790944ad44b3ac1a0a9b1e | /3_downstream_analysis/antibiotics/antibiotics.R | e89dcba7375211cc49a38a193e932323285c1f2b | [] | no_license | Seny-l/MOFA_microbiome | 99b7aebc2ceee8f51fbbbe2816e92287dec082c7 | 5d2ce7179a4ec6475a5e769a044f4211aae19c3a | refs/heads/master | 2023-03-13T20:31:56.502493 | 2021-02-25T14:32:18 | 2021-02-25T14:32:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,142 | r | antibiotics.R | library(ggpubr)
################
## Load model ##
################
source("/Users/ricard/mofa/MOFA_microbiome/3_downstream_analysis/load_model.R")
#####################
## Define settings ##
#####################
io$outdir <- paste0(io$basedir,"/results/antibiotics")
antibiotics <- c("Penicillins", "Cephalosporins... |
504433a04ef2090c4e9f332aecaa7fe450c0ca56 | f54f98a77c9c91ce82a012f89b85eabc2e84a9f1 | /R/BM_reconciliation/with_SQL_refresh/app.R | 202bba176c9114b5a5e0b2f6bd06b62c5fd26b87 | [] | no_license | rdprad/R-projects | 4a058f15d89316fc84ff918a93da118145c36e1a | 53510b572ee4f6d611f32513badf67350a0a03a5 | refs/heads/master | 2020-03-24T10:11:52.926935 | 2018-09-15T00:12:16 | 2018-09-15T00:12:16 | 142,649,826 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,719 | r | app.R | library(ggplot2)
library(dplyr)
library(shiny)
library(shinycssloaders)
library(knitr)
library(shinythemes)
library(here)
library(ggiraph)
library(shinyWidgets)
library(plotly)
BM_df <- readRDS(here::here("objects", "BM_df.rds"))
ui <- fluidPage( theme = shinytheme("lumen"),
titlePanel("Block Model ... |
114ba59ed5d5fbd3f3cbb61ef4e656e96945e423 | 8210e7cd4bc1ec62bdfcbb0ab6388b660e9d167a | /Pre-Lab-3.R | 88c13f32a0981cdc8bdee1206cd2857e0bae92fe | [] | no_license | dr-noo/UTAustinX-UT.7.10x-1T2016 | 0b1ecef87a2f7bbb9e935d2f3b6695ca5b556484 | d24c87be3106907343a71c7c93b8be6254a5a87b | refs/heads/master | 2016-08-11T10:16:05.392258 | 2016-03-01T09:24:36 | 2016-03-01T09:24:36 | 51,247,050 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,867 | r | Pre-Lab-3.R | library(SDSFoundations)
bull <- BullRiders
#How many of the first 10 riders in the dataset have been pro for 10 years or more?
bull_first_10 <- bull[1:10,]
bull_first_10_pro_10_more <-bull_first_10[bull_first_10$YearsPro>=10,]
bull_first_10_pro_10_more
#Subset for riders that participated in at least one event in 201... |
d8bac311b375a5446c91fbe0ff46270606c170e2 | 84e410eb828ca190804d256ba93b446e51739f30 | /R/check_password.R | 138ae5a041c877f73b26abea1d9853c9aac01d0a | [] | no_license | jumpingrivers/zxcvbnR | f5afca825231a8aefb3c8675f7a1d4788755b309 | 59fa21b5ef3155af93b12a7ebeb8848905c4d760 | refs/heads/master | 2021-01-18T15:10:22.873263 | 2017-08-15T13:28:38 | 2017-08-15T13:28:38 | 100,377,726 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,383 | r | check_password.R | #' Check password
#'
#' zxcvbn is a password strength estimator inspired by password crackers.
#' Through pattern matching and conservative estimation, it recognizes and weighs 30k common passwords,
#' common names and surnames according to US census data, popular English words from
#' Wikipedia and US television a... |
a4e6a9227b778de22a61219d0486318ff3b6f3f8 | 27bfd7b5e4bd0db3208473603f9103d190d74b7c | /man/convertRDI.Rd | 46f0804be466de8283bddbf363450f47d948902b | [] | no_license | cran/rdi | 4d5cf7f6ed71ed0e3254a973301d35ca2fc721cc | 42bf39573e7b127eb5fae8777d634ee6327bbe6d | refs/heads/master | 2020-03-16T01:51:26.203579 | 2018-05-07T10:14:21 | 2018-05-07T10:14:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,070 | rd | convertRDI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rdi_functions.R
\name{convertRDI}
\alias{convertRDI}
\title{Convert RDI measures}
\usage{
convertRDI(d, models = NULL, calcSD = FALSE)
}
\arguments{
\item{d}{Distance matrix (as produced by \link{calcRDI}), or a vector of
distances.}
\item{... |
19be386b5c4cf439d612209473c1056889fcd6ee | 641a7c4b9773bf11428b23e25d6ad52d67721527 | /inst/seedlings.r | cab7246eb4bc27ae47359628b3c26dfd223fb9d4 | [
"MIT"
] | permissive | mtalluto/tree_seedling_metamodel | cffadc1ae534c7a29cf28f7fdac7927785e0880d | 05f6710b55e4059737ba9703e2882d4aab2101b9 | refs/heads/master | 2021-01-23T11:32:28.007604 | 2019-04-05T12:24:40 | 2019-04-05T12:24:40 | 93,144,591 | 0 | 1 | MIT | 2019-04-05T09:37:31 | 2017-06-02T08:27:56 | R | UTF-8 | R | false | false | 2,688 | r | seedlings.r | ## Main script for running the model integration examples
library("treeSeedlingMetamodelData")
library("treeSeedlingMetamodel")
library(LaplacesDemon)
data(seedlings, envir = environment())
sp <- seedlings$species[1]
# do the following for each species
naiveDat <- naive_ld_dat(seedlings$sdm_adults[[sp]])
# note ... |
7ccd16663e97a6e8518fbefb6e5c17cfa9b879eb | e93d573e0a6d8fdf22bab955684c66cbda6cd1dd | /R/fsim_mixed_warped_curves.R | 4851e5a05ed750c892f87c58120271326db83639 | [] | no_license | eric-f/mixedWarpedCurves2 | ecfe08ee25e8fad62fa3923cd08b3a0c5f8e92ef | f8c496beb96f2f8520859adc23d35609972254be | refs/heads/master | 2020-03-14T10:02:00.327450 | 2018-05-16T19:17:33 | 2018-05-16T19:17:33 | 131,557,746 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,486 | r | fsim_mixed_warped_curves.R | #' Model-based curve registration and clustering with unknown base shape
#'
#' This function fits the model \deqn{Y_i(t) = a_{i,sh} + a_{i,sc} f \circ h_i(y) + error}
#' by maximum likelihood via a stochastic approximation EM algorithm. In the model,
#' $f$ is a B-spline representing a common shape whereas \eqn{h_i:[0,... |
bbcc0e8c085570bbbbaf3fade03ed1d25335aa75 | 5431b3ea0fbd6d673396398491631a71ab757e30 | /plot1.R | 7e7f9c8a634e0c71a7356a412c14d2025458173e | [] | no_license | BentalSh/ExData_Plotting1 | f73936761fca89bf54a6f658de8975d00353cf7e | 641fe9e11bd28730eb427e452dd2fed865fe4171 | refs/heads/master | 2021-01-21T23:53:56.999473 | 2015-05-10T17:35:44 | 2015-05-10T17:35:44 | 35,142,625 | 0 | 0 | null | 2015-05-06T06:16:59 | 2015-05-06T06:16:59 | null | UTF-8 | R | false | false | 236 | r | plot1.R | source("loadAndPlot.R")
activePower=dataToPlot$Global_active_power
png(filename="plot1.png",width = 480, height = 480)
hist(activePower, breaks=12, col="red",main="Global Active Power",xlab="Global Active Power (kilowatts)")
dev.off() |
41fd7187924e0ea34a6c3fc5eccfbe036cdc5706 | df5b20d6f0958f4e2d817cc2d17c1d7397235cf9 | /R/ScannerSubscription.R | df728160e14820e459da41fd34cc9eab17fd0918 | [] | no_license | joshuaulrich/IBrokers | 95e29522f1f9cd6bd2eb9a615b00c1b29aaa582a | ac8f12cff2f884044061fb458d4902372be881c4 | refs/heads/master | 2023-07-06T13:40:11.976460 | 2023-06-30T15:09:12 | 2023-06-30T15:09:12 | 32,220,781 | 65 | 61 | null | 2023-04-20T15:18:07 | 2015-03-14T16:23:55 | R | UTF-8 | R | false | false | 2,179 | r | ScannerSubscription.R | twsScannerSubscription <- function(numberOfRows=-1,
instrument="",
locationCode="",
scanCode="",
abovePrice="",
belowPrice="",
... |
b6334f662e9197a0e2e060dbf44782761e4ac34d | e2c7181ed4e32ad6375160811fc1e13a6c5c1752 | /man/chg_traj.Rd | 159447e4d401d1db93dd1eb1e95eadd589f907d2 | [] | no_license | mauricioromero86/teamlucc | c6bbef6beff5bb19ba068db500e6c6e483086507 | b41fdd3135dd58c45a0a76c8c568768104267eaa | refs/heads/master | 2020-12-24T11:33:13.644455 | 2015-09-10T14:14:44 | 2015-09-10T14:14:44 | 40,678,059 | 0 | 2 | null | 2015-08-13T19:33:49 | 2015-08-13T19:33:48 | R | UTF-8 | R | false | false | 2,534 | rd | chg_traj.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\name{chg_traj}
\alias{chg_traj}
\title{Calculate change-trajectory image}
\usage{
chg_traj(chg_mag, chg_dir, chg_threshold, filename, overwrite = FALSE, ...)
}
\arguments{
\item{chg_mag}{change magnitude \code{RasterLayer} from \code{CVAPS}}
\item{chg_dir}{change d... |
8adffb66718feccc2e51f475cc038c0106f3436e | 64132db473e79d516861cb158871c431c78e2f50 | /man/getdata_to_r.Rd | 4b4a5480a2c31faf69489a964995bc16d0d89e72 | [] | no_license | EdenYZhu/SPSStoR | bf688bfce1f4bd1e689893e9fda6cc51d29c8b05 | aa79f2887a5839e151c23773df5b7e2cb37af105 | refs/heads/master | 2023-01-31T20:45:53.448747 | 2019-11-20T18:34:47 | 2019-11-20T18:34:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 607 | rd | getdata_to_r.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getToR.r
\name{getdata_to_r}
\alias{getdata_to_r}
\title{Get Data to R}
\usage{
getdata_to_r(x, nosave = FALSE)
}
\arguments{
\item{x}{SPSS syntax - read in by SPSStoR function}
\item{nosave}{A value of FALSE processes the save commands (def... |
19df7bec7f67c68052dfd31b068f729edd13e3f9 | 184180d341d2928ab7c5a626d94f2a9863726c65 | /valgrind_test_dir/to_mu_sd_weib_C-test.R | c0ec448c2d3df09f2861b7370833969ce331ed03 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 215 | r | to_mu_sd_weib_C-test.R | function (k, lambda)
{
e <- get("data.env", .GlobalEnv)
e[["to_mu_sd_weib_C"]][[length(e[["to_mu_sd_weib_C"]]) +
1]] <- list(k = k, lambda = lambda)
.Call("_mixR_to_mu_sd_weib_C", k, lambda)
}
|
7b52d56fca8b1cdfa7b02c32346ceb38b7cc1244 | 05b698ebe661e7fde47992172f4d72130bbc738e | /man/upclassifymodel.Rd | d761a2ff191797edfebc37d1816c77abf0eaac86 | [] | no_license | cran/upclass | b28d5caba03390f4d01caeb39e2408824a95c413 | a85c1abbea766d7b536d2ac40157c6e80310756b | refs/heads/master | 2018-12-29T06:57:42.908233 | 2013-11-26T00:00:00 | 2013-11-26T00:00:00 | 17,700,692 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,944 | rd | upclassifymodel.Rd | \name{upclassifymodel}
\alias{upclassifymodel}
\title{
Updated Classification Method using Labeled and Unlabeled Data
}
\description{
This function implements the EM algorithm by iterating over the E-step and M-step. The initial values are obtained from the labeled data then both steps are further iterated over the co... |
37680db32ecc2deb0f16f248202ae102d1b76263 | d5ea85feed4c01ce9db8c019d9142f30a0c68a0e | /man/basis_bs.Rd | b09037d1798741d8dc770f2b7a1a7c5c9aec971c | [] | no_license | yixuan/fdaplus | 4b59d15d4a0501a4b66f21d0f6adab407107cc98 | 51abb6d5d6a0060a8117060135a8167642eb4b56 | refs/heads/master | 2016-09-06T14:19:30.570338 | 2015-05-16T00:59:17 | 2015-05-16T00:59:17 | 24,311,873 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,157 | rd | basis_bs.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/10_bspline.R
\name{basis_bs}
\alias{basis_bs}
\title{Creating B-spline Basis Functions}
\usage{
basis_bs(range = c(0, 1), nbasis = NULL, order = 4, breaks = NULL,
dropind = NULL)
}
\arguments{
\item{range}{A length-two numeric vecto... |
958b38430ea778f2cd262eb4452d7ddf59f5c365 | 626c15d119fdf36000a927b0ee603793f394ead1 | /miscellaneous/plots.r | 9c2aa6ac13e75a4895fe19a1e53d83d8a9a42394 | [] | no_license | sarnthil/thesis | ab0aea553fb142dff1c1f7a3a1a2c79f4df8e4b1 | 4549dd781e85b6834addc7a0f16a792e817a4034 | refs/heads/master | 2020-05-21T08:58:24.401359 | 2019-05-06T20:32:59 | 2019-05-06T20:32:59 | 84,606,114 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,515 | r | plots.r | require(scales)
library(ggplot2)
library(RColorBrewer)
# top ingredients
ings <- read.csv("top20_ingredients.tsv", header=F, sep="\t")
ings <- transform(ings, V1=reorder(V1, -V2))
ggplot(ings, aes(x=V1, y=V2, fill=V1)) + geom_bar(stat="identity") + theme(axis.text.x = element_blank()) + labs(x="ingredients", y="# oc... |
2d4dcf9667d5f00e7f85d8e046136af7c95c204a | 897cc77f111e7110e22efe7f9b7ad6f3ef576693 | /scripts/download_spec.R | 4e66b5b7c109538bbed9ee94477eb0c650fc8fcb | [
"MIT"
] | permissive | nuest/stevedore | 8823a0d05caf6a1d54fe84015ede93ba27490455 | 845587fb6dbb13487808799fcc071d5a7836e87a | refs/heads/master | 2022-01-19T13:09:08.599178 | 2019-01-02T08:32:56 | 2019-01-02T08:33:29 | 198,364,789 | 0 | 0 | null | 2019-07-23T06:17:42 | 2019-07-23T06:17:42 | null | UTF-8 | R | false | false | 593 | r | download_spec.R | devtools::load_all()
docker_spec_fetch <- function(dest) {
vcapply(swagger_spec_versions(), docker_spec_fetch1, dest)
}
docker_spec_fetch1 <- function(version, dest) {
url <- sprintf("https://docs.docker.com/engine/api/v%s/swagger.yaml", version)
dest_file <- file.path(dest, sprintf("v%s.yaml", version))
dow... |
3c6d80d8313f682b0b8c831ee0f6eeb8177eebe7 | 01114541c33a31ff4b1134788ff0815fef397329 | /plots/plots_for_paper/vegan_shannon_diversity_etc.r | 8482cd2550ac20ed8308bd8ca02a7d42e3554cb1 | [] | no_license | RJ333/R_scripts | 06b31ad1459bafc68e0c212aa55eb83e5f354be9 | a882732aeb86b10a44f5fedf86401bf20d4618f6 | refs/heads/master | 2021-04-26T22:55:19.096526 | 2019-07-22T08:30:33 | 2019-07-22T08:30:33 | 123,895,394 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,719 | r | vegan_shannon_diversity_etc.r | #shannon indeces
#otus in spalten/proben als rownames
Examples
data(BCI)
H <- diversity(BCI)
simp <- diversity(BCI, "simpson")
invsimp <- diversity(BCI, "inv")
r.2 <- rarefy(BCI, 2)
alpha <- fisher.alpha(BCI)
pairs(cbind(H, simp, invsimp, r.2, alpha), pch="+", col="blue")
## Species richness (S) and Pielou's evenness... |
2b751d43a1f9906309c83a3ada055a43ff7af6d8 | dec9ee1bf4686166cdca12eadd4a225ee8c7f043 | /tests/testthat/test-tidy.calc_genoprob.R | 11a29a12c9d635e399dd218851577733c80c4ada | [] | no_license | tavareshugo/qtl2helper | 0f72aaa86e3c84c34873d3b20bfa57d25e25bb4d | bc40ab2a8ced1b2b436ad2e445ddb7d7c2944e7e | refs/heads/master | 2023-04-03T12:53:08.495166 | 2023-03-25T15:01:51 | 2023-03-25T15:01:51 | 207,848,319 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,246 | r | test-tidy.calc_genoprob.R |
library(qtl2)
# Read example data and run scan
DOex <- read_cross2("https://raw.githubusercontent.com/rqtl/qtl2data/master/DOex/DOex.zip")
DOex_probs <- calc_genoprob(DOex)
# number of markers * samples * genotypes
n <- sum(unlist(lapply(DOex_probs, function(i) prod(dim(i)))))
# marker names
markers <- unlist(lappl... |
91d904b72ffbc5445587079b5590bd1995a96e5b | b0926556620ce1a2105fcc10d821f263b721ea5e | /R/biol_figs.R | 1ade62f70c17d1e08eadca80a4e989d855abc043 | [] | no_license | ices-eg/wk_WKGSS | 68745ead97b4b30f171b0b40f77dab37926f346c | f5667d02e5a9f4e7dee5bd7b5a9696a7094f0bf6 | refs/heads/master | 2022-01-25T07:55:07.076356 | 2022-01-20T10:29:25 | 2022-01-20T10:29:25 | 238,208,395 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 133,005 | r | biol_figs.R | #install.packages(c('tidyverse','purrr','broom', 'sf', 'readxl','devtools', 'mapplots'))
#devtools::install_github('hafro/geo')
library(tidyverse)
#library(fishmethods)#needed for "alternative growth moedels" and "age-length key" part of the code
library(sf)
ia <... |
d36104c35ecfe070d029ad3f1ebaee8061b1e48f | 08e3d1c102f2449a67dcab76208e7358518dd4ba | /R/graphab_project_desc.R | 8cd257f004975e14ffb54f2f9c5bbe2ebd1ddd22 | [] | no_license | cran/graph4lg | f410231b2bedea19c8bf8d66edeb273e490394db | 5de8af31ae9011793e7aaa6bc77a9e4c8e199002 | refs/heads/master | 2023-02-06T17:16:40.474741 | 2023-01-30T13:00:05 | 2023-01-30T13:00:05 | 198,413,055 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 10,215 | r | graphab_project_desc.R | #' Describe the objects of a Graphab project
#'
#' @description The function describes the objects of a Graphab project
#'
#' @inheritParams get_graphab_linkset
#' @param mode A character string indicating the objects of the project that
#' are described. It must be either:\itemize{
#' \item{\code{mode='patches'... |
3360e27744c3b6b38fefd4e2cb65a4129a06cc58 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/selfingTree/examples/getTargets.Rd.R | f1805d3427e66b73b33e60ba5cad1901f69bda59 | [] | 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 | 198 | r | getTargets.Rd.R | library(selfingTree)
### Name: getTargets
### Title: Obtain all possible genotypes that match a certain target
### configuration
### Aliases: getTargets
### ** Examples
getTargets("AHB")
|
09e2fd1d73126b5522ca0c76d59c3852644050c1 | e858606ccacb9a78bfb48ca90b56d9469cff7a09 | /RImageBook/man/crop.Rd | 307a343734f7faccd1446a03154075acc6c00dee | [] | no_license | tkatsuki/rimagebook | 51f41166e98d442f7b9e2226b65046586f95dfc8 | d26a1502faf39804bf8cb06d1699de24e6d53d58 | refs/heads/master | 2021-01-19T17:59:07.539596 | 2015-06-29T21:12:57 | 2015-06-29T21:12:57 | 38,264,836 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 907 | rd | crop.Rd | \name{cropImage}
\alias{cropImage}
\alias{cropROI}
\concept{image cropping}
\title{Cropping image}
\description{
These functions interactively crop a part of an image displayed in the plot area
using the mouse pointer.
\code{cropImage} crops a rectangular area specified by a set of opposite verti... |
40d966053687e818ce3e32ca3c4b400a7b48acbe | ee99cdad0ef6bc53d1e876e1ec87137973f9169c | /reproducibility/Fig 3/Fig 3 - VIM2_Solubility.R | e79eff9d1b4bb1684d995645abf9df09aa84722f | [
"Apache-2.0"
] | permissive | lucidbio/crypticvariation | f0530953957c00b290c4e1e9dce8cab7c86dc424 | e4a4198bfbec55edc230830a31ee33eb9fa21f7d | refs/heads/master | 2022-11-17T06:10:24.092320 | 2020-03-02T11:30:59 | 2020-03-02T11:30:59 | 186,026,848 | 1 | 0 | Apache-2.0 | 2022-11-08T03:16:26 | 2019-05-10T17:19:58 | JavaScript | UTF-8 | R | false | false | 2,006 | r | Fig 3 - VIM2_Solubility.R | # Code to reliably reproduce Fig 3
library(plotly)
directory = 'D:/eLife Ambassador/Readability Initiative/01 - Cryptic Genetic Variation/Supplementary Data from paper/Plots/Fig 3'
setwd(directory)
filename = 'Fig 3 - VIM2.csv'
basename = unlist(strsplit(filename, '.', fixed=TRUE))[1]
data = read.delim(filename, hea... |
fecfdd067b596251f1c49f8c194a0dbfcb88e046 | 04a7e4899d9aac6d1dbb0c37a4c45e5edb4f1612 | /man/extract_rmd_table_label.Rd | b7c629839bf1f2d18ea556da0850a33723be3021 | [
"MIT"
] | permissive | pbs-assess/csasdown | 796ac3b6d30396a10ba482dfd67ec157d7deadba | 85cc4dda03d6513c11350f7f607cce1cacb6bf6a | refs/heads/main | 2023-08-16T17:22:18.050497 | 2023-08-16T00:35:31 | 2023-08-16T00:35:31 | 136,674,837 | 47 | 18 | NOASSERTION | 2023-06-20T01:45:07 | 2018-06-08T23:31:16 | R | UTF-8 | R | false | true | 1,011 | rd | extract_rmd_table_label.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract_rmd_table_label.R
\name{extract_rmd_table_label}
\alias{extract_rmd_table_label}
\title{Search chunk to find an Rmarkdown table label}
\usage{
extract_rmd_table_label(chunk)
}
\arguments{
\item{chunk}{A vector of character strings rep... |
3c2a883cc6340560455ad12ea68d78fdf6953b89 | 7f107bd4be987667feb046548868ed88d06cdb88 | /contributed/Nonclinical/R/toxSummary/app.R | c69eacd557fd83b240577ac36548372321c7d8a7 | [
"MIT"
] | permissive | phuse-org/phuse-scripts | d24d748de6cbdfd98af8be8d912749bb04811570 | 11b416b7b379f6094caccbc1f9069713033500c4 | refs/heads/master | 2023-08-08T17:41:11.238199 | 2023-08-01T15:21:20 | 2023-08-01T15:21:20 | 32,612,654 | 107 | 98 | MIT | 2023-08-01T15:02:06 | 2015-03-20T23:42:41 | SAS | UTF-8 | R | false | false | 83,606 | r | app.R |
# libraries
library(shiny)
library(ggplot2)
library(stringr)
library(htmltools)
library(shinydashboard)
library(shinycssloaders)
library(tidyverse)
library(RColorBrewer)
library(DT)
library(plotly)
library(officer)
library(flextable)
library(ggiraph)
library(patchwork)
#library(ggstance)
#library(ggrepel)
library(shi... |
bcaab18c39788589c9bc155d09b632ce6d923736 | f517f53080a1a833848b9fd3ff8cc2830a8d523c | /R/write_qvalue.R | 564aa787e621188645e5b8306891f90ae624b9a2 | [
"BSD-2-Clause"
] | permissive | PNNL-Comp-Mass-Spec/Rodin | a2b3ddadd312dde9a00e9f03c8deb65a42293579 | 8f93bc5f9e007744d19e3d60c76973aa3e8a115e | refs/heads/master | 2022-02-25T01:34:19.019930 | 2022-02-16T22:19:38 | 2022-02-16T22:19:38 | 144,644,879 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,780 | r | write_qvalue.R | #' @title Write results to file
#' @description Write the results of the q-value object to a file.
#' @param x A q-value object.
#' @param file Output filename (optional).
#' @param sep Separation between columns.
#' @param eol Character to print at the end of each line.
#' @param na String to use when there are missin... |
a40867301bacd56c1cffb28742cfc72df7b6ba9b | dc81c83a220d2ff0e11a1d33370b1c928a981c35 | /Apple and Google/Google_playstore_analysis.R | 9c096a9e804f8781bff423d3c3e31c4f347f1f46 | [] | no_license | visheshwar/Apple_google-EDA | 104bc20ab219ba6c4f3b222162750ed57744c797 | 05a9b04caae9a9e503831506a72c90bbd02b9a7c | refs/heads/master | 2020-07-18T18:57:16.192295 | 2019-09-04T10:46:37 | 2019-09-04T10:46:37 | 206,296,168 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,647 | r | Google_playstore_analysis.R | library(tidyverse)
library(plyr)
library(dplyr)
library(magrittr)
gplay <- read.csv("C:/Users/Shefali Kolge/Desktop/WORK/ML/googleplaystore.csv")
View(gplay)
dim(gplay)
colnames(gplay)
names(gplay) <- make.names(names(gplay), unique=TRUE)
str(gplay)
# Data Cleaning
gplay$Last.Updated[gplay$Last.Updat... |
eec5da5b9e237a8cb3ab73a5a4593c69417f541b | ce5e30194b3fa3aec3982e87bbf21f0e91891c6e | /HW1.R | 291fbfffb2a73d440f5218c810a83e3940f3d563 | [] | no_license | Jonathonsun03/Home-work-1 | 8806a19e9bf9e1fe5efdddf33f73bfc03a8d0687 | adb3edf0a97c0fb1e8ed3553098564293148cf3a | refs/heads/main | 2023-02-27T20:10:49.502904 | 2021-02-03T23:37:17 | 2021-02-03T23:37:17 | 335,784,772 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,968 | r | HW1.R | library(tidyverse)
library(ggplot2)
library(esquisse)
library(plotly)
library(formattable)
#Case Study 1 ------------------------------
dataset <- read.csv("E:/Documents/Penn-One-Drive/OneDrive - PennO365/2020-2021/SP/Datamining/Home work 1/data/Survey_results_final.csv",
na.strings = c(""))
head... |
3a8f89f189ab934d4b56cdd3890ff02b60faffff | 742fe8b884db01ac7b293b87485fe69e5d40ba02 | /man/SplitLoss.Rd | be90907eb62984596322726434fd9e801436a285 | [] | no_license | lorenzha/hdcd | 47d3f8557ea3f2b6b6fbbc892592662d4d6436a1 | 23be900a3414c3e3e25865df00ceb5279a2637fb | refs/heads/master | 2021-07-03T02:59:52.456658 | 2018-09-01T15:21:20 | 2018-09-01T15:21:20 | 111,222,046 | 0 | 3 | null | 2018-12-22T18:00:17 | 2017-11-18T16:47:41 | R | UTF-8 | R | false | true | 698 | rd | SplitLoss.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/loss_funs.R
\name{SplitLoss}
\alias{SplitLoss}
\title{SplitLoss}
\usage{
SplitLoss(x, split_point, SegmentLossFUN, start, end)
}
\arguments{
\item{x}{A n times p matrix or data frame.}
\item{split_point}{Index on which to split the segment}
... |
aff618dbf69ef6dd8804bce512b317131b09ec2f | fe905f8afb90a22c5efb31680cc25db4f9a5f5e7 | /R/module_overview_table.R | 6aa87d9f717d8128a88735f26e3e3d02926adb34 | [] | no_license | voutcn/pavian | cb7ecae6bb6bbd78ae45412e05ae17b6f4bd4243 | 614ce7062f596f9252935bc225c8a552f731561c | refs/heads/master | 2020-07-13T18:31:46.059286 | 2016-11-16T05:13:44 | 2016-11-16T05:13:44 | 73,886,274 | 1 | 0 | null | 2016-11-16T05:10:15 | 2016-11-16T05:10:14 | null | UTF-8 | R | false | false | 5,033 | r | module_overview_table.R | #' UI part of report overview module
#'
#' @param id Shiny namespace id.
#'
#' @return UI elements for report overview module.
#' @export
#' @import shiny
reportOverviewModuleUI <- function(id) {
ns <- shiny::NS(id)
shiny::tagList(
checkboxInput(ns("opt_samples_overview_percent"), label = "Show percentages ins... |
f92a05d7cdd0921b033e014958cc5ec32d60cf7e | f544305bed485204ab990f54775d7250224bd73d | /Station_Flux_Data/Recalculate_Hourly_Flux.R | fd8dd5929ed09704764299f98369c9006b6c776b | [] | no_license | mikeramsey21/Nice-Ride-Routing-Update | 4687c632c19cab89771d70dff5d458798da7a492 | c12e4a438c64b44790c8781806c0bf989989d187 | refs/heads/master | 2020-03-28T21:40:37.012185 | 2018-09-17T19:41:38 | 2018-09-17T19:41:38 | 149,173,651 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,232 | r | Recalculate_Hourly_Flux.R | #############################################
# The Fundamental Group
# Date Created: 6/15/18
# Last Updated: 9/14/18
# Joint work completed by:
# Michael E. Ramsey, University of Colorado, Boulder
# Eric Roberts, University of California, Merced
# Olivia Cannon, University of Minnesota, Twin Cities
# Ariel B... |
3e7045fa7f469d64d89e608e51dadbc342ab389b | bd0ff0492d12431e88ae8b1d4a471c15ab26e76b | /man/load.menus.Rd | 2907a3d307a60b90dd60ccff51f668f4c8727380 | [] | no_license | cran/CADStat | b01fe3c32c4e7ab24a592c744e259e6ed67aa6d4 | 2c8110fb89a8b7c9706359c00d12ccae399f276f | refs/heads/master | 2021-01-18T14:20:35.989297 | 2017-05-10T01:09:22 | 2017-05-10T01:09:22 | 17,717,270 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 114 | rd | load.menus.Rd | \name{load.menus}
\alias{load.menus}
\title{Load new CADStat menus}
\description{
Internal function
}
|
dfc47cabde20f1cb10b9a2f1f74fce1fad4acbb5 | 2891723cf9b7af5bca36338a768faeab0f974a09 | /analysis_for_AlleleHMM_manuscript/Performance_test_with_GRO-seq_data/Compare_allele-specificity_between_gene_AlleleHMM_AlleleDB.R | 4315520bace0f6e50916c38ee65326e5b526a976 | [
"BSD-2-Clause"
] | permissive | Danko-Lab/AlleleHMM | 66dcb04df4edbc3680407c743b05828fb730c716 | 03c3ac6d50d81cf9329fa1ac2bf0e7b89b39ba79 | refs/heads/master | 2022-07-14T07:18:13.070456 | 2019-10-09T14:57:05 | 2019-10-09T14:57:05 | 144,310,749 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,205 | r | Compare_allele-specificity_between_gene_AlleleHMM_AlleleDB.R | #Fig4 D,E, Sup_fig7
#Figure4D
pdf("fig4D.pdf")
par(mfrow=c(1,3))
# Simple Pie Chart
lbls <- c("Concordant", "Discordant", "Symmetric")
H <- c( 7957, 399, 2250)
A <- c( 5274, 512, 1993)
D <- c( 15926, 7681, 34356)
#par(mfrow=c(1,3))
pie(H, labels = lbls, main="H")
pie(A, labels = lbls, main="A")
pie(D, labels = lbls, m... |
8cf04b58b720e788b919caaa42f17a68ce934a1e | d102b1c77e63801d3d5d401ac15f22ae46b394e4 | /agrpfunc.R | 852f331d8c480c97c85346da700306e430e0101e | [] | no_license | hqwang126/aGRP | ff52d7cbb27d7e53ffaaa5639407e3a724a8862c | 93f2781d8080c4e5ca6662f61441a25da2ba2b76 | refs/heads/master | 2020-03-31T17:47:10.073879 | 2018-10-11T05:11:25 | 2018-10-11T05:11:25 | 152,434,114 | 1 | 0 | null | null | null | null | ISO-8859-9 | R | false | false | 904 | r | agrpfunc.R | ##usage£º
##input:d1-expression matrix (Genes*Samples) of cancer class£¬d2-expression matrix of normal tissues
##output: a list containing GRP statistics and its p-values for each gene
agrpfunc<-function(d1,d2){
if(class(d1)=="numeric") d1=matrix(d1,nrow=1);
if(class(d2)=="numeric") d2=matrix(d2,nrow=1);
up1=appl... |
cc7d45f6fba62eacad795236f1e8ddbc48bf33c2 | 9982a8150a01cc0214dc05d36960e12b252457a7 | /data_flow/a_import/code/merge_all.R | 0a17ee96569b6d1381e957b060c849d922ec0030 | [] | no_license | JeffreyUslan/PrototypicalProject | 7eaf13fe036808833ffad211fcd40c6b7036cd9b | 71d8f0271c802fe90a0b81e6db382dae5184a470 | refs/heads/master | 2021-01-19T05:25:53.869721 | 2015-07-06T17:39:52 | 2015-07-06T17:39:52 | 34,831,099 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 102 | r | merge_all.R |
file=merge(file001,file003,by="time.UTC.",all=TRUE)
file=merge(file,file250,by="time.UTC.",all=TRUE)
|
ae1d86ece8560e7b66678903a63f6a01ee370aa0 | 158af21f249555f32e12889c7344f06042120748 | /man/join_expression.Rd | 1340c0506512a4e495a9d7884bb735cb5b08f16e | [
"MIT"
] | permissive | RubD/Giotto | cd441655913246190f5097d4fbff869a9e8d7d0a | 3e6671a2512484a7b90b421b7e697d1abc2ec760 | refs/heads/master | 2023-09-01T06:21:39.024110 | 2023-04-19T14:34:40 | 2023-04-19T14:34:40 | 547,482,695 | 8 | 5 | MIT | 2023-04-04T17:56:36 | 2022-10-07T19:03:41 | R | UTF-8 | R | false | true | 482 | rd | join_expression.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/image_registration.R
\name{join_expression}
\alias{join_expression}
\title{join_expression}
\usage{
join_expression(expression_list, z_vals)
}
\arguments{
\item{expression_list}{list of expression values to merge}
\item{z_vals}{z values to u... |
c0280759dbf88873d1557be05182b6efd588ee0c | 66cf4adc85683e73290da2139c071365b40b6209 | /R/addPhantomSummary.R | b0444feee7028fa0deab51937dad289bd8257a41 | [
"MIT"
] | permissive | dpelegri/EASIER | db51d623eae85300b4b63f30f97ac93c9676a004 | ce9101b990874c13f6d8564867fdb3cbdc5a7841 | refs/heads/main | 2023-08-21T21:33:43.968027 | 2021-10-22T15:28:07 | 2021-10-22T15:28:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 624 | r | addPhantomSummary.R | #' Add phantom summary
#'
#' Add summary from 'Phantom' annotated column in data
#'
#' @param data dataframe used to create columns
#'
#' @return Original dataframe with Phantom_S field data split in multiple column (TSS200, TSS1500, 5'UTR, 1stExon, Body, 3'UTR) with TRUE/FALSE
#'
#'
#' @export
addPhantomSumm... |
9ed9288e23bd71008e94d7c36ad94972ce35a549 | 0eafe565b2b81d5a75393ecf8e1332f9a17118fd | /donga_news_crawling_frequency_analysis.R | 61cc7ba4e4426da1a0b022ebae7330c2716b1cc8 | [] | no_license | LeeSuA/TextMining | b548564bdd7313190f4de279749a31b380aa7538 | f53591cf286c3a5aae47732dece4b96ff0c0d3cd | refs/heads/master | 2021-01-04T11:04:51.915383 | 2020-02-14T14:00:40 | 2020-02-14T14:00:40 | 240,519,343 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,035 | r | donga_news_crawling_frequency_analysis.R | library(rvest)
library(dplyr)
urlPart1 <- "http://www.donga.com/news/search?p="
urlPart3 <- "&query=코로나&check_news=1&more=1&sorting=1&search_date=1&v1=&v2=&range=1"
urls <- NULL
for(x in 0:5){
urls[x+1] <- paste0(urlPart1, as.character(x*15+1), urlPart3)
}
urls
links <- NULL
for(url in urls){
html <- read_html(... |
2e182ec27caaa6eb8652bb7451bd736f37d565af | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/dobson/examples/aids.Rd.R | d058d0f658476c1f8f69967905f202ef52df79d4 | [] | 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 | 156 | r | aids.Rd.R | library(dobson)
### Name: aids
### Title: AIDS data from table 4.5
### Aliases: aids
### Keywords: datasets
### ** Examples
data(aids)
summary(aids)
|
a6770e84a902521cff097e394e7fdb38260e9f2e | 495aed58f478cfac14b775386d2da971355e7442 | /run_analysis.R | 6bd54b911d6628deaa74aab80b3d9375fc932c96 | [] | no_license | Sanguinius1/Getting-and-Cleaning-Data-Course-Project | e96a2e7c955b89596ab69f040e51eeacde788e21 | b2fece9deb569a931988e0a4799fdf13236e1a96 | refs/heads/master | 2020-03-18T03:58:45.921201 | 2018-05-21T14:15:32 | 2018-05-21T14:15:32 | 134,265,502 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,963 | r | run_analysis.R | ##Load library
library(dplyr)
#1. Download and unzip the Dataset:
URL <- "http://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
zipFile <- "UCI HAR Dataset.zip"
if (!file.exists(zipFile)) {
download.file(URL, zipFile, mode = "wb")
}
dataset <- "UCI HAR Dataset"
if(!file.... |
f6f6c703f71c640900b84150d267e4c3b5b941ce | 613f8e9b13208eaad1c973f66cd8f207ea40f719 | /zillow/zillow2.R | 0814282b11349dcf4c2b61d53b0fc766da3bb7a3 | [] | no_license | nav711/kaggle | 9b0c087d138d8fb439b1c479b3a0401dead68696 | bce225239a86029fee5ec52cd69ff447cfe271ae | refs/heads/master | 2021-09-02T14:43:47.857468 | 2018-01-03T08:25:11 | 2018-01-03T08:25:11 | null | 0 | 0 | null | null | null | null | UHC | R | false | false | 15,060 | r | zillow2.R | #########################################
# 주제: 집값예측
# 최종수정일: 2017.09.20
# 작성자: 윤일근
#########################################
#패키지 설치 및 로딩
library(reshape2)
library(data.table)
library(ggplot2)
library(dplyr)
library(caret)
library(e1071)
library(class)
library(h2o)
localH2O=h2o.init()
#2016/01~2016/12월 ... |
88c4117e4ea4243191a74e28df01327859495838 | 2469e9f76fb9454942ee729b4ebb86ab1bb72920 | /Shiny Web App.R | 527b8afdf5f273bd2efdb0cbd21d6cf58b8df2e4 | [] | no_license | armanaghamyan/business_intelligence_project | 5be96a5927f6f9f4c7999b4e278f0a0ef9857d3f | dd92c6e2c6e803a103e18abc81cd20cbaf36cc96 | refs/heads/master | 2020-12-21T05:19:08.652829 | 2020-01-26T14:04:30 | 2020-01-26T14:04:30 | 236,320,052 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,283 | r | Shiny Web App.R | library("shinydashboard")
library("shiny")
library("leaflet")
source("maps.R")
source("Plots.R")
ui <- dashboardPage(skin = "black",
dashboardHeader(title = "South Caucasus"),
dashboardSidebar(
sidebarMenu(
menuItem("Population",
radioButtons("btn",
... |
07ca561f48b69cf5a7886e854aeba245081619e0 | 8df4db71973c9688b731d3ac146f841bf463b4d7 | /plot1.R | cfbe0356026c500df9df9d8b1a609aae095e7844 | [] | no_license | DanielFletcher1/ExData_Plotting1 | 33baa90eeed16b8206193ed11442d36a929b7fd0 | 54264e65cfe2f9a379507b5fe5e88803f8f0e97e | refs/heads/master | 2021-01-24T02:52:51.862958 | 2014-07-13T07:33:28 | 2014-07-13T07:33:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,305 | r | plot1.R | ## Download and unzip the file:
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", "explor1.zip")
unzip("explor1.zip")
## Identify the dataset's column classes and header names for faster/easier import:
tab5rows <- read.table("household_power_consumption.txt", head... |
ac8693b98b22c398edd7c6803522b1f339812425 | f2afa5bca4d388d0bbb712d7a05db90f6bc987ba | /man/CalcOnGroups2.Rd | de0b9b408fe74e2a14f216e4d5c896559cdddc09 | [] | no_license | khharut/HistAvg2 | 273b404233f8ea4151785d086309f11eb5ed4686 | 3767d5f4b8fdd24906ca6731ccbfe5884dae483c | refs/heads/master | 2021-10-10T16:32:37.059879 | 2019-01-13T22:52:38 | 2019-01-13T22:52:38 | 88,608,726 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 774 | rd | CalcOnGroups2.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Divider.R
\name{CalcOnGroups2}
\alias{CalcOnGroups2}
\title{Does calculation on groups}
\usage{
CalcOnGroups2(div_groups, func_calc, func_def = function(w) median(w, na.rm =
TRUE))
}
\arguments{
\item{div_groups}{list of vectors on which st... |
dd070da7880bcf525de691d5af5ef7786b1e859d | c1f2a0b1726295d8a698be6b386e7e5d6cb485da | /tentativafracassada.R | dd87cb7a043559119efa3a3e6001a01d5e7ba38e | [] | no_license | cissaco/gee-negative-binomial | bdaf85ad2e491ae781e7dbf4ef2e1f6784d6ec86 | e1de98aeddac9b08a52a9a3779461f272e439166 | refs/heads/master | 2021-01-10T13:41:44.243713 | 2016-01-21T19:55:41 | 2016-01-21T19:55:41 | 50,131,935 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 767 | r | tentativafracassada.R | rm(list=ls())
library(COUNT)
library(geepack)
library(gee)
data(rwm5yr)
attach(rwm5yr)
tent1 = gee2(docvis ~ female + factor(edlevel), data=rwm5yr,family = negative.binomial(nu),id=id,corstr = "independence")
nbg <- glm.nb(docvis ~ female + factor(edlevel), data=rwm5yr)
summary(nbg) #Theta é o 1/alpha do livro ou sej... |
a98cc5d1cd4a317f81fc3d78a461a78c2528528a | 404c1773175c9504cf4114b24e8343933a3e7d9b | /Rcode/R/sportradar/arkiv/regression_16.R | 11fca241a91bf9081b9584f99d483d591a2d58e4 | [] | no_license | willisgram/master_thesis | 4e0cb52c6d19cb97948bb4839d38efd3fe343d12 | f6243ad401622e35370aecdd112e802c88ab756d | refs/heads/master | 2021-05-02T06:12:15.785795 | 2018-05-03T16:08:00 | 2018-05-03T16:08:00 | 120,882,958 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,175 | r | regression_16.R |
#################
# Create regressors DF
#################
regressors_16 <- cbind(points_round_k_16,opponent_round_k_16,team_round_k_16,cost_round_k_16,
pos_round_k_16,trans_in_round_k_16,trans_out_round_k_16)
regressors_16$index <- as.factor(regressors_16$index)
#Needs generalization
regresso... |
3f76df1970d56b6e459b078d31e340c75c59fd55 | 038795d15a01edf43666d2cce836612660a50ad0 | /man/ol_user_get_apps.Rd | 9d24c5aa36d2a5a30316a78f070a2361b4b3698e | [
"MIT"
] | permissive | akgold/onelogin | 1d919d9863ed9877d1a2b2ef583136e1159dcaae | 3d5a5f26f8893e2a3faa6ab24d73d9f4b23d7e79 | refs/heads/master | 2020-06-23T03:17:25.428226 | 2019-08-29T21:08:57 | 2019-08-29T21:08:57 | 198,491,663 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 424 | rd | ol_user_get_apps.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/users.R
\name{ol_user_get_apps}
\alias{ol_user_get_apps}
\title{Get Apps for User}
\usage{
ol_user_get_apps(con, user_id)
}
\arguments{
\item{con}{a 'OneLogin' connection}
\item{user_id}{user id}
}
\value{
A tibble of user data (one row)
}
\... |
79738f61a4f4f1ea361e112c47b717a10b1fb201 | db218968de67312de6ccc2318d08384d5b4fa602 | /AfSoilGrids250mValidation/AfSoilGrids_OFRA_comparison.R | e42ba3a4246d6293c56c8cbc6793cb3154660555 | [] | no_license | lsuiyanka/ISRIC-AfSIS | 8952f14121d94997e897682b5316939899f974d3 | 463afed3b76ec1bcfa639631fcfa4bfca3db0e7c | refs/heads/master | 2020-04-07T19:20:12.541470 | 2015-09-28T07:28:14 | 2015-09-28T07:28:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,276 | r | AfSoilGrids_OFRA_comparison.R | ## Comparison AfSoilGrids250m validation using OFRA samples:
## by Tom.Hengl@isric.org
library(rgdal)
library(plotKML)
library(GSIF)
library(RSAGA)
library(raster)
library(plyr)
library(sp)
library(hexbin)
library(gridExtra)
library(lattice)
library(grDevices)
rm(list=ls(all=TRUE))
load("OFRA.Rdata")
ofra <- read.csv... |
699073b42ce35edc2c7f3b3ca1f6d4a67a750812 | f673b6686a887ec0b15da60b236d9a194d09e318 | /man/survival_simulation_driver.Rd | 4cd5fb4d53826bb1d3a8626415093bbb71f4f9b8 | [
"MIT"
] | permissive | mrguyperson/predpackplus | 353a241ec0ae4a53da5521d387a2718434a1b33e | bbdc1ff517355a555753ce13cba71b5ec783a105 | refs/heads/master | 2023-07-19T05:24:59.312787 | 2021-09-16T15:20:24 | 2021-09-16T15:20:24 | 406,389,150 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,268 | rd | survival_simulation_driver.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/prey_survival_simulation.R
\name{survival_simulation_driver}
\alias{survival_simulation_driver}
\title{Run a Full Simulation}
\source{
defaults based on Steel et al. 2020. "Applying the mean free-path length model to juvenile Chinook salmon m... |
67fcc40a5e1133d0ef1da9609f90035daa73538d | 6fb04083c9d4ee38349fc04f499a4bf83f6b32c9 | /man/t.test.Rd | b0b1e7b6afd1c92b2934f524b5aece33701c39ce | [] | no_license | phani-srikar/AdapteR | 39c6995853198f01d17a85ac60f319de47637f89 | 81c481df487f3cbb3d5d8b3787441ba1f8a96580 | refs/heads/master | 2020-08-09T10:33:28.096123 | 2017-09-07T09:39:25 | 2017-09-07T09:39:25 | 214,069,176 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 905 | rd | t.test.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/t.test.R
\name{t.test}
\alias{t.test}
\title{Student's t-Test}
\usage{
t.test(x, y = NULL, alternative = c("two.sided"), mu = 0,
paired = FALSE, var.equal = FALSE, conf.level = 0.95, tails = 2, ...)
}
\arguments{
\item{x}{FLVector}
\item{y... |
1c607ff3024fde9c09580e894975c9ae3b7707de | 19c861d31f78661a83c38a133edd8c4f6eac0336 | /man/quantileSE.Rd | 8efe2f5dca49e4a7a6a4f2562c28289618c8f6e8 | [] | no_license | cran/broman | 8db38ff459ffda1645c01cb145b15aa4ea8e3647 | 90ae16237e25ee75600b31d61757f09edf72ad91 | refs/heads/master | 2022-07-30T16:46:40.198509 | 2022-07-08T14:30:09 | 2022-07-08T14:30:09 | 17,694,892 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,430 | rd | quantileSE.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/quantileSE.R
\name{quantileSE}
\alias{quantileSE}
\title{Sample quantiles and their standard errors}
\usage{
quantileSE(x, p = 0.95, bw = NULL, na.rm = TRUE, names = TRUE)
}
\arguments{
\item{x}{Numeric vector whose sample quantiles are wante... |
0d162a624954447b873a2917c81271449566f150 | e05e827a1720dc0e28a5a62e14ea3d7bc7b5f787 | /files/RClient/Ejercicio_solucion.R | 854136c4614b2f43af69b5f1687eecacd3177e72 | [] | no_license | maorjuela73/SQL-CD | 7af7748aa52200b8c96179a347293c38b72780f4 | 17a64c953e0bab448372e12889a2a768ece3fa32 | refs/heads/master | 2020-09-05T11:03:50.828292 | 2020-04-28T22:31:53 | 2020-04-28T22:31:53 | 220,084,006 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,167 | r | Ejercicio_solucion.R | library(DBI)
library(RPostgres)
library(ggplot2)
pw<- {
"postgres"
}
con <- dbConnect(RPostgres::Postgres()
, host='localhost'
, port='5432'
, dbname='dvdrental'
, user='postgres'
, password=pw)
rm(pw) # removes the password
dbLi... |
04abcaca824e27c1a779842364a9f890cb9b8a48 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mlbench/examples/plot.mlbench.Rd.R | 2673959ee3c92ff9409ce410d94986bfa881bb1d | [] | 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 | 250 | r | plot.mlbench.Rd.R | library(mlbench)
### Name: plot.mlbench
### Title: Plot mlbench objects
### Aliases: plot.mlbench
### Keywords: hplot
### ** Examples
# 6 normal classes
p <- mlbench.2dnormals(500,6)
plot(p)
# 4-dimensiona XOR
p <- mlbench.xor(500,4)
plot(p)
|
8e5db85f2e7cd7f6328b792adcf1d97ec487edfb | c02b1b6252a59c992a0f3ebb542f08fb0cf261a4 | /R/get_tournaments_pro.R | 39c38f3a3053de0ff5c87c870e8eaa1174711db8 | [] | no_license | systats/lolR | d57b04d592b40906b70f0da1acc9a332b965aa23 | f2b38453460cac1c9fe24861603e75bebf549669 | refs/heads/master | 2020-03-18T07:13:38.225502 | 2018-06-02T17:13:56 | 2018-06-02T17:13:56 | 134,439,850 | 0 | 2 | null | 2018-05-31T01:11:19 | 2018-05-22T15:58:05 | HTML | UTF-8 | R | false | false | 1,046 | r | get_tournaments_pro.R | #' get_tourn_match_list
#'
#' Get all matches from a tournament
#'
#' @param x a tournament row
#' @return get_tournament_matches look for output
#' @export
get_tourn_match_list <- function(x){
#x <- tourn_table_long[52,]
core <- x$tourn_url %>%
xml2::read_html() %>%
get_matches
... |
3bd6c4a792c9a40f5ec05def2e789ae38cc2d3f5 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Database/Kronegger-Pfandler-Pichler/dungeon/dungeon_i25-m12-u5-v0.pddl_planlen=147/dungeon_i25-m12-u5-v0.pddl_planlen=147.R | 25ee36c530f39ae859e9e1e92e7d0d19b41d86b6 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 94 | r | dungeon_i25-m12-u5-v0.pddl_planlen=147.R | 82f042c7afcaa486cf2b1201c9cbea6f dungeon_i25-m12-u5-v0.pddl_planlen=147.qdimacs 110583 1002496 |
47ec3b956e2b01293ed2a895acbdde15b9c13931 | 32d76c621b28f4f3653e709631045f2741ea9aaa | /app_comp.R | 593e725bade8c8024bb98066917dd3e92d362296 | [] | no_license | williamsbenjamin/nesting-topics | 7fb42fc58120cd74b414992da4b0cb6fa6152615 | 550c0aa4f1c232c814b2ca9a733fd61787a67882 | refs/heads/master | 2021-09-08T08:50:54.315293 | 2018-03-08T22:48:22 | 2018-03-08T22:48:22 | 114,163,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 981 | r | app_comp.R | #
# This is a Shiny web application. You can run the application by clicking
# the 'Run App' button above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
library(sunburstR)
library(shinydashboard)
library(readr)
library(nlme)
ui <- dashboardPage(
das... |
ce58c09ce09c43e7accc43f94899cc0f49b688b3 | 203053106dccd4b971fdef22956df0281dfc6f0e | /sobel.R | 977156228d142006727579f491e9258dea21a110 | [] | no_license | JoonsukPark/examples | 31918dcbdcd98be4796eb96e84990852b802b915 | 91e1f3a1c1396762530269e1338728783c981235 | refs/heads/master | 2020-06-06T13:52:01.439264 | 2019-08-11T17:45:56 | 2019-08-11T17:45:56 | 192,757,363 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 502 | r | sobel.R | X <- iris[,1]
M <- iris[,2]
Y <- iris[,3]
fit1 <- lm(M ~ X)
fit2 <- lm(Y ~ X + M)
a_hat <- coef(fit1)[2]
b_hat <- coef(fit2)[3]
a_hat
b_hat
mean <- a_hat*b_hat
mean
sigma2_a_hat <- vcov(fit1)[2,2]
sigma2_b_hat <- vcov(fit2)[3,3]
sigma2_a_hat
sigma2_b_hat
se_ab <- sqrt(a_hat^2*sigma2_b_hat + b_hat^2*sigma2_a_hat)... |
0ac3b75068cf275287315cf3126f78e7e81cfdc3 | a43de5791440989fe91b07052b492355bd6f2eab | /Rscripts/analysis_of_types_of_compounds.R | 403c884b8974e1feabefd96e00f78678f98a4f4d | [] | no_license | quimaguirre/CAMDA2019-DILI | 6a44fa618eca61a061f551c46da7a4cb1c60028c | ec4525a5c28e09af082ddad10afef624cb623513 | refs/heads/master | 2023-03-30T16:10:12.643580 | 2021-03-22T11:53:44 | 2021-03-22T11:53:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,640 | r | analysis_of_types_of_compounds.R | ### Load packages ###
library(cmapR)
library(ggplot2)
library(caret)
### Define variables ###
place = "home" #home or work
remove.outliers = FALSE
outliers = c('daunorubicin', 'vorinostat')
number.cv = 10
number.repetitions = 10
fraction_train = 0.7
if (place=="work"){
main_directory = "/home/quim/PHD/Projects/cam... |
f8c25ef36b8669135a1cf059307ff3204fdb285a | c7318557494fab35a01fd0ca8e239a060fc573ab | /Manuals/LR/2-3/transform_lr2.R | 578e07971f7501f94ef241dae2efc63042a6f2ec | [] | no_license | Fissssshhhhh/YSRS | e310aff19214c9139d634e7b7231ea5b7afb6619 | f6c92a3a0dcb40e5c29e95570014a4013801de28 | refs/heads/master | 2023-09-06T04:21:11.634227 | 2021-11-12T11:53:14 | 2021-11-12T11:53:14 | 427,340,929 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,105 | r | transform_lr2.R | library(dplyr)
# library(nycflights13)
flights <- readRDS("Data/flights.RData")
flights
#filter-----------
jan1 <- filter(flights, month == 1, day == 1)
(dec25 <- filter(flights, month == 12, day == 25))
# Floating point numbers
sqrt(2) ^ 2 == 2
1/49 * 49 == 1
near(sqrt(2) ^ 2, 2)
near(1 / 49 * 49, 1)
# The fo... |
968a52d02e58ced79787400ab492bdfdb8564463 | 69f18ac969d8061c6cce6b47cc479a528195e864 | /src/main/resources/OccuranceOfWord.R | 728f89e7f9396260c787c5598a4e7e3b1d38e950 | [] | no_license | sandy-sm/r-storm | 99717538b1055d2fd470815ce92bbaf34939c9fc | 709f9f5a915522ca73a1c1d00ff41d3ebe274b5e | refs/heads/master | 2021-01-19T00:39:31.313853 | 2017-04-17T04:19:02 | 2017-04-17T04:19:02 | 87,197,126 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,629 | r | OccuranceOfWord.R | ## Function to find occurance of word #arg1 in text #arg2
occurance.word <- function(word, text) {
return(lengths(regmatches(word, gregexpr(word, text, ignore.case=TRUE))))
}
## Function to calculate proportion of #arg1 no. of occurances / Total no. of words
proportion.word <- function(word, text) {
return(100*len... |
ace163f334ff3df95e5d53bd9195b377e5306539 | 06638f78ad22f0b25fbab84855b632f05c82b650 | /man/stepjglm.Rd | 6a1660358f37c36d6d6849670827893c53de292f | [] | no_license | cran/stepjglm | 46fd47372db977ae5bb24e37802768ca4a67f8fc | 7860f6781066ace2504ce32b41168be2ffb4ffa2 | refs/heads/master | 2023-08-23T15:24:00.828128 | 2021-10-25T05:50:02 | 2021-10-25T05:50:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 5,996 | rd | stepjglm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stepjglm.R
\name{stepjglm}
\alias{stepjglm}
\title{Variable selection in joint modeling of mean and dispersion}
\usage{
stepjglm(model,alpha1,alpha2,datafram,family,lambda1=1,lambda2=1,startmod=1,
interations=FALSE)
}
\argume... |
757fdef137fab049d654b29c28076a3e64dcedb1 | c053cc97c204c6af25664cf337d6dd94d984c591 | /man-roxygen/return-prob.R | 81bd9be97af35b637c8d13df27c4f1bc15702004 | [
"MIT"
] | permissive | tidymodels/yardstick | 1b2454ae37da76b6c5c2b36682d573c7044767a7 | e5c36f206fb737fc54b1a6161c09bc0d63b79beb | refs/heads/main | 2023-08-19T03:29:20.953918 | 2023-08-08T21:32:57 | 2023-08-08T21:32:57 | 108,898,402 | 294 | 55 | NOASSERTION | 2023-08-08T21:32:59 | 2017-10-30T19:26:54 | R | UTF-8 | R | false | false | 245 | r | return-prob.R | #' @return
#'
#' A `tibble` with columns `.metric`, `.estimator`,
#' and `.estimate` and 1 row of values.
#'
#' For grouped data frames, the number of rows returned will be the same as
#' the number of groups.
# these don't have _vec() methods
|
3d41728b617f5189d2f8564771ecf85e3ae6252b | 385e441bb73fec6fd36f1cebd67a6f94ff50b096 | /run_analysis.R | 6f827862a7f8f0fe01fbe3867100dc822a863f83 | [] | no_license | marcelotournier/HAR_UCI | b75c3b00809b995b09acf9376939435c85b2f823 | 45404788687969be4c99bc994c19ffa9a18f7a67 | refs/heads/master | 2021-01-10T07:13:31.564146 | 2015-11-20T03:38:41 | 2015-11-20T03:38:41 | 46,536,836 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,032 | r | run_analysis.R | library(dplyr)
library(data.table)
# preparing observations from group 'test'
subject_test=read.fwf("subject_test.txt", header=FALSE, widths = 2, sep ='\n' ,col.names = "subject")
subject_test$Group = 'test'
Y_test=read.fwf("y_test.txt", header=FALSE, widths = 1, sep ='\n' ,col.names = "activity")
featurelist=read.fwf... |
bd265939f426664d2a6e59c1b185e2d63e0fb6bf | b15ab0ad95b50fc6ed4fc3172631792ba0363b07 | /PE 58 - Spiral primes.R | 569b64ae7d7c837d85d8e0be0dd60758b06fa077 | [] | no_license | stephen-kane/R-Repo | 31d75765dec12f36ce41af5edcbc10e5bc487ea0 | 5c87594a83efd268479397977546bc30ddb8f625 | refs/heads/master | 2021-01-01T20:18:27.934671 | 2017-08-07T05:57:38 | 2017-08-07T05:57:38 | 79,204,275 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 439 | r | PE 58 - Spiral primes.R | library(gmp)
for(i in seq(3,40000,2)){
z=seq(1,i,2)
a=seq(0,i,2)
# isprime returns 0.5 for big numbers so I replaced them with 1s
b=sum(replace(isprime(z^2-a)/2,which(isprime(z^2-a)/2==0.5),1))+sum(replace(isprime(z^2-2*a)/2,which(isprime(z^2-2*a)/2==0.5),1))+sum(replace(isprime(z^2-3*a)/2,which(isprime(z^2-3*a)/2==0.... |
3099e51e2c4b366599fda08482670fff46361baa | 9f587d2c0badc8c2ea944a228663a1d4fdadfcff | /R/usmap.R | 23b44a1020c79c696f07f4f8164d343b32532a53 | [] | no_license | cran/usmap | 60219762dd7c5dc1fca750288c1ea0221a1cecf1 | dec1bbba20dda7c7e1d60cd25192ceed3f0fc8c0 | refs/heads/master | 2023-06-23T21:16:30.289265 | 2023-06-13T07:50:02 | 2023-06-13T07:50:02 | 80,337,684 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,837 | r | usmap.R | #' usmap: US maps including Alaska and Hawaii
#'
#' @description
#' It is usually difficult or inconvenient to create US maps that
#' include both Alaska and Hawaii in a convenient spot. All map
#' data frames produced by this package use the Albers Equal Area
#' projection.
#'
#' @section Map data frames:
#' Ala... |
8bfad5b57ab2c2ad1eae3a5513f7c1bfae156fe6 | eee0f8efd9e287df7381a1d7d9ca4e4ef7b103f4 | /bin/knitLesson05.R | bded1a419ebc9d7dee0d8e570bc4f870d90c8635 | [
"MIT",
"LicenseRef-scancode-public-domain",
"CC-BY-4.0"
] | permissive | uw-madison-comps/R-plant-lesson | b0d178ee33720a0620a77e4f9de1cf7774d793e8 | eb0fa2530082c5b4ebcb87524146fe63e8c344a3 | refs/heads/gh-pages | 2023-07-19T15:36:49.973948 | 2019-09-23T18:19:46 | 2019-09-23T18:19:46 | 198,238,729 | 0 | 3 | NOASSERTION | 2021-09-15T16:14:13 | 2019-07-22T14:22:05 | HTML | UTF-8 | R | false | false | 181 | r | knitLesson05.R | require(knitr)
src_rmd <- "_episodes_rmd/05-advanced-lesson.Rmd"
dest_md <- "_episodes/05-advanced-lesson.md"
## knit the Rmd into markdown
knitr::knit(src_rmd, output = dest_md)
|
855d0927f9f5d95dc86f958f1987ec43b70239d9 | 4adcf1c34f50716e6a2a04922f261891b2e7469d | /MACHINE-LEARNING/LABS-progs/ann/All_Labs/7Lab_cluster/pluton.r | 9cf652275631f5a2a949c93b7fa0588e740706dd | [] | no_license | BC30138/Sem10 | 913bf40a52dce308f46d0deb3aaa1f8124231faf | 490748c3420cdb3458e418ec6556d6fb4951e5ba | refs/heads/master | 2020-04-22T09:22:02.992576 | 2019-07-02T23:27:42 | 2019-07-02T23:27:42 | 170,269,664 | 1 | 0 | null | 2019-03-25T19:59:35 | 2019-02-12T07:06:10 | TeX | UTF-8 | R | false | false | 338 | r | pluton.r | #install.packages("cluster")
library(cluster)
data(pluton)
pluton <- pluton[,-c(1,2)]
cl <- kmeans(pluton, 3, iter.max = 1)
plot(pluton,col = cl$cluster)
cl2 <- kmeans(pluton, 3, iter.max = 1000)
points(pluton, col = cl2$cluster, cex = 4)
cl3 <- kmeans(pluton, 3, iter.max = 2000)
points(pluton, col = cl3$clu... |
fe8314c52de1a3713c5f5c6451cdbe4e651100a1 | 361106bd7dfe02dd5b2633571370b3274e263ead | /data-raw/example_model.R | 9b77d6381a9d81ae27b346966f607e4d73b45ef3 | [
"CC-BY-4.0",
"MIT"
] | permissive | dynverse/dyngen | 10f7d469b10bfb5d431bbddd73469acd34e6af69 | 714475df2785413a8957a2a16eb6d668c9e5df01 | refs/heads/master | 2022-11-08T17:09:49.119807 | 2022-10-26T18:55:02 | 2022-10-26T18:55:02 | 84,569,175 | 66 | 11 | NOASSERTION | 2022-10-26T18:55:03 | 2017-03-10T14:40:49 | R | UTF-8 | R | false | false | 998 | r | example_model.R | library(tidyverse)
set.seed(1)
backbone <- backbone_bifurcating()
total_time <- simtime_from_backbone(backbone)
out <-
initialise_model(
backbone = backbone,
num_tfs = nrow(backbone$module_info),
num_targets = 10,
num_hks = 10,
verbose = FALSE,
num_cells = 100,
gold_standard_params = g... |
0b521d2a9e0dad5be06d1fd9c769e2d306394733 | 06b9d2ece554bda6b4402785bc9c7b7a627a6c2f | /man/runSequence.Rd | b2b9c37eb5e1ef8d522b90a139c967aa9a0dbceb | [
"MIT"
] | permissive | wStockhausen/rTCSAM2015 | 4f2dd392b32d9a3ea9cce4703e25abde6440e349 | 7cfbe7fd5573486c6d5721264c9d4d6696830a31 | refs/heads/master | 2020-12-26T04:56:03.783011 | 2016-09-30T01:59:06 | 2016-09-30T01:59:06 | 26,103,387 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,739 | rd | runSequence.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/runSequence.R
\name{runSequence}
\alias{runSequence}
\title{Function to run a sequence of TCSAM2015 models.}
\usage{
runSequence(os = "osx", path = ".", model = "tcsam2015",
path2model = "", configFile = "", numRuns = 4, mcmc = FALSE,
mc.... |
03e6f59675a71cf481abe732084f9148d0d723fa | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/netassoc/examples/plot_netassoc_matrix.Rd.R | 336bc3e40df7a717574aff0dc4fffc8f00ffea1c | [] | 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 | 566 | r | plot_netassoc_matrix.Rd.R | library(netassoc)
### Name: plot_netassoc_matrix
### Title: Plots matrix with colormap
### Aliases: plot_netassoc_matrix
### ** Examples
nsp <- 10
nsites <- 30
obs <- matrix(rpois(n=nsp*nsites,10),
nrow=nsp,ncol=nsites,
dimnames=list(paste("Species",1:nsp),paste("Site",1:nsites)))
plot_netassoc_matrix(obs, ones... |
efefaabdc004e22a6535af0ff747ca8d4aec9640 | 0bebbba10f446ec5be7a378937be76c5e7610ab1 | /tables.R | 4e6780a513e06e02142a15c56499ee6cbc58f519 | [] | no_license | songxh0424/bankruptcy | c3920ca513fce346bb7a3cca35aa3a35fc0293e8 | 004aad6aefb8a3c706db2f2cb180e6e013587f52 | refs/heads/master | 2021-08-24T02:29:49.794192 | 2017-12-07T17:17:04 | 2017-12-07T17:17:04 | 113,479,011 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,887 | r | tables.R | perform = function(model) {
attach(model)
temp = data.frame("train accu" = (traintable[1, 1] + traintable[2, 2]) / sum(traintable), "train sens" = traintable[1, 1] / sum(traintable[1, ]), "train spec" = traintable[2, 2] / sum(traintable[2, ]),
"test accu" = (table[1, 1] + table[2, 2]) / sum(tabl... |
29876ff5371796893d92278680ae3f192a0279b8 | ea9c4fad1f9bcd50270f9cb4b20deb0b1afbe647 | /man/Schumaker.Rd | 8d83c24d07e13a23073e2df58d5829922900da35 | [] | no_license | s-baumann/schumaker | 351522233711e7aaef898ba2f67e42bea6caf63a | 1058e4313b6111851d36e956296bf58ed2db0cd8 | refs/heads/master | 2021-01-18T23:02:09.936450 | 2019-01-05T01:54:41 | 2019-01-05T01:54:41 | 40,301,831 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,846 | rd | Schumaker.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/Schumaker.R
\name{Schumaker}
\alias{Schumaker}
\title{Create a Schumaker Spline}
\usage{
Schumaker(x, y, ff = "Not-Supplied", Vectorised = TRUE,
Extrapolation = c("Curve", "Constant", "Linear"))
}
\arguments{
\item{x}{A vector of x ... |
1116f040fa25fe68e779e9046b8ef2565dd4dea7 | 441d6db1aa56908b413437afe99ba9a7e32cd30e | /02_code/utils.R | 7a88c1906632843a1fe0d20ab7d1a539bcd87efd | [] | no_license | jzhao0802/hcv | 461e4eabd0d69edf9511b392faaa39e5ebca44c2 | c053d6a083fc64f421f0d2e89a73e43f9498e21e | refs/heads/master | 2021-09-05T12:18:06.876356 | 2018-01-09T10:54:39 | 2018-01-09T10:54:39 | 119,167,599 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,709 | r | utils.R | summary_table <- function(data){
res<- data.frame(matrix(ncol=3, nrow=5))
colnames(res) <- c("Variable", "HCV", "non-HCV")
#counts
res[1,1] <- "Patient counts"
res[1,2] <- sum(data$label==1)
res[1,3] <- sum(data$label==0)
#age
res[2,1] <- "Age"
res[2,2] <- paste0(round(mean(data$PATIENT_AGE[data$la... |
d38cfe8a94b36f8b91d522cfcf95b678b6f89999 | c0c5b3c15b163596eb3aa3f6d1f7332c3b868e6a | /Scripts/corp_default_forecast_insample.R | 41a2da761b1c9f1aca5607a1d8a2e65ba1099652 | [
"MIT"
] | permissive | lnsongxf/BottomUpMacroIndicators | 0077d3386c37fa1c17415633bf2b237b837167a0 | f7ef3f4f0aae14a4050121a4a54bd673ee054204 | refs/heads/main | 2023-01-23T04:38:15.230487 | 2020-12-04T18:20:29 | 2020-12-04T18:20:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,774 | r | corp_default_forecast_insample.R | # File: corp_default_forecast_insample.R
# Authors: Clay Wagar, Tyler Pike
# Date:
# Note(s): Perform in-sample forecasting exercises
# Users will need access to FRB serves to access data, but may substitute public sources as desired
# clear enviroment
rm(list=ls())
# import libraries
library(lubridate)
li... |
355ce22654b5654809979e10c4db01769e6e87f7 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/PortRisk/examples/portvol.Bayes.Rd.R | bbef8b3e4150470e5b97fa63c5105963034caa5a | [] | 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,255 | r | portvol.Bayes.Rd.R | library(PortRisk)
### Name: portvol.Bayes, mctr.Bayes, cctr.Bayes
### Title: Portfolio Volatility and Contribution to Total Volatility Risk
### (MCTR & CCTR): Bayesian Approach
### Aliases: portvol.Bayes mctr.Bayes cctr.Bayes
### ** Examples
data(SnP500Returns)
# consider the portfolio containing the first 4 sto... |
0f33319d2e3b4a80507d7ed00648f4d347461a17 | 07b9c2784bf81e3706e257d7988eeb4f369d3cb3 | /lessons/06_week_examDetailsAndReview/sandbox/practical1_inclass.R | 58a3452a6724a5b1fde39ffc0df26aa7d3e88c0e | [] | no_license | Allegheny-Computer-Science-301-F2020/classDocs | fa4f838ae510b6bee3a705f94b3fb601bac04478 | 27dff60aee59967217326d9803142e28aad5823d | refs/heads/main | 2023-01-23T00:36:10.054814 | 2020-12-01T04:48:05 | 2020-12-01T04:48:05 | 292,433,841 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,259 | r | practical1_inclass.R | # practical_01
# name: # TODO
rm(list = ls()) # remove all variables in memory
#install.packages("tidyverse")
library(tidyverse)
#install.packages("nycflights13")
library(nycflights13)
#install.packages("plotly")
library(plotly)
###################################
# View the dataset, flights
View(flights)
#... |
ad3215a5f332e652438a2c4014fcfe95092a194e | 82cd98324bf3a372d0efaf11d1595a52974dae39 | /The reproducibility and comabatibility of RFs.R | f711eb71577fef5b1bceb98c6fb1c4f1a647982e | [] | no_license | AbdallaIbrahim/The-reproducibility-and-ComBatability-of-Radiomic-features | 0748d2d29922147bf4e878cd97667a817a46c5a4 | 6453dda2e67347a1efb46d482c52672a9476a3cd | refs/heads/main | 2023-07-19T07:46:38.448772 | 2021-09-11T13:28:39 | 2021-09-11T13:28:39 | 334,902,956 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,571 | r | The reproducibility and comabatibility of RFs.R | library(caret)
library(epiR)
library(sva)
#LOAD THE DATA FILE
Data<- read.csv("Pyradiomics_CCR1_OriginalFts.csv",header = TRUE, sep = ",", quote = "\"", dec = ".", fill = TRUE, comment.char = "", stringsAsFactors = F)
#DEFINE THE BATCH BASED ON WHICH SCANS WILL BE ASSESSED AND HARMONIZED
A<- unique(Data$Batch... |
582e5fe010e412c44b39da0fb548cb1935ed0f50 | 5079a09c258edac7c1e73e3383f17073dbe7c877 | /scripts/process.ecosis_californiatraits.R | c266f17d38538301d8bd1a777c78f348ff1103ac | [] | no_license | ashiklom/rspecan | acc6f62091da259864248f552bb6d70c7ec3b4e7 | 2376e273103d88a7a63b83cfefe6952e4c7783c3 | refs/heads/master | 2021-09-20T08:28:42.694220 | 2017-11-19T22:04:36 | 2017-11-19T22:04:36 | 111,217,867 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,122 | r | process.ecosis_californiatraits.R | library(rspecan)
sethere()
data_name <- "ecosis_californiatraits"
data_longname <- "Fresh Leaf Spectra to Estimate Leaf Traits for California Ecosystems"
ecosis_file <- "raw_data/fresh-leaf-spectra-to-estimate-leaf-traits-for-california-ecosystems.csv"
dat_full <- read_csv(ecosis_file)
wave_rxp <- "^[[:digit:]]+$"
d... |
1310d07b1e4923d5e2f9c3645feaf4d73b96eedb | 9fc8774d1c5a7d7f823de9f520822cfb9acd2e62 | /Parallel_Computing/R/Large_Data_Processing_R/parallel_computation/R/plot_scaling_data.R | 306f48731c3748b21edb49bedff7b94c863a12b5 | [] | no_license | fasrc/User_Codes | 8827335131925da4c47b1f00943895a6d20c84b5 | 3f0f2cae6a194f719a764293204e6cd3ccaf2f58 | refs/heads/master | 2023-08-31T07:10:34.249138 | 2023-08-15T17:40:13 | 2023-08-15T17:40:13 | 44,996,115 | 65 | 20 | null | 2022-06-01T14:41:09 | 2015-10-26T20:43:56 | Jupyter Notebook | UTF-8 | R | false | false | 324 | r | plot_scaling_data.R |
data <- read.csv("mpi_data.csv")
ggplot(data, aes(log2(ncore), log2(wc))) +
geom_point() +
geom_smooth(method = "lm") +
coord_fixed(ratio = 1, xlim = NULL, ylim = NULL,
expand = TRUE, clip = "on")
lm(data = data, formula = log2(wc) ~ log2(nco... |
38421afc1d951fb018ad59c687e1e79fa09b5d4e | 6bd2964d55729982d61c10bde2dbfa2054325226 | /man/gammaqInv.Rd | 3c88546b8c7d3b2a964aba5fc8139b69ef666322 | [] | no_license | cran/RxODE | b18e443eba330ec58501739afb9925ed37a1d636 | e3df2ae1504238cfd6cde29522e5a47352df1264 | refs/heads/master | 2022-05-18T00:18:01.276190 | 2022-03-23T00:10:12 | 2022-03-23T00:10:12 | 48,087,995 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,016 | rd | gammaqInv.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{gammaqInv}
\alias{gammaqInv}
\alias{gammaqInva}
\title{gammaqInv and gammaqInva: Inverses of normalized gammaq function}
\usage{
gammaqInv(a, q)
gammaqInva(x, q)
}
\arguments{
\item{a}{The numeric 'a' parameter in ... |
1e3298b7130ae18fcff2e7f0f6f8dde39258e3cb | 1a92a72c70efb815245ed345aca0b109b40d5741 | /Scripts/GetKMStuff.R | 2a4e2993539bb9e3960107e241232b52d74e57af | [] | no_license | shenmskcc/LungIMPACT | 0569a564fbf176c66a77d11f6a2b716e512d405f | b5ee5ff20d96168a37bf57a84cc0470b69b5d697 | refs/heads/master | 2021-03-30T16:31:45.420593 | 2018-05-16T16:10:37 | 2018-05-16T16:10:37 | 103,300,529 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 677 | r | GetKMStuff.R | KMStuff <-function(data,average.risk,topHits,numGroups,cuts,geneList) {
LT = T
cuts <- as.numeric(cuts)
numGroups <- as.numeric(numGroups)
OUT <- MakeKM(data,average.risk,topHits,LT,numGroups,cuts,geneList)
#KM <- OUT$KM_Plot
#Mut <- OUT$mut_Plot
#survSum <- OUT$SurvSum
#MajorCasesKM <- OUT$MajorCase... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.