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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b8ccd384bdbcc72eb2b8cd34cf754b9962b5e2f0 | 5bd4d740e0e91613f66274f44c0eb5b8425caeda | /GettingAndCleaningDataAssignment/run_analysis.R | 0e061bcc22def55a9b76a6f98e841c0379ccee76 | [] | no_license | fryderyc/datasciencecoursera | a7a564b0f13a40e70a5f83f18cf5c186ff1af345 | bf61e02c4ae2f7832b667f13208b257e42a6a81c | refs/heads/master | 2020-03-19T21:16:14.891082 | 2018-07-22T00:17:41 | 2018-07-22T00:17:41 | 136,934,731 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,083 | r | run_analysis.R | if (!"data.table" %in% installed.packages()) {
install.packages("data.table")
}
if (!"reshape2" %in% installed.packages()) {
install.packages("reshape2")
}
library("data.table")
library("reshape2")
if (!file.exists("./data.zip")) {
download.file("https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUC... |
f6202070914190b175a811be98d1a1c2b50f06b5 | 933061de278d39b4c219367a4a373e1b01518e5a | /release/flashlight/R/all_identical.R | 42dcb2168510abef90d915df39fd7b07d6514ef5 | [] | no_license | minghao2016/flashlight | e81a7589d0efc4cefa67f2c60736101d92294090 | 708baeafcf76ad45a1c2a1b4c3118516c722138c | refs/heads/master | 2023-03-03T22:49:00.813416 | 2021-02-08T06:08:09 | 2021-02-08T06:08:09 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 755 | r | all_identical.R | #' all_identical
#'
#' Checks if an aspect is identical for all elements in a nested list. The aspect is specified by \code{fun}, e.g. `[[`, followed by the element name to compare.
#'
#' @param x A nested list of objects.
#' @param fun Function used to extract information of each element of \code{x}.
#' @param ... Fur... |
a9bf61e269b90cb41edc36bef74fdcff4e4375a2 | 39fa87c15571987f79dae2a1305bb8e1efdb2544 | /shinycrab/app.R | 430cd3b742be50b158fd846b9b2cefa93a80e4fc | [] | no_license | czwartackisr/shinycrab | c762af6582a45e1d3838be75b8b1140b06de560c | b5ee928e9cb842f2ca5817ac7b36a6f9d606e4c6 | refs/heads/master | 2023-02-06T17:25:09.463564 | 2020-12-14T18:35:48 | 2020-12-14T18:35:48 | 198,065,012 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,648 | r | app.R | library(shiny)
library(dplyr)
library(ggplot2)
library(DataCombine)
library(PerformanceAnalytics)
library(knitr)
library(rmarkdown)
crab <- read.csv("MyData2.csv", stringsAsFactors = FALSE)
ui <- fluidPage(
titlePanel("Crab Bivariate Modeling (Czwartacki)"),
sidebarLayout(
sidebarPanel(
... |
5820f4f24f2f17dfed7cca5f8f50059bd5300541 | a907ddaf7125844f8e92513bd2eca9fcdda1eafc | /man/rfmods.Rd | 35c9c59a98dc2901d421a7773d4d555026dfde65 | [] | no_license | SCCWRP/ASCI | ba809e5e86bc852def0004248a74fd64525c53b4 | 2b5931289b8790f3144ced9ec062cd3223eaa528 | refs/heads/master | 2023-04-10T00:44:12.540657 | 2023-02-17T09:21:33 | 2023-02-17T09:21:33 | 106,055,957 | 2 | 3 | null | 2020-11-11T20:48:05 | 2017-10-06T22:38:22 | R | UTF-8 | R | false | true | 1,249 | rd | rfmods.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rfmods.R
\docType{data}
\name{rfmods}
\alias{rfmods}
\title{Random forest models for metrics}
\format{
A \code{\link[base]{list}} with six elements, one for each predictive metric and a final element for conductivity estimates:
\describe{
\... |
89106a377c99a21138d0a7a25de5d672df787fe2 | 9880ada8c339324fa920906fd7ad3d4195698996 | /spreadsheet_divider.R | 1a88e1e32b8084f24babea21d190dc924aeb47cc | [] | no_license | Atticus29/spreadsheetSplitter | ec4e78fec9dc223dd0845dcc4885588a7c5f0008 | c4a50c431976cd89eb48d3fc3bfae51b414f81ee | refs/heads/master | 2021-08-15T11:43:18.874330 | 2017-11-17T20:10:33 | 2017-11-17T20:10:33 | 111,146,391 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,048 | r | spreadsheet_divider.R | #########################################
##File name of spreadsheet to read from##
#########################################
fileString = "/Users/mf/2014_and_beyond/Academic/Teaching/Courses/PCC/Biology_101_Fall_2017/master_grades.csv"
################
##Read in file##
################
require(data.table)
data = rea... |
25fd35c98ae7a32144d421eff2d17e466366ea57 | 2483f9da1398797e38a4dd3e17b86ff967b40432 | /population_analysis.R | 200543cb8bdad9f4a950fc79b0614c766066ee0e | [] | no_license | eclarke/vdj_xscid | b5fccbc11c65ee146884c238692972400c8e06a9 | 8a6142b6429d203daaee351f8327ec39fcf3850a | refs/heads/master | 2016-09-05T16:42:49.117949 | 2013-05-23T20:44:15 | 2013-05-23T20:44:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,053 | r | population_analysis.R | library(parallel)
if (F) {
load('all_processed_data.RData')
library(data.table)
# isolate just the processed data from Adaptive
ad.f <- subset(df.filt.all, !is.na(filt.copy))
ad.f$key <- paste(ad.f$accn, ad.f$seq, sep="_")
# collapse the replicate copy number data
cn <- data.table(ad.f)
cn <- cn[, l... |
3282c2b86d69721cb5608c2e46406c344bf2b68c | 712cd388080507751e4bd5a94ed6d77c342c5178 | /src/05_claire_location_analysis.R | bec5b7ad2121e88d2914af2ba8655104934977c7 | [] | no_license | ckelling/Travel_Patterns_SODA_501 | 9f5a18bd9a4ccd602eb2fc7bd4e9186e2a497dc5 | f8fa853e33b70a0f4bedc2bf6d55caa0033ca6aa | refs/heads/master | 2021-09-19T19:55:16.956127 | 2018-07-31T12:21:15 | 2018-07-31T12:21:15 | 117,688,396 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,624 | r | 05_claire_location_analysis.R | ###
### Claire Kelling
### SODA 501
### Final Project
###
### Created 3/29/18 for analysis of locations of Twitter users.
###
library(ggmap)
library(XML)
library(geosphere)
library(geonames)
library(Imap)
library(googleway)
library(dplyr)
library(xtable)
# Load data created my Xiaoran
#load("C:/Users/ckell/OneDrive/... |
10edd78fe8c403d320736264b7096241817c4bba | 97c2e7f4087eacc6f2356e0451413f7b71373ec5 | /R/get_janes_data_xml.R | b0fe771bfbfd0aa0cbcc3cbbdb9605535226fd20 | [] | no_license | cgpeltier/janes | 5c2bd46d7d3850fbe412bafae24213fc42d77b99 | 414218830dfb3d3646595983a83e7fb2d134ba65 | refs/heads/master | 2023-04-08T08:32:53.786585 | 2021-04-13T14:22:31 | 2021-04-13T14:22:31 | 282,264,512 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 668 | r | get_janes_data_xml.R | #' @title get_janes_data_xml
#' @description Pulls Janes data for all data endpoints. Helper function.
#'
#' @param x For iteration on URLs
#'
#' @return Janes data. Used in all "get_janes_x" functions.
#' @importFrom httr GET
#' @importFrom httr add_headers
#' @importFrom httr content
#' @importFrom jsonlite fromJSON
... |
e6fe9f3f01b8cf97fee6f8c28a69e6c9dc598e7a | f8ce1034cef41685ab2387fa42084ac1ee5c96cf | /chapter16/methodgrouped.R | 99e45a2247c950c0b6daa6b1aa0329c0178b6fff | [] | no_license | AnguillaJaponica/RProgramming | ab7e15d99153ebe585745289490e6e3df118a35c | ae1401920b5a52795cffc95bd83922f15761e531 | refs/heads/master | 2020-11-28T10:07:02.579925 | 2019-12-23T15:28:23 | 2019-12-23T15:28:23 | 229,777,900 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 36 | r | methodgrouped.R | plot(rules.Epub, method = "grouped") |
c70fdc72187d77b0c118446fd9d15b46006ef61b | 84b12c5708b2512790b4f3496bb904cac2c520a8 | /R/exam_function.R | 649ffc72a86803d13b3eb4ee356541da640a1c4e | [] | no_license | charlotte-ngs/rmdexam | b753effcc1d464eda41d75b2021ce0a9b54f3b17 | 0842e4dc02206ae06915f0bf2dbb01028028fa8e | refs/heads/main | 2023-01-29T08:15:49.989861 | 2020-12-17T06:13:34 | 2020-12-17T06:13:34 | 322,000,312 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,629 | r | exam_function.R | #' ---
#' title: Create Rmarkdown Exam
#' date: 2020-12-15
#' ---
#'
#' @title Generate Rmd Solutions and Exams
#'
#' @description
#' Given a vector of problem names and a vector of student names, a series of
#' individualised solutions and exams are created. The output currently consists
#' of Rmarkdown source files ... |
3e7d4f91ec8aa7dc60d861b2faf4d40bd219ff82 | b1e1a193db8d4647a2ae1566724beebcfbc2c167 | /index/data/observational/scripts/sensitivity/5_forestplot_master.R | fbb6ab4f1f49a35ddee582ad8141263e8551e01f | [] | no_license | mattlee821/000_thesis | 166cef4616ad70ea47a6d558c77c8c4ec0a021b3 | 867c9f08daea61ecca7aa73e660d5001d1315a1b | refs/heads/master | 2022-05-08T08:26:24.394209 | 2022-04-07T09:30:51 | 2022-04-07T09:30:51 | 229,047,207 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 12,729 | r | 5_forestplot_master.R | rm(list=ls())
# packages ====
library(ggforestplot)
library(tidyverse)
library(patchwork)
library(cowplot)
library(MetaboQC)
# source
source("index/data/index/colour_palette.R")
source("index/data/observational/scripts/my_forestplot.R")
ng_anno <- (metaboprep:::ng_anno)
# data ====
data <- read.table("index/data/obs... |
18df63d1ea87c1cbd4d862647a8fa62c9f40fe6c | 4c0a13d33cd8f90c2ff58c7a297d99d27558804b | /R/frdHouseTest.R | 424dd7ac1e0215d2f5b31a557a7e0b15b29858f8 | [] | no_license | cran/PMCMRplus | ff2109713beb561325dc2dbefeb11cee93f4e82d | a286c945209b4274eeaf972c7d55d47c02b06457 | refs/heads/master | 2023-07-24T04:22:27.676376 | 2023-07-05T23:14:18 | 2023-07-05T23:14:18 | 117,816,366 | 4 | 2 | null | null | null | null | UTF-8 | R | false | false | 6,061 | r | frdHouseTest.R | ## frdHouseTest.R
## Part of the R package: PMCMR
##
## Copyright (C) 2022 Thorsten Pohlert
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or
## (at ... |
02964dac6b9c2d6c91b907ed6a21934c8dc51e8d | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610387012-test.R | 124c07022818300238c729e9b98784ef166134b9 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 314 | r | 1610387012-test.R | testlist <- list(a = 0L, b = 0L, x = c(688392448L, -1694498817L, -738263040L, 0L, 5855577L, 1499027801L, -1L, -1L, 1499027801L, 1499027801L, 1499027720L, 589657L, 1499027801L, 1499027801L, 1499027801L, 22873L, 0L, 66304L, 128L, 0L, 0L, 128L, 0L, 0L))
result <- do.call(grattan:::anyOutside,testlist)
str(result) |
b2693d2e90871149c15164097fae27a2f8128dca | 07ae778ef3a85a9ce3f2ff76a970c6e61d9ef83e | /rprogramming/lab1/corr.R | 79a37a392f99e56647bacc6a229e4dc964fc7bcc | [] | no_license | jiyoochang95/datasciencecoursera | 3f2700ccb2c13f50c03d8ee59aa77edf45798e7a | b786827c8d36a04b0857ecd55ae8eecfadb2e895 | refs/heads/master | 2021-01-16T18:26:19.857191 | 2017-08-25T23:56:50 | 2017-08-25T23:56:50 | 100,079,597 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 270 | r | corr.R | #calculates the correlation between sulfate and nitrate ?
corr <- function(directory, thresehold =0){
threhold>
path <- paste(directory, "/", sep="")
data<-read.csv(path)
nitr<- data$nitrate
sulf<-data$sulfate
cr<-cor(nitr,sulf,na.rm=TRUE)
}
|
78cd5d1c1518804c6a4815fb20ff572fbfe23ce2 | f28fcb459691838193cdb3f33b47238a6d9048ed | /R/pw_cum_mat.R | f2c5ea372c06daa8c32429eaa89dc925d9b455c7 | [
"MIT"
] | permissive | harrisonreeder/AFTTV | af7aee0924b66fb0c2130e2bc4ce4f9e5927ac5f | fad7442512ff7c8aa15343322d20d778dc28d447 | refs/heads/main | 2023-08-16T03:56:56.147806 | 2021-10-25T12:46:47 | 2021-10-25T12:46:47 | 383,913,416 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,349 | r | pw_cum_mat.R | #' Generate Matrix of Values of Integrated Piecewise Constant Function
#'
#' This helper function takes in a vector of event times, and
#' generates a matrix having each row showing the time accrued within each
#' interval between consecutive elements of a vector of knots.
#'
#' @param y vector of event times.
#' @... |
391d92209402e2cb8237efd33b88d8368dcb4cf3 | fc97ee42c50b798eadaeb5f1b51330b7b5002ba0 | /man/dataME.Rd | c8d1fcb323824eb9e3eb570f3c7e91ec18f90abc | [] | no_license | cran/saeME | 268c8a78cf9feea0f32ca747d435f838035c7911 | ec44e009e7fc9d227e8faeec311d29abf8e77ffb | refs/heads/master | 2023-08-31T12:54:26.631299 | 2023-08-21T04:10:02 | 2023-08-21T07:30:42 | 248,760,316 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,513 | rd | dataME.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dataME.R
\name{dataME}
\alias{dataME}
\title{dataME}
\format{
A data frame with 100 observations on the following 4 variables.
\describe{
\item{\code{small_area}}{areas of interest.}
\item{\code{y}}{direct estimator for each domain... |
685d4c611931511e4bdea8caab1ffe798db7f485 | 75747a2cb89888b2eeb812514178007542666be1 | /finalproject_group5/code/modelselection.R | d80660f7110eb68cd14ca5180fa9173e8a7aa12b | [] | no_license | yyy855029/1082-datascience | d105609ff437638efcff4e8a61a15070c01a54a1 | 2eb72acb1631086c8db405a43484908f723224e7 | refs/heads/master | 2023-03-05T08:25:41.655065 | 2021-02-06T06:21:57 | 2021-02-06T06:21:57 | 273,643,014 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,339 | r | modelselection.R | library(ggplot2)
library(dplyr)
library(rpart)
library(randomForest)
library(argparser)
library(party)
library(xgboost)
library(pROC)
library(DiagrammeR)
library(rpart)
library(plyr)
library(dplyr)
library(gridExtra)
library(lattice)
library(caret)
library(e1071)
draw_confusion_matrix <- function(cm) {
layout(mat... |
4c36c4fd1ab1d8b642f6387efa4a18adb5191209 | 0d28ed3493511cf3c37518c4f5b7d9d5c95ff8bc | /C_Code/reactiontimes.R | 585dce2ac9f2a0dbb1b9f7f9065e3411ac80b99d | [] | no_license | horotat/kwg | a75e9e476d19c4eb5048d5b24e5f8d1340f7ad2a | 912d1a4f037418792174e51b8d527f86cfdb55c0 | refs/heads/master | 2020-09-24T23:11:39.566594 | 2019-06-18T16:38:32 | 2019-06-18T16:38:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,974 | r | reactiontimes.R | #Reaction time plots
#Eric Schulz, March 2018
#house keeping
rm(list=ls())
#packages
packages <- c('plyr', 'ggplot2', 'jsonlite', 'gridExtra', 'ggjoy', "tikzDevice")
lapply(packages, require, character.only = TRUE)
#read in data
myjson<-fromJSON("kwg.json")
#empty frame
dat<-data.frame(id=numeric(), cond=numeric(),... |
dd885c7b77a7e83480bd2c5d12e5186c8109c190 | 830233ea981ae9a9b12651ed259814abb7c8e11c | /Module 3 Project R File Xinfei Li.R | d57ab15be889e5e3b7aa8322bad1facdf48b9af0 | [] | no_license | FireDragonBall/Statistical_Analysis_Probability_Distributions | a925d10ef84b5c0b9cbd3c1ff38c574721d0b939 | 250ab168fb43d19ae4e16b42916abe68ce06d2a1 | refs/heads/main | 2023-04-16T01:07:59.626475 | 2021-04-23T14:25:15 | 2021-04-23T14:25:15 | 360,907,539 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,833 | r | Module 3 Project R File Xinfei Li.R |
## Part 1 ##
library(ggplot2)
x= c(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20)
# a
a=dhyper(x,20,80,20, log = F)
View(a)
# b
b=phyper(x,20,80,20,lower.tail = T )
View(b)
# c
plot(x,a)
# d
plot(x,b)
# e
e1mean=sum(x*a)
e2var=sum((e1mean-x)^2*a)
e3sd=e2var^(1/2)
# f
f=runif(1000... |
586d5c1ab456352554f59b78652c988833acf188 | 01477eb2e08dbdd9fa9c68ddee28085de2d34946 | /analysis.R | 491eee5cab76945ba352c67694c5cb1bfca2cefc | [
"MIT"
] | permissive | danielredondo/Gender_academic_study | 7110fd01f248db3d63781eae49d298377d539d50 | 7a1347dd4d813e860f7cd5b954a75951e79003a9 | refs/heads/master | 2023-07-01T12:50:41.568916 | 2021-07-30T07:14:27 | 2021-07-30T07:14:27 | 247,641,949 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 27,320 | r | analysis.R | # In order not to overload the E-utility servers, NCBI recommends that users post no more
# than three URL requests per second and limit large jobs to either weekends or between
# 9:00 PM and 5:00 AM Eastern time during weekdays. Failure to comply with this policy may
# result in an IP address being blocked from access... |
f42214c3ea16e7ac060c092db956dc4b9777203b | 3926260e014b713e47f2a144b7e91f5ec62f5cae | /man/Joint.Wright.Rd | 80027c729dc370f1772ceda39cdb7ba85d772513 | [] | no_license | cran/vrtest | 867cc9fed8c5584c198aa1649413df820357f99d | 405dd094f06dc1cbe6c90c4f00c462c132858d02 | refs/heads/master | 2022-09-24T22:56:16.537410 | 2022-09-05T05:50:02 | 2022-09-05T05:50:02 | 17,700,823 | 1 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,225 | rd | Joint.Wright.Rd | \name{Joint.Wright}
\alias{Joint.Wright}
\title{ A Joint Version of Wight's Rank and Sign Test }
\description{
This function returns joint or multiple version of Wright's rank and sign tests.
The test takes the maximum value of the individual rank or sign tests, in the same manner as Chow-Denning test
}
\usa... |
9accfd055138c56136eed3d5b7bafa31809eaed0 | ba4f888da890e53f17aad4b11435f11cb1784e9f | /diffexpr_PD_RNAseq.R | 24e71d53dc115cd9a147dc3a8103c169dbf35ffd | [] | no_license | arlinkeo/pd_braak | 1b22be85157bd513ea6fab3b4834fe0749b0df38 | 0a6e3642cd4d5832805f4cd2be108e43e5a8f03a | refs/heads/master | 2023-02-27T19:49:31.918756 | 2021-02-03T16:58:34 | 2021-02-03T16:58:34 | 93,852,543 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 17,669 | r | diffexpr_PD_RNAseq.R | setwd("M:/doorgeefluik/Arlin Keo doorgeefuik/RNAseq")
options(stringsAsFactors = FALSE)
library(ggplot2)
library(ggsignif)
library(reshape2)
library(RColorBrewer)
library(PSEA)
##############################################################################
# Prepare and load data
# Braak region colors
braakColors <- b... |
effcb9031747aa129c67ff4b645f7e872443b419 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/hierfstat/examples/allelic.richness.rd.R | 1292b587463f19fd4f0a82e0b82ed0b9cd6d4879 | [] | 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 | 209 | r | allelic.richness.rd.R | library(hierfstat)
### Name: allelic.richness
### Title: Estimates allelic richness
### Aliases: allelic.richness
### Keywords: univar
### ** Examples
data(gtrunchier)
allelic.richness(gtrunchier[,-1])
|
52c4a6e0dc0f16a6362e9465a4dd44db3f422a12 | b48ea7f06b12d71fe597adefa5da35e81d08caf8 | /inst/examples/09-themes/ui.R | e5742818255d7a4024c57cb849f7533947338d5c | [
"MIT"
] | permissive | shinyTree/shinyTree | c840dd94af787e15cce6b7c0d4b73b2537123b8a | 110b49970d117d0638746d47b074e955287abed0 | refs/heads/master | 2023-08-30T22:50:33.875203 | 2023-08-07T15:53:07 | 2023-08-07T15:53:07 | 22,565,116 | 75 | 42 | NOASSERTION | 2023-02-08T10:37:30 | 2014-08-03T02:44:13 | JavaScript | UTF-8 | R | false | false | 744 | r | ui.R | library(shiny)
library(shinyTree)
#' Define UI for application that demonstrates a simple Tree editor
#' @author Mike Schaffer \email{mschaff@gmail.com}
shinyUI(
pageWithSidebar(
# Application title
headerPanel("shinyTree with built-in themes"),
sidebarPanel(
helpText(HTML("An example of using... |
41281f95ee9b4c599e7fe62288276bb6a4d40f90 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed_and_cleaned/12396_0/rinput.R | 4da8ebd95373e9430a5c630d02588891afc00452 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("12396_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="12396_0_unrooted.txt") |
0a9a61509447462bc8fa8458eed7e60b37c2c2e6 | 402d5c4ac8d58eb0d4248f791568dd5f31fc60e0 | /tests/testthat/test_martCheck.R | b24fb16d60a830b180ca77bf341c491e5ae462dc | [] | no_license | JianZhangSMU/biomaRt | 59bb8b067356b4b3cbc15e32fc9771cbe77e4110 | ad5e80ca5f72a64c54181d96b4e66a01f15b970e | refs/heads/master | 2020-07-29T16:42:52.455896 | 2019-08-19T13:56:24 | 2019-08-19T13:56:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 834 | r | test_martCheck.R | library(biomaRt)
context('Testing martCheck function')
test_that("martCheck() catches bad input", {
expect_error(biomaRt:::martCheck())
expect_error(biomaRt:::martCheck("INVALID_OBJECT"))
ensembl <- useMart("ensembl")
expect_error(biomaRt:::martCheck(ensembl),
regex = "No datase... |
fa3560a85527bcd0efdbb4da669613e889a78d86 | ed12c9bfe2bf74f24d69b5e52f041383202e46b9 | /exercise-1/exercise.R | 8ef3d38d8a2e71d22024e5770a54f8095c70bf0b | [
"MIT"
] | permissive | Kidusyohanes/m10-dataframes | f3ded85f927195dd42683aa6ca92364bb02ac888 | 1879290beccc15afd62bf1e17e94cde85b1c0ae1 | refs/heads/master | 2020-11-29T15:28:21.903430 | 2017-04-12T16:49:07 | 2017-04-12T16:49:07 | 87,478,038 | 0 | 0 | null | 2017-04-06T21:47:03 | 2017-04-06T21:47:03 | null | UTF-8 | R | false | false | 874 | r | exercise.R | # Exercise 1: Creating data frames
# Create a vector of the number of points the Seahawks scored the first 4 games of last season
# Hint: (google "Seahawks scores 2016") 35W 25W 20L 6T
first.4.games <- c(35,25, 20, 6)
# Create a vector of the number of points the Seahawks have allowed to be scored against them in the... |
d69c8a4b9f1c9e753ee880d55a3bac5f6d93041c | a8279a7eb91b2ad6a139af9be2fa0d1b04ccc04f | /man/results_raw.Rd | dfa4e3dc84d4bb03e380388917d2665133351403 | [
"MIT"
] | permissive | apreshill/bakeoff | c97374b7266f5538c06d1e2c41be24eb806383cb | 00fdf4dd339b69a60b1d7c9fa7e5850971e04463 | refs/heads/main | 2022-11-06T21:27:17.805375 | 2022-11-02T11:38:26 | 2022-11-02T11:38:26 | 137,939,073 | 56 | 23 | NOASSERTION | 2022-03-04T19:37:05 | 2018-06-19T19:56:12 | R | UTF-8 | R | false | true | 1,146 | rd | results_raw.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/results_raw.R
\docType{data}
\name{results_raw}
\alias{results_raw}
\title{Each baker's results by episode (raw)}
\format{
A data frame with 1,136 rows representing individual bakers per
episode and 4 variables:
\describe{
\item{series}{A fac... |
58348abdb56c78a8ae4311bcccc5a1d60be8bfb7 | 315cef05afe87c65d129eb0b5bc3514f35623ed6 | /plot3.R | 2f2ad68245233fc05a6a7cb35651c03bd8d54dc5 | [] | no_license | maxzeller/ExData_Plotting1 | e1e76395d45d87ae622fd6d2cdf8de150c78c4ed | 7c42bc768dbb645ab471183ed59ec070c7a769a8 | refs/heads/master | 2020-02-26T16:37:50.551075 | 2016-05-03T19:35:58 | 2016-05-03T19:35:58 | 57,995,208 | 0 | 0 | null | 2016-05-03T19:15:56 | 2016-05-03T19:15:56 | null | UTF-8 | R | false | false | 1,218 | r | plot3.R | temp <- tempfile()
download.file("https://d396qusza40orc.cloudfront.net/exdata/data/household_power_consumption.zip",temp)
test <- read.table(unz(temp, "household_power_consumption.txt"),header=T,sep=";",nrows=5,na.strings="?",stringsAsFactors=F)
print(test)
data <- read.table(unz(temp, "household_power_consumpti... |
06b6db0f307dd2d1d3026f1dad9ec69bb3320a26 | 9716a6d75781d99a1cfdfc09cb55b7f53ea46b81 | /misc/fibPlay.r | 887f6334264829f2cfdc5a5557ef72f992707cbb | [] | no_license | ricardianambivalence/Rproject | 17ae2017de25cb8e934fbce5bc4619b86ce49194 | a7136c6cf654cc8c1eda4d74d98764e3037b5764 | refs/heads/master | 2021-01-01T06:04:47.397872 | 2014-01-26T23:37:43 | 2014-01-26T23:37:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,866 | r | fibPlay.r | # fib benchmarks
require(rbenchmark)
require(lambda.r)
require(compiler)
Fib <- function(n)
{
if(n < 2) return(n)
Fib(n-1) + Fib(n-2)
}
cFib <- cmpfun(Fib)
FibG <- function(n)
{
if (n == 0) return(0)
if (n %in% c(1:2)) 1
else {
y <- rep(1, n)
for (i in 3:n) y[i] <- y[i-1] + y[i-2]... |
1497828882c2fe0b37a0bfbb03a53fe62fbedb97 | 84b1dd8d67a6b29fcd8967060892873cb12e6962 | /man/grapes-plus-equals-grapes.Rd | 5d1e97887448216974b06ca463b35130239ae9b6 | [
"MIT"
] | permissive | jakedilliott/covidfireMASS | 0423a28bc1d6b6436b40c337d08ab625ee50f8ba | e6643c0f75f8791ddd4b73669e9566aac1ea3501 | refs/heads/main | 2023-04-09T08:21:50.387803 | 2021-06-19T05:48:14 | 2021-06-19T05:48:14 | 327,392,364 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 267 | rd | grapes-plus-equals-grapes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/increment.R
\name{\%+=\%}
\alias{\%+=\%}
\title{Increment operator}
\usage{
e1 \%+=\% e2
}
\arguments{
\item{e1}{...}
\item{e2}{...}
}
\description{
used to increment days in quarantine
}
|
35ef26aabae22ba94e97ad6417cdee3f4a99376b | 7917fc0a7108a994bf39359385fb5728d189c182 | /cran/paws.compute/man/ec2_reset_instance_attribute.Rd | 7fbf65a20a2ac58a2ce3a94439f4b90dbaa361be | [
"Apache-2.0"
] | permissive | TWarczak/paws | b59300a5c41e374542a80aba223f84e1e2538bec | e70532e3e245286452e97e3286b5decce5c4eb90 | refs/heads/main | 2023-07-06T21:51:31.572720 | 2021-08-06T02:08:53 | 2021-08-06T02:08:53 | 396,131,582 | 1 | 0 | NOASSERTION | 2021-08-14T21:11:04 | 2021-08-14T21:11:04 | null | UTF-8 | R | false | true | 2,208 | rd | ec2_reset_instance_attribute.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ec2_operations.R
\name{ec2_reset_instance_attribute}
\alias{ec2_reset_instance_attribute}
\title{Resets an attribute of an instance to its default value}
\usage{
ec2_reset_instance_attribute(Attribute, DryRun, InstanceId)
}
\arguments{
\item{... |
9aae319e14dee864369c9518eb243e70c6143f63 | 0cc521004d73ec5cfc1098684c651b8e98f25dd9 | /man/importDittoBulk.Rd | 7cea5531db6570f3c789a3e1fb0d10ff40e130ab | [
"MIT"
] | permissive | dtm2451/dittoSeq | 875c3e125ff5de2f367f741279db1cec00114b85 | 727304c42a263d423e211844be01e25b6cc0452a | refs/heads/devel | 2023-08-31T07:07:13.662247 | 2023-08-17T18:57:40 | 2023-08-17T18:57:40 | 171,289,840 | 121 | 15 | MIT | 2023-09-14T14:45:27 | 2019-02-18T13:31:48 | R | UTF-8 | R | false | true | 6,034 | rd | importDittoBulk.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/importDittoBulk.R
\name{importDittoBulk}
\alias{importDittoBulk}
\title{import bulk sequencing data into a SingleCellExperiment format that will work with other dittoSeq functions.}
\usage{
importDittoBulk(x, reductions = NULL, metadata = NUL... |
2936bef12df1de2bf4a380cc6ce1cc327051f247 | 17bce903f04119fd1e888216675eea2834191315 | /R/UScancer.R | 22118fa39ab598527d93c32926902ece449fe368 | [] | no_license | cran/UScancer | a81d91adbf571edd9d575c6887efb3886d3f4346 | c8b0bde7b24f5ec32957e5b32b072a27737d32b0 | refs/heads/master | 2020-12-24T16:49:53.609812 | 2014-08-08T00:00:00 | 2014-08-08T00:00:00 | 17,693,982 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 180 | r | UScancer.R | # depends: diseasemapping
# depends: maps for county fips lookup table
# NEVERMIND, use own since maps::county_fips is missing hawaii, alaska, puerto rico
# depends: rgdal
|
f81488772f0f85e0ddc6687f0345c4a9e4707b56 | a011404b82226d0c87614aeae8e5bbeb35627e06 | /Male-Femal-Modelling.R | 634ae19c52053980bc2e5d22d926b95828a0f980 | [] | no_license | srihari-busam/ist707 | 548d74da8c25f192189c45f2c3d6f13884bbbc6f | 9ecdca3012efb8b74a1ce5a3bd13e63000307e4f | refs/heads/master | 2021-01-06T22:45:59.117954 | 2020-03-23T02:54:44 | 2020-03-23T02:54:44 | 241,503,711 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,349 | r | Male-Femal-Modelling.R | # load required libraries
library(caret)
library(rpart)
library(tidyverse)
library(rpart.plot)
library(arules)
library(arulesViz)
library(rattle)
cardio_male_df <- read.csv('cardio_train.csv', header = T, sep = ';')
str(cardio_male_df)
nrow(cardio_male_df)
# convert age to years.
cardio_male_df$age <- round(cardio_ma... |
32550223d1b2f19b74527c64e86484e624a26b7b | d17f8ecb0a36d31e316a724b578443c461db65dd | /H2ORF.R | dbb871f507ae4b078f53aed4f7706814e2fc3dfe | [] | no_license | cjferba/Kaggle-West-Nile-Virus-Prediction | abaec70952b753baa1c0f85cbaaece1852b8e029 | 82a40c22bacb1c12e90448f664f8de17c0ab772e | refs/heads/master | 2021-01-10T13:41:32.770728 | 2015-10-25T19:55:42 | 2015-10-25T19:55:42 | 44,927,015 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,821 | r | H2ORF.R | #install.packages("mefa", repos="http://R-Forge.R-project.org")
library(mefa)
library(lubridate)
path <- "input/"
train = read.csv(paste0(path,"train.csv"),header=TRUE,stringsAsFactors = T)
test = read.csv(paste0(path,"test.csv"),header=TRUE,stringsAsFactors = T)
weather = read.csv(paste0(path,"weather.csv"),header=TRU... |
20ddc44c23090540a2a7db2b790106e1d23f9421 | 72427aee24b2ec3ffd6eb93d72bfb1aa1baa81ca | /cachematrix.R | 94447c4e7d92f0895a821c52b68abeb5ff327c9f | [] | no_license | Jake-Kim71/ProgrammingAssignment2 | 981af0ac14dfd6ad107b89928d3448f27a776bbc | 8d34436bad74ad7d37eb08fd989b25d129b6bc71 | refs/heads/master | 2021-07-01T06:47:50.275416 | 2017-09-22T01:06:23 | 2017-09-22T01:06:23 | 104,399,959 | 0 | 0 | null | 2017-09-21T21:18:06 | 2017-09-21T21:18:05 | null | UTF-8 | R | false | false | 1,869 | r | cachematrix.R |
## By Jake Kim - Coursera R-programming wk3 assignment
## makeCacheMatrix funtion:
## This function creates a special "matrix" object that can cache its inverse.
makeCacheMatrix <- function(x = matrix()) {
inv_matrix <- NULL # initialize the inverse matrix as NULL
s... |
6950926b2c849682418dd869502e08c276b4a706 | acdb4641a5fe28bfe145dcdd84ba8badbc69a355 | /run_analysis.R | 02ee7b5fb2d5550da78a4419cb3f130b75f78b37 | [] | no_license | bigtunacan/GettingAndCleaningData | ff97c81b7cde4ca6d6fac77141e81b6aeeadb035 | 32b1331591854a74f472cceb113182152165b6f8 | refs/heads/master | 2021-01-01T18:54:50.315449 | 2015-07-26T19:52:57 | 2015-07-26T19:52:57 | 39,480,650 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,304 | r | run_analysis.R | # This line of code will set the working directory to
# match the directory of this source file
setwd(dirname(sys.frame(1)$ofile))
if(!file.exists("data")){ dir.create("data")}
if(!file.exists("data/data.zip")){
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
d... |
f5e4f98a53f305c7e414ddbea9bf6b326864c496 | 6b769ade12829c97f7aa9930265418bede361967 | /R/table15_10.R | 20324ace7a145535f39a43370eb31dc2c60fac33 | [] | no_license | brunoruas2/gujarati | 67b579a4fde34ae1d57f4a4fd44e5142285663c1 | a532f2735f9fa8d7cd6958e0fc54e14720052fd4 | refs/heads/master | 2023-04-07T01:15:45.919702 | 2021-04-04T15:10:58 | 2021-04-04T15:10:58 | 284,496,240 | 14 | 6 | null | null | null | null | UTF-8 | R | false | false | 288 | r | table15_10.R | #' Table 15_10
#'
#' Estimating the Index Ii from the Standard Normal CDF
#'
#'
#' @docType data
#' @usage data('Table15_10')
#' @format
#'
#' \itemize{
#' \item \strong{P}P are from Table 15.5;
#' \item \strong{I} I = F^-1(P) are estimated from the standard normal CDF
#' }
'Table15_10'
|
3b03efdcb55202db84e7e3c2c58da6532392ae7e | 371625687f067baacf648a725b1649df98f5f542 | /writeCSV.R | 11eb67891f0bf8b453ed0be4096b138745ff0fb2 | [] | no_license | jfroeschke/CoralPredictiveModel | 55dc1c77b2287e5c178ebd26b1ffb3f4170fc875 | 0e7fc569ec4d7512d49239d28e06d628c36e52c5 | refs/heads/master | 2021-01-23T02:15:04.565958 | 2017-11-22T14:28:46 | 2017-11-22T14:28:46 | 85,975,148 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,131 | r | writeCSV.R | ##write occurrence data as csv
## Read in coral data with environmental variables values extracted to dataframe
## Read in Coral and Extracted Environmental data at each coral location (all species)
#### See section 3.1 - 3.5 of maxextentcoralv010.R for information on the preparation of this shapefile
library(rgdal)
Co... |
7d206ca90171523bdd781b93adae11710819a915 | 5e821282973b62d9092cb9086e3651d0b56bd354 | /sbatch_skill_against_reference.R | 4390b580163f133989af040fcb32dc3ca0193702 | [] | no_license | jonasbhend/Rdump | 80e9348b454c249a8aa4e0d1efe69680e16c5a1e | e24483bf69867c5a25ef1c55244cdf9c1ad6998c | refs/heads/master | 2022-09-27T22:30:35.909822 | 2022-09-19T15:03:57 | 2022-09-19T15:27:22 | 49,267,714 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,870 | r | sbatch_skill_against_reference.R | ## script to compute skill metrics from debiased or raw forecast metrics
## load packages
library(myhelpers)
library(easyVerification)
library(methods) ## for processing with Rscript
library(biascorrection)
## library(veri)
library(verification)
scores <- c('FairRpss', 'FairCrpss', 'EnsRpss', 'EnsCrpss', 'EnsRmsess')... |
38a0de2912c526be742fd529ed77a0ee59b266b4 | 6e80b38f49df58293aa40e4ab6d1a9b87de73193 | /Network Code/Network_Analysis_woOptimization_7_26_17.R | a854fb28c470f8adcc111ddf83570f22dea02db7 | [] | no_license | anooshrees/Jackson-SSP-Code | 981676de895a3dfcb873500e12a074a9f00a1b78 | a0e4277e8a90b665be43679460aadde8647e0ae9 | refs/heads/master | 2020-03-23T00:39:10.788298 | 2018-07-13T17:44:30 | 2018-07-13T17:44:30 | 140,876,683 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 52,683 | r | Network_Analysis_woOptimization_7_26_17.R | ################################
#
# Processing for TF networks
#
################################
geneset.info <- load("~/Downloads/geneset.info.RData")
network.data <- load("~/Downloads/aging_fpanalysis_gene.target.mode.radius_p900_consensus.filtered_mbf1_peaks.PD_explicit (1).RData")
temp = list.files(pattern="*.t... |
a36a5d7422647c1b37b07c264f6faa9829df042b | 836871abe39af81f483418b56e328bb2e281e5d1 | /man/robustHInit.Rd | 9c1a0d787da1ad7e90a2b134f04f8c22353f0528 | [] | no_license | HenrikBengtsson/ACNE | 7576aeb7d6d4e16a8fa40733f8156e1e5c11f538 | 31dc8364bb5310f1d8f7a757e608db30aac49147 | refs/heads/master | 2023-07-09T20:58:21.796880 | 2023-06-25T21:34:53 | 2023-06-25T21:34:53 | 31,195,973 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,007 | rd | robustHInit.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% robustHInit.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{robustHInit}
\alias{ro... |
23b68fc7ae997450ea25fc8472466b3150ec6ea0 | 5c5242760e0a45fef0400f48173fc325c296a80e | /man/crossCorrByShift.Rd | 405c05726c671457b17c5f4c925a2accd5039e32 | [] | no_license | jrboyd/peakrefine | 29f90711497b0b1de56ff9fe5abed1aeb98e705f | 44a7f42eeefefb52a69bb3066cc5829d79d25f02 | refs/heads/master | 2021-07-08T05:11:24.470701 | 2020-07-27T16:36:31 | 2020-07-27T16:36:31 | 148,842,127 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,617 | rd | crossCorrByShift.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/functions_crossCorrShift.R
\name{crossCorrByShift}
\alias{crossCorrByShift}
\title{Calculate cross strand correlation using the read shift method.}
\usage{
crossCorrByShift(bam_file, query_gr, n_regions = 20, max_dupes = 1,
frag_min = 0, fr... |
4b28274382c7a119f1ccc170eb1298497ed50fb2 | 050edfa53f5ec7d76b2321c552266e0f60e4db92 | /R/k5_k1.bar.R | 87db2e3b1deb08407f5a21b01c47841f5f75a12f | [] | no_license | placeboo/subgraph | e1ab54fabda52ed4243fdc5cdc2a348b2da6d41c | 37036807aa7bd75aeab90fe224fdd44c126fb3f9 | refs/heads/master | 2021-10-27T15:54:59.877512 | 2019-04-18T08:08:57 | 2019-04-18T08:08:57 | 107,905,890 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 742 | r | k5_k1.bar.R | #' fiveFlower graphs
#' List all possible fiveFlower graphs based on given SIX nodes
#' @param x The vector representing nodes
#' @return A matrix listing edges of fiveFlower graphs
#' @examples
#' k5_k1.bar(c(1:6))
k5_k1.bar = function(x){
if(length(x) != 6){
stop("The number of nodes shoul... |
b9b64e5216f07baebda3d356d33f306173050ada | 682fdb45d76bd462593d07113a0f642665ff44a3 | /man/write.group.morph.standard.singlehemi.Rd | fb2fdfa69338b5d0b37bdcd8012bed3b40dc2581 | [
"MIT"
] | permissive | dfsp-spirit/fsbrain | dd782c91f95c52b8039e4ec6642345d994a6ed84 | 09f506dbf5467356ab26a65246f31051da58f198 | refs/heads/master | 2023-07-06T10:11:18.468284 | 2023-06-26T16:42:45 | 2023-06-26T16:42:45 | 209,085,379 | 44 | 12 | NOASSERTION | 2023-01-15T19:49:54 | 2019-09-17T15:05:51 | R | UTF-8 | R | false | true | 1,113 | rd | write.group.morph.standard.singlehemi.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fsdir_abstraction_group.R
\name{write.group.morph.standard.singlehemi}
\alias{write.group.morph.standard.singlehemi}
\title{Write single hemi per-vertex data for a group of subjects to given file names.}
\usage{
write.group.morph.standard.sin... |
ef89b54349e0551dea3d952b735947d941cb35fe | b817cf5b07c5edec40937825665a155f0f95ee2a | /R/states.r | 9711ca63fbeedd36096e8819e07e8bce5745f92b | [] | no_license | rui/Dissertation | f67c133921efea4ad06c34348a96884a7fea28ba | 51a05c3191094d9d68d4e597af933113c81da808 | refs/heads/master | 2021-01-17T05:38:06.291472 | 2012-05-01T20:02:56 | 2012-05-01T20:02:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,385 | r | states.r | states = matrix(c(
'Alabama','AL',
'Alaska','AK',
'Arizona','AZ',
'Arkansas','AR',
'California','CA',
'Colorado','CO',
'Connecticut','CT',
'Delaware','DE',
'Florida','FL',
'Georgia','GA',
'Hawaii','HI',
'Idaho','ID',
'Illinois','IL',
'Indiana','IN',
'Iowa','IA',
'Kansas','KS',
'Kentucky','KY',
'Louisiana','LA',
'Maine'... |
88c616ccd1c703714bd37e248b22adc7160e2d77 | e40e60878aa2a88f9a300b2e6ee0cd628686e2ef | /R/complexity.R | 797c603f9dcbb9a02783f4fb88b7a20d41304ed8 | [
"MIT"
] | permissive | bfgray3/bigo | 4c21dd6dfde31bd3c55cb8e2d3d973874e6a023a | 75d9f94a52bca93f15c501616429e8bf6bdb74e4 | refs/heads/main | 2021-05-06T18:38:32.427975 | 2017-11-28T02:06:47 | 2017-11-28T02:06:47 | 112,034,044 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,044 | r | complexity.R | ############
### time ###
############
.time <- function(.expr) {
elapsed <- system.time(.expr)
elapsed[["elapsed"]]
}
###############
### .f_time ###
###############
.f_time <- function(..., .fun) {
.time(.fun(...))
}
############
### bigo ###
############
#' Big-O
#'
#' Analyze the algorithmic complexity o... |
c0c0357e85eb02ae8d4a7ad257bb63f936196848 | c5dc4ae6beeec17d2076242ab1965f0e2df0ea8f | /global.R | 23a2d9f50315c7846fe4057c7c1ed19765efce66 | [] | no_license | seewilds/DevDataPRoducts | e4207b87ec22859c70fdf3a138816607f840c29b | ff400adc1521b2909256943f450a7ded7943c736 | refs/heads/main | 2023-07-10T03:32:26.913860 | 2021-08-19T17:40:15 | 2021-08-19T17:40:15 | 398,024,809 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,271 | r | global.R | library(shiny)
library(dplyr)
library(ggplot2)
library(reshape2)
#setwd("~/REE Projects/shiny")
ree_aggregates <- read.csv("ree_aggregates.csv", encoding = "UTF-8")
ree_aggregates$Project<- as.character(ree_aggregates$Project)
ree_aggregates$Owner.s.<- as.character(ree_aggregates$Owner.s.)
ree_aggregates$Confidence<... |
26d1b960818ed0cb480839c08e72424a209da928 | 7b18e1d9702050698af4d415932892de1462d16c | /SRC/02clean.R | d567f55e410e7780986f465a7df34c9c10a56ab2 | [] | no_license | anykine/DuchenneConnect2016 | 3de9cb100823b4ee72239165322e8f81664fd583 | 3947e6f54f6d820bfdd7e6c0308a6cf1e1c22900 | refs/heads/master | 2021-10-22T20:29:35.106649 | 2019-03-12T19:24:00 | 2019-03-12T19:24:00 | 100,430,011 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,684 | r | 02clean.R | # Some data sets have multiple rows per individual (time course)
# so I use data.tables() to get last row to dedup
#
#
# ----------- MUSCLE DATA -------------
#
# Data cleanup
setkey(muscle, Patient.ID)
muscle2 = muscle[, .SD[c(.N)], by=Patient.ID] # this gets the last row for each patient record
#
#
# -----------... |
7fc5e502816c5307aedd5ea2f256c9a16ea476ef | 30596cbc584495402cfeb772b669f5c896fe90db | /register.R | 0e34b18bfa6feeea994aace1f042f86869998e88 | [] | no_license | boettiger-lab/data-tracker | de855d74adf362424a4e8f4124d66cde39563562 | 434c33fe2d5b5b2d11282d976208bc419ef67687 | refs/heads/master | 2021-08-17T09:31:39.022454 | 2021-08-01T00:28:00 | 2021-08-01T00:28:00 | 242,202,095 | 0 | 1 | null | 2020-03-05T08:20:05 | 2020-02-21T18:12:13 | R | UTF-8 | R | false | false | 239 | r | register.R |
urls <- paste0("https://github.com/boettiger-lab/data-tracker/raw/master/",
list.files("store", full.names = TRUE, recursive = TRUE))
lapply(urls, contentid::register, registries = c("https://hash-archive.org", "store/"))
|
5d85196158aa8b36def02d8c6791f79808f5bbb7 | 9b67199df14059ab543e777aac16e78a441656ef | /HypothesisFive.R | 31b8fea163d43e4a5cd1ee23e222019a41f5b022 | [] | no_license | megzcalvert/AMtoo | 608b5bcac2ffd708fc3e3e3c4ab979408bb748d8 | 4a900df8f3edd3defd31e08f5950cc8b2271295e | refs/heads/master | 2021-06-26T03:07:08.958953 | 2020-10-18T16:20:05 | 2020-10-18T16:20:05 | 153,009,441 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,222 | r | HypothesisFive.R | rm(list = objects())
ls()
library(readr)
library(data.table)
library(tidyverse)
library(janitor)
library(tidylog)
library(broom)
library(Hmisc)
library(psych)
getwd()
setwd("~/Dropbox/Research_Poland_Lab/AM Panel/")
pheno17 <- fread("./Phenotype_Database/pheno17_htpLong.txt")
pheno18 <- fread("./Phenotype_Database/p... |
3b5da42368816f9279ec9f351681872cfc4eddde | 89d5a7062a6991a49efcd21313c9f2daeb26261c | /R/market_data.R | c9515f95bad5d2270eb5672761335d2ac6d51105 | [] | no_license | anttsou/qmj | 3786eb2bdff69831ae6e4bdda9d37d9c03af27a6 | ffc56ea6d7a00e8f2f958df9c44a6008211882d3 | refs/heads/master | 2021-01-19T00:47:23.680802 | 2016-07-10T21:48:59 | 2016-07-10T21:48:59 | 29,163,706 | 10 | 7 | null | 2016-01-10T23:36:58 | 2015-01-13T00:08:25 | R | UTF-8 | R | false | false | 5,739 | r | market_data.R | #' Produces component and quality scores.
#'
#' Calculates market growth, payouts, safety, and
#' profitability of our list of companies for later
#' processing.
#'
#' All parameters default to package data sets and must
#' be formatted similarly to a data frame produced by
#' \code{\link{tidy_prices}} and \code{\li... |
47037d9a68f6a77c1dd69e201d7321f985652b8d | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/LFDREmpiricalBayes/examples/PRGM.action.Rd.R | d355fc8aa4168efcb0d817ecf5278a43e39bd764 | [] | 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 | 552 | r | PRGM.action.Rd.R | library(LFDREmpiricalBayes)
### Name: PRGM.action
### Title: Based on the Robust Bayes Approach, Performs a Multiple
### Hyothesis Testing Problem under an Squared Error Loss Function
### Aliases: PRGM.action
### Keywords: Posterior Regret Gamma Minimax Average
### ** Examples
#LFDR reference class values generat... |
909e83ed4cc8531cc31bd6be7122fa4d84539f2f | 7d47028c95b2d6aef5e0f790421dca147305361e | /Missing_data_imputation_breast_cancer.R | f950c759c6738744bed3022674518df490e1e72f | [
"MIT"
] | permissive | pdeepak87/R-stats-machine-learning | 42d77c3a702579560cef3b1c038158f8b081ffa2 | 1c0d48c6c8c1434c3cc57cab40a3e9cec93f579a | refs/heads/master | 2023-03-25T17:18:02.067678 | 2021-03-20T23:41:41 | 2021-03-20T23:41:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,046 | r | Missing_data_imputation_breast_cancer.R | # Read the text file with na.string set to '?'
df <- read.csv("breast-cancer-wisconsin.data.txt",header=F,na.strings = '?')
# How many NA/missing values are present?
sum(is.na.data.frame(df))
library('mice')
md.pattern(df)
# Imputation
tempData <- mice(df,m=5,maxit=50,meth='pmm',seed=500)
summary(tempData... |
b57498e497fcb07971f2224ee27ffb079732f55c | f91396d3c1827d2d5378da2ed3ed86ff90e94f20 | /man/print.madr.enumerate.Rd | 95320598d712635c24ab775b459b95a866ac18d2 | [] | no_license | cran/madr | 210133189f56e00a8402a344db35d2abd7c8724c | 904590d2d0d243f2a3468438f08409b1c77d0ce0 | refs/heads/master | 2020-07-26T08:18:31.152650 | 2016-09-05T20:23:43 | 2016-09-05T20:23:43 | 67,250,354 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 394 | rd | print.madr.enumerate.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/print.madr.enumerate.r
\name{print.madr.enumerate}
\alias{print.madr.enumerate}
\title{Print function for madr.enumerate class}
\usage{
\method{print}{madr.enumerate}(x, ...)
}
\arguments{
\item{x}{madr.enumerate object}
\item{...}{ignored}
... |
bf937b30ed64a897398e23988a6704036fa50265 | 5ee80f0189bcd1401a6c86957c0d242a024f6474 | /04.String/String.R | 6c031968e2fd3344ceed670443423fde6c985da1 | [] | no_license | Mynuddin-dev/R-Programming-A-Z | 71bdf490f2b83a5dbbdcb96b9c3abcb0a8f98520 | 8f12ff33cd684a997aeb899fab9b7613fe9bb9b1 | refs/heads/main | 2023-04-08T21:48:56.181790 | 2021-04-24T14:44:27 | 2021-04-24T14:44:27 | 356,656,100 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,535 | r | String.R | a <- 'Start and end with single quote'
print(a)
b <- "Start and end with double quotes"
print(b)
c <- "single quote ' in between double quotes"
print(c)
d <- 'Double quotes " in between single quote'
print(d)
#Examples of Invalid Strings
# e <- 'Mixed quotes"
# print(e)
#
# f <- 'Single quote' in... |
063dc6ec9941ac15861068701a254607f2209e1f | 0102f791bde704863c4822abf1aee441b0715a53 | /risk_network/visNetwork-master/R/visTree.R | 02656456b5a9bfd8eaf4cb5cbeb564c80d16100d | [
"MIT"
] | permissive | WilliamTorsett/data_analytics | 34ade6b3505a793332f91c2b0190f7509559c78b | 01f98c5afaf652990897fd1f9d9df1ae2d3d2ee3 | refs/heads/master | 2022-12-06T14:40:42.492982 | 2020-08-30T14:40:30 | 2020-08-30T14:40:30 | 258,614,710 | 0 | 1 | MIT | 2020-08-30T14:40:31 | 2020-04-24T20:15:57 | HTML | UTF-8 | R | false | false | 37,824 | r | visTree.R | #' Visualize Recursive Partitioning and Regression Trees (rpart object)
#'
#' Visualize Recursive Partitioning and Regression Trees \code{rpart}. Have a look to \link{visTreeEditor} to edity and get back network, or to \link{visTreeModuleServer} to use custom tree module in R
#'
#' @param object \code{rpart}, rpart o... |
65c29e1509c88d08228abb65297bd86350341711 | 63b1476cd7341c9fbe29b51e0d0ae4d65f55eb97 | /chemical.R | c3a088d45cd96ad476b882632332102e35695bea | [] | no_license | aguimaraesduarte/msan604 | 4b3f6a63559e2e890c257ddb8b5d281f17aa6136 | 17dd54dae05baa12bfbda3835d4e407b6878a74e | refs/heads/master | 2021-03-27T14:40:01.145454 | 2017-02-01T04:51:15 | 2017-02-01T04:51:15 | 72,265,858 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,941 | r | chemical.R | rm(list=ls())
cat("\014")
par(mfrow=c(1,1))
# Load libraries
library(tseries)
library(forecast)
library(lawstat)
## Chemical data
chem <- read.table("chemical.txt", header = F)
chem <- chem$V1
ts.plot(chem, main = "Daily Chemical Concentrations", xlab = "Days", ylab = "Concentrations")
# check whether ordinary diffe... |
fa32c2eeba05ae75167e24a6d2814163f7df1f1e | 44a51100036590df139b16915ab4b04bf4f7b3c9 | /scripts/graph_by_teams.R | 26d86d329f0ab942c0ff5dd513f9d69bddc5c860 | [] | no_license | wellrangel/Bball_players_versatility | 5b4b53c831db62e7976230ad99aa2c4cc522eb13 | d345fe16312d3221c272f5aca42e4c087a1fad02 | refs/heads/master | 2020-04-25T02:08:58.798151 | 2019-04-16T05:36:42 | 2019-04-16T05:36:42 | 172,429,016 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,021 | r | graph_by_teams.R | library(stringr)
library(reshape)
library(reshape2)
library(sqldf)
library(ggplot2)
library(plyr)
source("scriptsnovoscampos/functions.R")
rotatedAxisElementText = function(angle,posicaoition='x'){
angle = angle[1];
posicaoition = posicaoition[1]
posicaoitions = list(x=0,y=90,top=180,right=270)
if(!posi... |
f8be123ceee1d32f01baf45f7735085c017441d6 | 5a9956727d7a12f0bf2c697c486a49c2f37ed8c3 | /man/classifier_loglikelihood.Rd | 4b5e9cd12cff3612e88df857a537d2cb11da5fde | [] | no_license | mlondschien/hdcd | fb1bfcf9315bcda74632e86c415d22357193f5d9 | c6dd90aceb7921b25d18f9395771415080a6b530 | refs/heads/master | 2023-02-04T08:14:54.664927 | 2020-12-29T18:48:35 | 2020-12-29T18:48:35 | 280,871,404 | 2 | 0 | null | 2020-10-22T16:41:27 | 2020-07-19T13:29:06 | R | UTF-8 | R | false | true | 515 | rd | classifier_loglikelihood.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model_selection.R
\name{classifier_loglikelihood}
\alias{classifier_loglikelihood}
\title{Loglikelihood from classifier}
\usage{
classifier_loglikelihood(y_train, predictions, y_test = y_train,
oob = F)
}
\arguments{
\item{y_train}{training... |
ab521db2b7cb5c022bd47666df285f96a89d3afb | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/TTR/examples/DPO.Rd.R | 9a8c8ad87d6c6c789c98e10cc6cebdd36151884c | [] | 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 | 202 | r | DPO.Rd.R | library(TTR)
### Name: DPO
### Title: De-Trended Price Oscillator
### Aliases: DPO
### Keywords: ts
### ** Examples
data(ttrc)
priceDPO <- DPO(ttrc[,"Close"])
volumeDPO <- DPO(ttrc[,"Volume"])
|
6d69f8e0575e8fc3d3901dafd57098ac023b5fdf | 82663c850403bb61a0417d394392c0a533927dc1 | /Fun_Obj_Diniz_1994.R | 809520d105072e3916a610583e5585482b2bed18 | [] | no_license | ArturLourenco/rsmapmodel | e022a4ccfb7e6df4b436efffcaaf73979a74567c | bd9666e86eb887958339e842e8391e18930a6f9b | refs/heads/main | 2023-04-09T11:13:56.886908 | 2021-04-19T17:07:36 | 2021-04-19T17:07:36 | 359,536,556 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 734 | r | Fun_Obj_Diniz_1994.R | Nash = function(x){
str <- x[1]
e2 <- x[2]
e1 <- x[3]
cinf <- x[4]
Rsoloin = tuin * str #<--- reservatório do solo (zona aerada)
Qcal<-0
for(i in 1:length(P))
{
Es = P[i]*tuin^e2; #<--- calcula o escoamento superficial
Er = tuin * Ep[i]^e... |
5b1ceb339682506956b04181ed3b5535700a7403 | 504a746e9481a81bd2087315e4443830ee0cc754 | /Notes.R | 43191fe3c2cd3dd0287810460bea50c8c30d9bba | [] | no_license | dancopeland/RDataWrangling | b394551b398beef3657611e6c1a3f76d1527f6b1 | 8faa4f6180c5ac5f3bf08f7918aaa3bd75609102 | refs/heads/master | 2020-05-25T08:22:32.807771 | 2019-05-29T21:23:00 | 2019-05-29T21:23:00 | 187,708,874 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,668 | r | Notes.R | library(tidyverse)
library(readxl)
library(purrr)
library(stringr)
library(dplyr)
boy.file.names <- list.files(full.names = TRUE)
boy.file.names
excel_sheets(boy.file.names[[1]])
get.data.sheet.name <- function(file, pattern) {
str_subset(excel_sheets(file), pattern)
}
map(boy.file.names, get.data.sheet.name, patt... |
8e1f2ad977c7757c01f81e5ab28582f10383b1ae | 9c44748031a24aa41661827aef05d9ab7eff169a | /R/authors.R | cd8c4cb933653bb739f371631a471e39534457ff | [] | no_license | avalcarcel9/aliviateR | 810958846ca78cd0b67f58b1898773e445fc862a | 4a420e0557b1da7d267b130379d63297991fb2a0 | refs/heads/master | 2021-07-07T21:50:43.367434 | 2020-07-09T04:05:23 | 2020-07-09T04:05:23 | 130,411,088 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,069 | r | authors.R | #' Create or modify the `Authors@R` field in the DESCRIPTION file
#'
#' @description If the `Authors@R` field is not included in the DESCRIPTION file
#' then `use_author()` adds the field assigns the author defined by the input
#' parameters. If the `Authors@R` field exists already in the DESCRIPTION then
#' `use_autho... |
6c3ca28ea99ca24d6549cca507c2cce3d42e88aa | c74d95f43a3fb0481862fa7f070e9113890f50d0 | /plot1.R | 0a9f38109030dbee7764feaa0040a0d112b91908 | [] | no_license | AzAlejandro/ExData_Plotting1 | 35644bcc84f8541388db606cb84bae3bc9ca0ced | 10697cd6a2f11090f4803878b20fdf737f698aeb | refs/heads/master | 2022-11-29T05:21:11.455980 | 2020-08-20T23:14:57 | 2020-08-20T23:14:57 | 289,104,289 | 0 | 0 | null | 2020-08-20T20:29:16 | 2020-08-20T20:29:15 | null | UTF-8 | R | false | false | 961 | r | plot1.R | URL <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip"
filename <- paste("./data_household", "/", "data_household.zip", sep = "")
dir.create("data_household")
download.file(url = URL, destfile = filename)
unzip(zipfile = filename, exdir = "./data_household")
data_househo... |
3bd2ce49fa8c5dc90f21a8efe3f76121d9995283 | 9a2828d6fab3fc6f7ce0f7c5bcde4259ab686c37 | /hw3/Homework3.R | 5c498abf079c7c4149c0fd94710981742b3a9f7f | [] | no_license | NarenSuri/Exploratory-Data-Analysis | 813a62702b731c6c50220fb6b77dd9dc6cdff4fe | 2b8630eedc38c7050e73bdd7aeab3f528af8bc81 | refs/heads/master | 2021-01-02T09:03:31.485269 | 2017-08-11T20:10:16 | 2017-08-11T20:10:16 | 99,129,948 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,781 | r | Homework3.R | #install.packages("noncensus")
library(noncensus)
data(counties)
CalculateFourths = function(dataset){
dataset = sort(dataset)
len = length(dataset)
if((len%%2)==0){
medianData = median(dataset)
fourthDepth = len/4
uperfourthDepth = len - fourthDepth
frth = dataset[fourthDepth]
Ufrth = dataset[uperfourthDept... |
c9df128f3164bae3ebe63ece15653e46a4769471 | 255438aa65447488b1d63d823fde6710f82242a9 | /R/validate_arguments.R | 95f6c3cf0b4a16984740a82126caab275d14819d | [
"MIT"
] | permissive | EDIorg/taxonomyCleanr | a3a9a3b573eed3b540e49e18681e649df5ec9bc8 | 9c4a18573222c9dc70b881e8b0591a3ae6746e7d | refs/heads/main | 2023-05-23T16:41:48.864242 | 2023-03-28T21:49:43 | 2023-03-28T21:55:41 | 113,625,739 | 14 | 5 | MIT | 2023-03-28T21:55:27 | 2017-12-08T23:18:12 | R | UTF-8 | R | false | false | 2,569 | r | validate_arguments.R | #' Validate arguments of taxonomyCleanr functions
#'
#' @description
#' Validate input arguments to taxonomyCleanr functions.
#'
#' @param fun.name
#' (character) Function name
#' @param fun.args
#' (named list) Function arguments and values passed from the calling
#' function.
#'
#'
#' @keywords intern... |
3c65e9676ae95898525df77f7e3661dffd5250c5 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/9111_0/rinput.R | e6c1f439edb43cc453f625c403af535ffa12994e | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("9111_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="9111_0_unrooted.txt") |
d84bf4c95b0e4f322b0576be3d34a4b8dcfa6e4e | 2113b1ef587481e9c458e115bc049edaf88ad719 | /man/drop_media.Rd | 0b77240c61dd84982eb13c47964636c7ced1a6f2 | [] | no_license | KasperSkytte/rdrop2 | bc236a4ecb74867a01b9caf914e6af295384e47e | 3b6084187835bb457cc7974b534bb9f2f3e37696 | refs/heads/master | 2022-04-09T21:53:04.706863 | 2020-03-10T11:24:04 | 2020-03-10T11:24:04 | 105,997,225 | 0 | 0 | null | 2017-10-06T11:29:27 | 2017-10-06T11:29:27 | null | UTF-8 | R | false | true | 1,338 | rd | drop_media.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/drop_media.R
\name{drop_media}
\alias{drop_media}
\title{Returns a link directly to a file.}
\usage{
drop_media(path = NULL, dtoken = get_dropbox_token())
}
\arguments{
\item{path}{This is required The path to the new folder to create relativ... |
1268e82422bd4a96f54b2716f3194a7bc9eceb0c | eb75a7d1a47e19c1ad08510c15cdd24409801139 | /Stat540_Seminars/STAT540_seminar2.1/seminar2.1_madeATable.R | da167dcf611d141c58c6dddeb2ba043d3be62555 | [] | no_license | clbayly/stat540-2014-bayly-carmen | 5b1a69f6d75a40a7e6d6eb85cf562f8a16a2212a | 954e901a79d07906b1ec60fd967b2cf30fa9d44b | refs/heads/master | 2016-08-05T20:15:50.573987 | 2014-04-13T21:56:47 | 2014-04-13T21:56:47 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,077 | r | seminar2.1_madeATable.R | #matrix construction
B <- 1000
#'''#with rnorm
name <- rnorm
n <- 10
x10 <- matrix(rnorm(B * n), nrow = B, ncol = n)
n <- 100
x100 <- matrix(rnorm(B * n), nrow = B, ncol = n)
n <- 1000
x1000 <- matrix(rnorm(B * n), nrow = B, ncol = n)
n <- 10000
x10000 <- matrix(rnorm(B * n), nrow = B, ncol = n)
#'''
'''
#with dbeta
n... |
7f341007c9471e78f38fd286a966de43b3dc44ea | ed4d7ac589de72b473550e9d76c2e5d5ce4bad31 | /data-analysis/subjects_coverage_faults.R | c63372f7a028f49dc53d48608d9c980b5f03c6d6 | [
"MIT"
] | permissive | WesleyMarques/tcp-experiment | 769a42faf1b50fddf6e47a38eefa33fe581db1ca | 1a4db61a9f122934e78d4e68e20a2f71893f861e | refs/heads/master | 2022-03-31T10:09:38.150163 | 2020-01-13T23:00:34 | 2020-01-13T23:00:34 | 128,976,916 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 889 | r | subjects_coverage_faults.R | require(dplyr)
require(ggplot2)
require(readr)
subjectsData <- read_csv("data/result.data");
projects = unique(subjectsData$project)
coverage = unique(subjectsData$coverage)
subjectsMedian <- subjectsData %>%
group_by(project, version, coverage) %>%
summarise(faultsMedian = median(faults), coveredMedian = median... |
ffced82ade56208d9916ed864306b77495330f07 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Database/Kronegger-Pfandler-Pichler/dungeon/dungeon_i10-m10-u10-v0.pddl_planlen=23/dungeon_i10-m10-u10-v0.pddl_planlen=23.R | 6c200409bbf080cbff30004450d51567a8cd6047 | [] | 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 | 90 | r | dungeon_i10-m10-u10-v0.pddl_planlen=23.R | 1f9a0e7b2830a604aac902f0282be454 dungeon_i10-m10-u10-v0.pddl_planlen=23.qdimacs 5030 13467 |
a4df8e6ce8849085aa48174cadfaed70dc590e61 | 274320eef9fec65c9cbcedace7f448ec78ceee3d | /Script2.R | 19192d204a3e697f3b8b234e561b058d631337dd | [] | no_license | renusam/sample | a900f7333cd7a8331592aa414eeb6977bc169f8e | b8d4ec07f1875492da42b6ed658db969d4874816 | refs/heads/master | 2023-01-29T07:56:29.805087 | 2023-01-13T09:19:07 | 2023-01-13T09:19:07 | 260,425,130 | 0 | 0 | null | 2023-01-13T09:18:13 | 2020-05-01T09:46:37 | Rebol | UTF-8 | R | false | false | 24 | r | Script2.R | 4*3
# This is a comment
|
21c53abc50a807e80f89ffac4f7aeb6e0f4f1a10 | 005927cf37f6cf0a9b161080bf7ac417ba4291ab | /Project1/plot3.R | 90242f5f9196f9764d6818cf7acf6e919f8f8ac9 | [] | no_license | JRTheStudent/Exploratory-Data-Analysis | 9cfdf5d0240e424baa5c2d2af772c4dfcdd983ab | e93c38cd5b9f78c98aec0e99cf732749f8730153 | refs/heads/master | 2020-05-20T07:27:10.436996 | 2015-03-22T16:34:34 | 2015-03-22T16:34:34 | 31,546,302 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,177 | r | plot3.R | ## This script is intended to reproduce the third of the four plots as
## described and shown at: https://github.com/rdpeng/ExData_Plotting1
## Setup - Only required once; comment out to expedite development.
## if(!(file.exists("./data") & file.info("./data")$isdir)) dir.create("./data")
## download.file(
## ... |
495bd1e1163850264ab4834ef961385c7c825486 | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/1954_46/rinput.R | 0580750aec4a82beeb7b4617df1249d2b0e46077 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 137 | r | rinput.R | library(ape)
testtree <- read.tree("1954_46.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="1954_46_unrooted.txt") |
fe750e087c3f90b125e441249c15f2827292ab13 | e7b72443995f0025404efc999d69d606e810c3da | /R/libdata-info.R | a57c8396e168a2df23af568182e7a5c1d1bd14da | [
"MIT"
] | permissive | benkon17/circreg | c8561e011069c6c8a1f7a255e5834b0395ba49f3 | 5e990de2692a6cd428685b29aa1a286131471b41 | refs/heads/master | 2020-03-14T14:37:18.928659 | 2018-05-01T02:07:55 | 2018-05-01T02:07:55 | 131,657,672 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 904 | r | libdata-info.R | #' Bibliographic data for 14509 juvenile non-fiction monographs.
#'
#' A dataset containing circulation and bibliographic information for 14509
#' juvenile non-fiction works in a public library collection.
#'
#' @format A data fram with 14509 rows and eight variables:
#' \describe{
#' \item{TITLE}{title of wor... |
5306079df980d04795027d9c208170119b2e0958 | c959b41dce1f37bf8b24cdd9dc0a31155f6ff031 | /K-means Clustering.R | bfc88bbb89200b46178af469f2d8ab9b0631d21b | [] | no_license | bominkm/Dongjak-gu | 5f106d7cba0d017a16b0a34453100f90273f0a47 | 00f025a8109312194e73af9131e25fcb73c5e2f0 | refs/heads/main | 2023-04-11T07:56:38.556435 | 2021-04-29T18:35:59 | 2021-04-29T18:35:59 | 358,311,097 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,670 | r | K-means Clustering.R | library(dplyr)
library(fpc)
library(cluster)
library(stringr)
library(clusterSim)
library(factoextra)
dat0 <- read.csv( "C:/Users/user/Desktop/BOAZ/동작구 공모전/사용데이터/reallyfinal.csv", encoding = 'CP949')
sum(is.na(dat0))
dat0[!complete.cases(dat0),]
dat0 <- na.omit(dat0)
data <- dat0 %>% mutate(길이 = 길이/100)... |
7eaa076012f0c7bb09701c9add0ce6a5d9f04bf4 | 36a25a9052d14520300e7f5613730a3a9606a8c9 | /Generator/ApplyJacobian_fd.R | 35ab7797b27bf841315585e593d071502195b55a | [] | no_license | cyrulnic/NoStRa | 20fbe84dd2c3a7f43bc8e9c39bc025d35c0e50c9 | 83e9776158503fbdf5b5a23aa7a23c5ead53691f | refs/heads/master | 2020-03-29T04:09:25.821312 | 2019-09-18T13:23:15 | 2019-09-18T13:23:15 | 149,518,116 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 896 | r | ApplyJacobian_fd.R | ApplyJacobian_fd = function(F, x0, x1, u, eps, ...){
# Approx computation of the Jacobian J of function F(x) applied to u --
# using finite differencing.
# Applies J to u.
# Linearization around the trajectory
# x1=F(x0)
#
# Method:
#
# J=dF/dx|_x0
# F(x0 + eps*u) - F(x0) = eps* J*u... |
0d92d31f7bf711f5499627b692479104664ae60e | c0cc2b3cdacb8acc6ae96688f984259f173df206 | /BlockMixtureModel_NegativeBinomial_Rcpp.R | 740b4921d9358e2e2abab7b29ddd04c4385f680e | [] | no_license | NingtaoWang/Biclustering-for-Sequence-Count-Data | 49e3de20fce5608daa419e69d2f30b8c1b13e464 | 15c7692f14f9de8dc3bf4db67f7c89ed090f7dbd | refs/heads/master | 2020-05-21T16:42:12.471309 | 2016-10-19T13:51:23 | 2016-10-19T13:51:23 | 65,487,510 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,061 | r | BlockMixtureModel_NegativeBinomial_Rcpp.R | REPEAT_LIMIT <<- 10001
RELATIVE_DIFF <<- 0.0000001
library(Rcpp)
library(RcppArmadillo)
cppFunction('
Rcpp::NumericVector MyOuterNB( Rcpp::NumericMatrix DataR,
Rcpp::NumericMatrix rR,
Rcpp::NumericMatrix probR) {
int n = DataR.nrow(),
m = DataR.ncol(),
K = probR.nrow(),
L = probR.ncol();
int n_iter =... |
2d53a662aacb46eae548d6e417655922fc613cc4 | f0219074aa427f3973f1c178e33fe9b6b135ef65 | /tests/testthat/test_flowmap.R | 0fdb651c3cd0989592f5fed14c22355fab02e73e | [] | no_license | cran/cartograflow | 50722e32c31a3a4fc32ad2e07233526bd24415a5 | 27e57ecabee92f9a6f26973c4478e1bdf5226a33 | refs/heads/master | 2021-07-14T16:57:06.458262 | 2020-07-19T18:50:02 | 2020-07-19T18:50:02 | 186,031,368 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,594 | r | test_flowmap.R | #' @title Mapping a flow matrix origin-destination
#' @param tab the input flow dataset .csv
#' @param fij colnames of the flow dataset
#' @param origin.f colnames Origin
#' @param destination.f colnames Destination
#' @param x crs
#' @param nodes the input pt file
#' @param code is the column with the spatial units I... |
f004d2d28ca8244bcff9a87d8d839f11f3fa7345 | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/BAMBI/R/vmstart.R | b78ee740189b2353cd7ad3eda592903f2e36811d | [] | 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 | 6,893 | r | vmstart.R | #' @keywords internal
Ainv <- function(x) {
if(x < 0.53) (2*x + x^3 + 5/6*x^5)
else if(x >= 0.86 && x < 0.95) ((9 - 8*x + 3*x^2) / (8 * (1 - x)))
else ((1.28 - 0.53*x^2) * tan(x*pi/2))
}
#' @keywords internal
A_bessel <- function(x){
besselI(x, 1, TRUE)/besselI(x, 0, TRUE)
}
#' @keywords inter... |
941758da81a16a002062240d47c7ea627deb03d3 | 61bab2187b64568d2b99ffaa4dcd14f28e2ea73e | /Diphenotype_ordinal_demo_altparam.R | ae17b637795a31c855b5b0793838c4cda80de289 | [
"CC-BY-4.0"
] | permissive | RMKirkpatrick/mxGREMLdemos | b6aa0534f956de176f7e2d6e9c957891988757f4 | 04d1fbf0cadfe25380fd40c5214fd6ad62572ae7 | refs/heads/master | 2022-12-11T16:32:35.685582 | 2022-11-19T02:47:32 | 2022-11-19T02:47:32 | 201,999,169 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,674 | r | Diphenotype_ordinal_demo_altparam.R | # Copyright 2019-2022 by Robert M. Kirkpatrick
# Licensed under CC BY 4.0 <http://creativecommons.org/licenses/by/4.0/>
# This script demonstrates a GREML analysis of 2 ordinal phenotypes (3 levels each).
# The model is parameterized in terms of the traits' latent-scale correlations and variance proportions.
library(... |
a419ba0cda8d942a7126a97f1e4e7723e79ce739 | 8a87ac5a13ed42ef99a7f0e566e07e32207c885a | /refm/api/src/bigdecimal/util.rd | 7bf2fd12aabecd6be8cd55110c87352a70164854 | [] | no_license | mrkn/rubydoc | cf096e253afbe11d94a7b390645f18872754e5f1 | dff08665e8c537073d3ebab5b98d4bcd175055b5 | refs/heads/master | 2021-01-18T14:54:27.743911 | 2010-08-15T06:15:58 | 2010-08-15T06:15:58 | 876,651 | 1 | 0 | null | null | null | null | EUC-JP | R | false | false | 2,272 | rd | util.rd |
String、Float、Rational オブジェクト を BigDecimal オブジェクトに変換する機能を提供
します。
* [[m:String#to_d]]
* [[m:Float#to_d]]
* [[m:Rational#to_d]]
#@until 1.9.1
また、BigDecimal オブジェクトを Rational オブジェクトに変換する機能も提供します。
* [[m:BigDecimal#to_r]]
#@end
これらのメソッドを使うには 'bigdecimal' と 'bigdecimal/util'を require
する必要があります。
= reopen Float
== Ins... |
e56dc56b322d3ff7b01c430012abd870e00abf04 | f43ff1e09138649558c2e90a75bd2d4f3cbbdbb6 | /source/macOS/R-Portable-Mac/library/AnnotationDbi/unitTests/test_select_NOSCHEMA.R | dec837bd329a1fdd4eb36280220566fc105a9133 | [
"GPL-2.0-only",
"MIT",
"CC-BY-3.0"
] | permissive | romanhaa/Cerebro | 5b2d9371403c52f60341894f84cd0f6a006cc930 | 946ed178c986027d60af6013e63d1fc51ae8b371 | refs/heads/master | 2022-12-02T15:49:57.705873 | 2021-11-20T11:47:12 | 2021-11-21T17:09:37 | 164,686,297 | 87 | 23 | MIT | 2022-11-10T18:21:44 | 2019-01-08T16:09:59 | HTML | UTF-8 | R | false | false | 4,450 | r | test_select_NOSCHEMA.R | ## this will install a testDb stashed in the
## ## this is the package name
## pkgName <- "org.testing.db"
## ## Get the package path
## pkgPath <- system.file("extdata", pkgName, package="AnnotationDbi")
## ## Then install it
## install.packages(pkgPath, repos=NULL)
## and load it
#####install.packages(system.file(... |
1e2bd6154264a8e23da42391a71f655b6cdddd2d | 6b1b2a6c4dcbb117a60386f58d3cdee99450863e | /Course3 - Getting and Cleaning Data/Week2/Quiz2.R | 8c5095a0aba18a33cc98bc802888cef43e6b544f | [] | no_license | mpedreira/datasciencecoursera | 6a0a60a0d33d04b86bf505dc7e21f420e18f9260 | 432887b289695d743aa3bca4bc96644d813ec40a | refs/heads/master | 2021-01-01T05:39:34.224000 | 2015-06-14T20:33:21 | 2015-06-14T20:33:21 | 34,282,907 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,630 | r | Quiz2.R | question1 <- function (){
library(jsonlite)
JSON <- fromJSON("https://api.github.com/users/jtleek/repos", flatten = TRUE)
created_at <- JSON[JSON$name == "datasharing",]$created_at
print(c("El repo se ha creado: ",created_at))
created_at
}
question2 <- function (){
library(sqldf)
acs_file <- "./specdata/... |
3a85854ecc57b2589726cad1061f96ac18ed93df | 2fb385f67a561dd58dbb91879d2317b9d9cb8a7f | /Kobble_Cr/Longitudinal profile_5m.R | 005416e6fa62f8f1a1ff6a446b178afb97973277 | [
"AFL-3.0"
] | permissive | SongyanYu/Recession-analysis | 1cc4c3b9a63aa06088f7d7c8fa59316951914d92 | 2a2d7ae32983e6dce7d963e9b70c7944aea17a24 | refs/heads/master | 2023-04-12T11:49:55.310636 | 2021-09-03T06:31:23 | 2021-09-03T06:31:23 | 233,721,010 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,878 | r | Longitudinal profile_5m.R | #########################
# This script aims to get longitudinal profile in correct order (i.e. the flow direction order)
# There are two DEMs dataset availabe but in different spatial resolution (i.e. 1m & 5m). This scritp
# deals with both datasets and return the longitudinal profile for them, respectively.
#########... |
bfcfd6a648fd72bf787a675a861fe7af4440e2c9 | ed7f56fc404a44c80d16ed89dca51cb53aeb0287 | /man/getCOP.Rd | 757378540dd85d4ec2eb55483c11ec3a71db7db3 | [] | no_license | InternationalRiceResearchInstitute/pedX | 636ccaf55e38063cd755dafd196ab5984e137220 | bd574e1d0375b77fc9f9f043d50bd12316bb4f13 | refs/heads/master | 2022-02-27T04:04:37.457206 | 2018-02-18T02:27:34 | 2018-02-18T02:27:34 | 103,363,132 | 0 | 1 | null | 2019-09-30T03:59:49 | 2017-09-13T06:39:43 | R | UTF-8 | R | false | true | 484 | rd | getCOP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getCOP.R
\name{getCOP}
\alias{getCOP}
\title{getCOP Function for getting a sparse relationship (COP) matrix}
\usage{
getCOP(gidvec = NULL, ped)
}
\arguments{
\item{gidvec}{a vector of gids of interest}
\item{Ped}{Sparse pedigree matrix (clas... |
29e64e660d45a7eaa5bee355cabbbee432558e62 | a883b57cfa02a57a77648e2630f67178cd471275 | /4. The investigation of underlying intrinsic immune landscapes.R | 0278cce1ff5966eff6e9faea6ec5184f013d9f6e | [
"MIT"
] | permissive | longjunyu/Pancan-ICI | e0af239a705f04b7be2b9c8424258129416cca74 | 18d0e9d4028429f86c36e753473d2521bfa36a2f | refs/heads/master | 2023-04-15T09:10:41.102398 | 2022-02-06T15:57:49 | 2022-02-06T15:57:49 | 243,694,793 | 5 | 5 | null | null | null | null | UTF-8 | R | false | false | 47,721 | r | 4. The investigation of underlying intrinsic immune landscapes.R | # 4.1 Immunogenomic indicator analysis
options(stringsAsFactors=FALSE)
library(ggplot2)
library(ggpubr)
library(ggsci)
clindf <- read.table("risk2.txt", head=TRUE, sep="\t", quote="")
dim(clindf)
clindf[1:6,1:5]
clindf[, "group"] <- factor(clindf[, "risk"])
clindf <- clindf[order(clindf[, "id"]),]
clind... |
164a6bb4a97471bd1d7615d9295fa0b6b1e40ffe | ab7d15d06ed92cd51cc383dc9e98ae2a8fa41eaa | /man/export_graph.Rd | 88708326652c8374b8caf2f6910973e7927f00dc | [
"MIT"
] | permissive | rich-iannone/DiagrammeR | 14c46eb994eb8de90c50166a5d2d7e0668d3f7c5 | 218705d52d445c5d158a04abf8107b425ea40ce1 | refs/heads/main | 2023-08-18T10:32:30.784039 | 2023-05-19T16:33:47 | 2023-05-19T16:33:47 | 28,556,914 | 1,750 | 293 | NOASSERTION | 2023-07-10T20:46:28 | 2014-12-28T08:01:15 | R | UTF-8 | R | false | true | 1,828 | rd | export_graph.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/export_graph.R
\name{export_graph}
\alias{export_graph}
\title{Export a graph to various image formats}
\usage{
export_graph(
graph,
file_name = NULL,
file_type = NULL,
title = NULL,
width = NULL,
height = NULL
)
}
\arguments{
\it... |
1c1ff97322fd81b333e78d40eaffa8a63eac51ea | c95e114ec7a470d110634870bebc96380225bdfb | /man/eval_pgap.Rd | e2b731d7e6f08cfa9ddce3bae681bf7da40c47ec | [] | no_license | obrl-soil/dsmartr | 631b9e80189d64059d8ae65c94c498bb3d29b189 | ce19e6d8cdd5efbeabd649ceb79e370983889579 | refs/heads/master | 2022-12-23T19:08:49.784982 | 2022-12-16T23:40:46 | 2022-12-16T23:40:46 | 97,471,418 | 11 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,817 | rd | eval_pgap.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dsmartr_evaluate.R
\name{eval_pgap}
\alias{eval_pgap}
\title{Calculate probability gap}
\usage{
eval_pgap(dsmartr_probs = NULL, cpus = 1)
}
\arguments{
\item{dsmartr_probs}{RasterBrick; 'dsmartr_probabilities' output by
\code{\link[dsmartr:co... |
7941f332e589d4ad773fe350ad04dba79d2476f1 | 0b8ff928c22d87ee5d7a8a19f5ce8ff51bd7155c | /man/simulateest.Rd | e6beee5af73fd72bd2d8dd71ede8bb1e88820241 | [] | no_license | Gtmille2/seamlessTrial | d9104369cfda1987c374d8b3535d925df7211105 | 7dcd49f4c09486ee3d383eb1df8bc673d77a658e | refs/heads/master | 2020-07-31T17:24:08.170740 | 2019-11-17T18:35:21 | 2019-11-17T18:35:21 | 210,692,243 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,638 | rd | simulateest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulatetrials.R
\name{simulateest}
\alias{simulateest}
\title{Testing other simulate trials function}
\usage{
simulateest(n1 = 20, N1 = 100, N = 200, n.trt = 3, mean.s = NULL,
mean.t = NULL, p1, p2, sigma0, sigma, rho, nsim, design ... |
be47c8e8f1517b5f4552aafa67cadef77d4977d5 | 2ee2222783fc85066764d715c5ab6f62e8806c9d | /graph_script.R | 66eb87a1e27c8391b3bda3dda4fa405d5c7b03c9 | [] | no_license | Isrozzis/R-code | b507b0581b4717e7ed420abd2b13ed67b7d4ca16 | 24db7ce9f116a3321f9aae02aa731ee9d2c6edd3 | refs/heads/master | 2021-01-10T17:54:34.878347 | 2015-11-10T19:03:25 | 2015-11-10T19:03:25 | 45,886,131 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 930 | r | graph_script.R | ## how to make a line graph for each site on a single day for each hour for a single pollutant
## read in the data
hourly_O3 <- read.csv("C:/Users/Trevor/Documents/Air/hourly_ozone.csv")
##Clean up the negative values. They should not exist
hourly_O3$value[hourly_O3$value < 0] <- NA
## Create and clean up a dat... |
633d3df4fb11e7585a12a18a115f88db139b330e | 6be20602745931c1d48f4b75445db5be6a4b6103 | /R/defaults.R | d780554e53cb42cf6bb42a6dc519f8546424b96d | [] | no_license | itsdalmo/reporttool | 86a533f763cfc7faa2813a44f11772979ef7b823 | bf751fde5edb0ccd396b6d6ae6c21bb077fd79bf | refs/heads/master | 2020-12-22T01:06:22.446606 | 2016-06-06T07:34:45 | 2016-06-06T07:34:45 | 33,544,836 | 1 | 0 | null | 2016-03-06T13:06:43 | 2015-04-07T13:30:26 | R | UTF-8 | R | false | false | 3,861 | r | defaults.R | #' @rdname utilities
#' @export
get_default <- function(string) {
if (!is.string(string)) stop("Input was not a string (character(1)).")
y <- default[stri_detect(names(default), regex = string, ignore_case = TRUE)]
# Drop list if only one entry is returned
if (length(y) == 1L) y[[1]] else y
}
# Def... |
3f404035a89d459f72580c45580294428a17b0d3 | 34f1c05e5fae6f679ccae0add331bb616b8d1d1e | /R/msBP.test.R | f96b5680232e35746b8c7292927ffb1f4fec8451 | [] | no_license | cran/msBP | cd452f56ef06bf07c8c17a921e95633fa1304900 | 0435f096cb1fae264cb2051e97eff84b0145d13f | refs/heads/master | 2023-09-01T03:47:30.196343 | 2023-08-23T00:00:13 | 2023-08-23T01:27:25 | 24,886,401 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,991 | r | msBP.test.R | msBP.test <- function(y, a, b, group, priorH0 = 0.5, mcmc, maxScale=5, plot.it=FALSE, ...)
{
priorH1 <- 1 - priorH0
group <- factor(group, labels=c(0,1))
w <- w1 <- w0 <- msBP.compute.prob(msBP.rtree(a,b,maxScale), root=FALSE)
Ps <- matrix(0.5, maxScale, mcmc$nrep)
BF <- rep(0.5, mcmc$nrep)
for(ite in 2:mcmc$nrep... |
fbe918d427cb6ba13d5e61d3cfc245d9370d9362 | 684e590319bec83910d3ca1f03c0e2a43c3d462d | /man/label_by_colnumbs.Rd | 40766e8c7079f076cb44d70382833ac5aee8ad34 | [] | no_license | adamclemmitt/simpleSCDE | 88e2b50cbfe75a416a8cfa62b242207cab6a4ef3 | 3f082f8c7245ccdd27a3b5189e5dce7f4753645e | refs/heads/master | 2020-03-25T12:40:01.061657 | 2019-01-02T04:28:46 | 2019-01-02T04:28:46 | 143,786,761 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,209 | rd | label_by_colnumbs.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/group_labels.R
\name{label_by_colnumbs}
\alias{label_by_colnumbs}
\title{Label two groups of cells based on the contents of their names}
\usage{
label_by_colnumbs(df, x.start, x.stop, y.start, y.stop, x.name = "group_x",
y.name = "group_y")... |
f23dcf0bfe7a1c3abe329a25a6a204fbe5395f38 | eeaf84376b246e31ad342fb8fae6026d6cfa8a3b | /attendance.R | 817fe6f8872f17f10c2e956ce1082c76c6f8df18 | [] | no_license | mehtapriyesh/MSTeams_Attendance-Calculator | ccbd531982920caf8b0b8c78957333003818f09a | e0c1c874d7183474e3dbb2bafed8efb9316059b6 | refs/heads/master | 2022-11-23T06:05:34.313187 | 2020-07-28T03:28:56 | 2020-07-28T03:28:56 | 283,084,304 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,633 | r | attendance.R |
#upload path of the folder containing all of your csv files.
#In case you have just one file, you can directly add its path to variable names files.
#files = "C:/....../file.csv"
files <- list.files(path = "C:/Users/user/Desktop/multi", pattern = "*.csv", full.names = T)
reader <- function(x) {
read.csv(x,sep... |
32f872e0c7c6a6c31ff0b951a944f88fbfa43aa8 | 50fd7e8cc064a7f35ec30bd8bdf47ab648ee60bf | /man/arseq.kmeans.reactome.plot.Rd | 03615013603b64da00a700246a8e46d202bdf644 | [] | no_license | ajitjohnson/arseq | a0c8c4996c7137dbe8bf15d9b559191a27fb7242 | 5da13779253b47d3df07effd59d06053294ab6d2 | refs/heads/master | 2021-11-27T09:59:37.024830 | 2021-10-25T16:17:28 | 2021-10-25T16:17:28 | 205,567,517 | 8 | 2 | null | 2020-02-05T04:53:18 | 2019-08-31T16:14:14 | R | UTF-8 | R | false | true | 583 | rd | arseq.kmeans.reactome.plot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/arseq.kmeans.reactome.plot.R
\name{arseq.kmeans.reactome.plot}
\alias{arseq.kmeans.reactome.plot}
\title{Reactome Pathway Enrichment of Kmeans clustering output}
\usage{
arseq.kmeans.reactome.plot(clusters, save.plot = FALSE, save.dir = getwd... |
fd0cb58d7941e806a7d852f1e64b80521bf1ae3c | d61450aa1e75e60013d4d1d065a0f9f18e1b5920 | /SVY21-to-WGS84.R | 2962720cf86586b80e78b69ca2ff094e2b127832 | [] | no_license | iadamien/SVY21-to-WGS84 | 1063aa34d419376d4a002f613d3654416ea6b790 | dbc17e1a6ebcdd8b806bf75dbd2b032d7a9c5ca9 | refs/heads/master | 2020-07-31T23:23:53.156772 | 2019-09-25T08:05:22 | 2019-09-25T08:05:22 | 210,785,607 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 325 | r | SVY21-to-WGS84.R | library(rgdal)
data <- read.csv("")
x <- data$X.Addr
y <- data$Y.Addr
d <- data.frame(lon=x, lat= y)
coordinates(d) <- c("lon", "lat")
CRS.new <- CRS("+init=epsg:4326") #WGS84
proj4string(d) <- CRS("+init=epsg:3414") # SVY21
d.wgs84 <- spTransform(d, CRS.new)
d.wgs84 <- as.data.frame(d.wgs84)
data <- cbind(d.wgs84, ... |
6f759b183b3690289f87a3ae1498946cce2b714a | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.machine.learning/man/sagemaker_get_device_fleet_report.Rd | 9d8a3155d7813693c4828caf8d79b3c8f94c7dd0 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 499 | rd | sagemaker_get_device_fleet_report.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sagemaker_operations.R
\name{sagemaker_get_device_fleet_report}
\alias{sagemaker_get_device_fleet_report}
\title{Describes a fleet}
\usage{
sagemaker_get_device_fleet_report(DeviceFleetName)
}
\arguments{
\item{DeviceFleetName}{[required] The... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.