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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5e6185937fd38446d3bef13a2f885d83d1e3999f | 435bc43332fbfda1be7d5e0ffde618114409adee | /r/关系网6.R | 88a71f5bfb74b960afe8b106b66e550ce465987e | [] | no_license | saffronzhang/REmotionSIR | cb81925a8d0b761b40c5f3820538720a8f64c256 | 3cc38b3fa1923a1633ea8ef1b582d95c6a828e3e | refs/heads/master | 2021-01-06T20:35:36.557598 | 2017-08-07T03:01:14 | 2017-08-07T03:01:14 | 99,526,595 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 355 | r | 关系网6.R | init.data <- read.csv(file = paste("/Users/xu/Desktop/1.csv", sep = ""), header = F)
data <- data.frame(from = init.data[,2], to = init.data[,1])
g <- init.igraph(data, dir = F,rem.multi = T)
svg(filename = paste("/Users/xu/Desktop/1.svg",width=200,height= 200))
plot(g, vertex.size = 1, layout= layout.fruchterman.rein... |
7cf0f0adfb2d3b8630f61040a9a877e1d8340260 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Miller-Marin/fpu/fpu-10Xh-error01-uniform-depth-23/fpu-10Xh-error01-uniform-depth-23.R | 57a14fa5322ee2043d0000fc634c795e620c33d0 | [] | 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 | 89 | r | fpu-10Xh-error01-uniform-depth-23.R | cc3c32f4b3e07a2ad50fc0ebef57c1e3 fpu-10Xh-error01-uniform-depth-23.qdimacs 619393 1654101 |
b5dac81336e75139708680208361d5d4f9538898 | 8dda6c31530411c6328481a3b63ac0bb27320741 | /R scripts/code_for_week8_part2.R | 0e46b300510cffd8f719173ecf870b2f6ab4280e | [
"MIT"
] | permissive | guhanavel/DSA1101-Introduction-to-Data-Science | fc1ccf855a2313a9ab8e04a03094cd9031755ae3 | 2c5e7f1ef53c2cac77ab3ad20c6d9e2a78e2ac15 | refs/heads/master | 2022-04-17T16:18:39.661539 | 2020-03-17T15:24:39 | 2020-03-17T15:24:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 523 | r | code_for_week8_part2.R | library("rpart") # load libraries
library("rpart.plot")
play_decision <- read.table("DTdata.csv",header=TRUE,sep=",")
head(play_decision)
fit <- rpart(Play ~ Outlook + Temperature + Humidity + Wind,
method="class",
data=play_decision,
control=rpart.control(minsplit=1),
parms=list(split='information'))
rpart.plot(fit... |
511c5aac1736e01403e6dd3f62936420264b7ba5 | 2e5bcb3c8028ea4bd4735c4856fef7d6e46b5a89 | /man/isSnpChip.AffymetrixCdfFile.Rd | 3442376d4ef41caa1f4b29fd536fa493d3eec8ff | [] | no_license | HenrikBengtsson/aroma.affymetrix | a185d1ef3fb2d9ee233845c0ae04736542bb277d | b6bf76f3bb49474428d0bf5b627f5a17101fd2ed | refs/heads/master | 2023-04-09T13:18:19.693935 | 2022-07-18T10:52:06 | 2022-07-18T10:52:06 | 20,847,056 | 9 | 4 | null | 2018-04-06T22:26:33 | 2014-06-15T03:10:59 | R | UTF-8 | R | false | false | 971 | rd | isSnpChip.AffymetrixCdfFile.Rd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% AffymetrixCdfFile.SNPs.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{isSnpChip.... |
b696e9f4871daef8c56e122865e22d3ecfdfbba4 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/gets/examples/printtex.Rd.R | 17e1674e86de0b995a573bb43293f4a447af546a | [] | 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 | 619 | r | printtex.Rd.R | library(gets)
### Name: printtex
### Title: Generate LaTeX code of an estimation result
### Aliases: printtex
### Keywords: Statistical Models Time Series Econometrics Financial
### Econometrics
### ** Examples
##simulate random variates, estimate model:
y <- rnorm(30)
mX <- matrix(rnorm(30*2), 30, 2)
mymod <- ar... |
7956e643d1b93a87f90074c6fef8c8396ab4e69a | bb2ed5d41d05ed3e2b5b0b9375705a8412e006cd | /man/angle.Rd | be5a032f43641af052ed9bf791358fea1f58a53d | [] | no_license | cran/press | 1a155ff65de1a4f4f3604dd52092073fd3556873 | ce9a27232d0314e3cb562be03788b9e449efed8f | refs/heads/master | 2016-09-06T10:31:46.961260 | 2011-04-26T00:00:00 | 2011-04-26T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 818 | rd | angle.Rd | \name{angle}
\alias{angle}
\title{angle}
\description{A function for calculating bond angle and 1-3 distance for any pdb file.}
\usage{angle(id,pdb)}
\details{
An internal function, to do calculations of virtual angles and virtual 1-3 distances for an uploaded protein structure data.
}
\arguments{
\item{id}{a characte... |
ba59bd850394260fd0d4f74d095158ba3395b14f | 29585dff702209dd446c0ab52ceea046c58e384e | /pastecs/R/plot.turnpoints.R | 6401ba81dcadf701bc41eabeabd6e163d3bfc5b3 | [] | 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 | 594 | r | plot.turnpoints.R | "plot.turnpoints" <-
function(x, level=0.05, lhorz=TRUE, lcol=2, llty=2, type="l", xlab="data number", ylab=paste("I (bits), level = ", level*100, "%", sep=""), main=paste("Information (turning points) for:",x$data), ...) {
# The next function actually draws the graph
turnpoints.graph <- function(X, Level, Lhorz, ... |
4816a3088ff100680dc3b50fd1713ca5e6023cdf | 97ae070890cec937092422654cbad941773f63ad | /man/pmmlTransformations.NormDiscreteXform.Rd | d4535c30adb527f906a2372b6c8034f63e672051 | [] | no_license | cran/pmmlTransformations | e98bd242edf6aec468d9d97e6c92c784bae31874 | 839fc91fa9bc3e84e3aceef76aacbafe0d422989 | refs/heads/master | 2021-01-10T20:36:17.055136 | 2019-06-11T21:20:04 | 2019-06-11T21:20:04 | 17,698,616 | 2 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,574 | rd | pmmlTransformations.NormDiscreteXform.Rd | \name{NormDiscreteXform}
\alias{NormDiscreteXform}
\title{
Normalize discrete values in accordance to the PMML element:\cr \bold{NormDiscrete}
}
\description{
Define a new derived variable for each possible value of a categorical variable. Given a categorical
variable \bold{catVar} with possible discrete values \bold{... |
3655be583ef977d67601180b99d859f0ff64fb4f | e4c44366d606a27749d0d230e316ef46cf41d6af | /ImmoDaten/Immo_SAR_benchmark_v2.R | e0949e8c93952183c72de243440c67fa46de85cc | [] | no_license | JohannesJacob/APA-SatelliteImages | fe53a34b0301a05a9618f8f206743bce10104242 | 8487188ae1d3e2e8cb4da5ee5d2df4a96bc14853 | refs/heads/master | 2020-04-05T12:09:02.217440 | 2017-08-31T13:40:12 | 2017-08-31T13:40:12 | 95,221,425 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,206 | r | Immo_SAR_benchmark_v2.R | # SAR benchmark code mit lagsarlm function
library(spdep)
df_street_noNA <- read.csv("Immo_preProcessed.csv")
df_street_noNA <- df_street_noNA[,-1]
# Convert data frame to a spatial object
spdf_street <- SpatialPointsDataFrame(coords = df_street_noNA[, c("lng", "lat")],
proj4stri... |
069822e4778ad8c1b22a1a457f9dbddbe4de53f0 | 5e09e974799ee70418fcdaef875d7de122c93a49 | /plot4.r | 8bc9d26e05e2db80c8d72e512c60bc885688f087 | [] | no_license | kevinpatricksmith/ExData_Plotting1 | cdccb4bf77cc457a2c4384f628df72eeec1e4305 | d5a8bfe739f4ba9e3c64e544bfd7a627f4bb63e2 | refs/heads/master | 2021-01-12T21:52:45.458159 | 2015-03-07T17:04:38 | 2015-03-07T17:07:20 | 23,742,543 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,730 | r | plot4.r | ##########################################
# Reading the data and selecting a subset
##########################################
dataFileName <- "household_power_consumption.txt"
hpc <- read.delim(dataFileName, sep=";", na.strings=c("?"))
# We are only interested in data for two dates
hpcSubset <- subset(hpc, hpc$Date... |
d820003df2a374dc760b69f579e4b3123cae3659 | cb4830d307b9d076cbf80aa4a6db570b41dfa3c4 | /LearningR/Clase9/Modulo VII_EJERCICIOS.R | 007777d4da356592ce4cc5249f6df2a9fd8cc779 | [] | no_license | saulo-valdivia-v/BigDataAndAnalytics | e613d52188135842b1a7caf682bb17927971b144 | 5ec16fc467f48a4bf0897a2477fd68dbaaee6a9d | refs/heads/main | 2023-07-01T13:34:13.983630 | 2021-08-07T15:45:56 | 2021-08-07T15:45:56 | 393,715,668 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 457 | r | Modulo VII_EJERCICIOS.R | #Ejercicio Modulo VII: RMarkdown
#Convierte en documento HTML los ejercicios del dia 10.12.2020 con RMarkdown
encuesta <- read.table("encuesta.dat", header=T, sep="\t",dec=',')
#A?ade funciones generales en el metadata
#1.1. Haz un an?lisis que ponga a prueba si la fluidez verbal en espa?ol
#puede predecir la fluide... |
6908d63c867987634805cf76e15833b68a3608be | 1cd0a4fb4fd5cf694b80927f1a652b20154cec27 | /man/enaUtility.Rd | 1417d44ddf34918d96850d935ceca2bfaa50d6fc | [] | no_license | enaVerse/enaR | 2b72e5e20a5c0f456eb2eca445706927513c9cc1 | 4ab6d0c1b7ef092f35c6936c181a7e8fc17021ce | refs/heads/master | 2021-07-04T07:24:32.270078 | 2017-03-10T20:47:55 | 2017-03-10T20:47:55 | 105,017,727 | 0 | 0 | null | 2017-09-27T12:51:13 | 2017-09-27T12:51:13 | null | UTF-8 | R | false | true | 4,475 | rd | enaUtility.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/enaUtility.R
\name{enaUtility}
\alias{enaUtility}
\title{enautility --- utility analysis of a flow network
INPUT = network object
OUTPUT = list of utility statistics}
\usage{
enaUtility(x, type = c("flow", "storage"), eigen.check = TRUE,
ba... |
e01835d154d854e7e4096b23235e3b5f8723308f | 4bd57b8501d4326ecc06c1d1ea499935e1668d95 | /MASH-dev/SeanWu/MBITES/man/mbites_pReFeed_batch.Rd | 435f5726b2aca313c1870eb95bc4e08dfab20d43 | [] | no_license | aucarter/MASH-Main | 0a97eac24df1f7e6c4e01ceb4778088b2f00c194 | d4ea6e89a9f00aa6327bed4762cba66298bb6027 | refs/heads/master | 2020-12-07T09:05:52.814249 | 2019-12-12T19:53:24 | 2019-12-12T19:53:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 649 | rd | mbites_pReFeed_batch.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MBITES-Oogenesis.R
\name{mbites_pReFeed_batch}
\alias{mbites_pReFeed_batch}
\title{MBITES: Probability of Refeeding as Function of Egg Batch Size}
\usage{
mbites_pReFeed_batch()
}
\description{
Probability to re-enter blood feeding cycle afte... |
41178603f05cdcff8f3adefa0bfa255112501757 | 205bad3b5b7aeb85300e947a8db358b9536cb7b1 | /ensg/miashs/install.R | cf26fa0ef076986d5f7cd05e3b7617fab6e595fe | [] | no_license | philippe-preux/philippe-preux.github.io | 744e93a59076a74caf5aeec02fedb383257592f6 | 1e34ad659c214b215134177d8e01f3c4052bfef1 | refs/heads/master | 2023-08-31T03:37:21.383038 | 2023-08-18T13:00:36 | 2023-08-18T13:00:36 | 150,579,919 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,780 | r | install.R | paquets.a.installer.pour.pp <- c ("abind",
"acepack",
"ada",
"akima",
"alabama",
"animation",
"anim.plots",
"ape",
"aplpack",
"arules",
"autoencoder",
"bayesm",
"bdsmatrix",
"BH",
"bigmemory.sri",
"bitops",
"blowtorch",
"Bolstad",
"brew",
"cairoDevice",
"car",
"caTool",
"chron",
"CircStats",
"classInt",
"clue",
"cluste... |
9a57a15c0e55c7d3fdd54a9979e0783697ae808e | 0c7c74342fd5a89b06457bc123983ed26a054ff6 | /practice/day21secA (1).R | 7a1b386982a9758eecd3425866e30c0a9044b6d8 | [] | no_license | jessica7890/R-visualization- | d4b3ef02fc361c5281a2644f284afc08a6f77990 | c13cfbf215909c3074b766c5fa7df802f78667ba | refs/heads/master | 2022-09-10T04:46:42.856432 | 2020-05-26T21:17:45 | 2020-05-26T21:17:45 | 267,121,512 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,938 | r | day21secA (1).R | # ----Day21--Week 07------#
# More Maps, Shapefiles #
#-------------------------#
library(tidyverse)
library(maps)
#------ Data Preparation -----------#
world_map_data <- map_data("world")
library(gapminder)
country2007 <- gapminder %>%
filter(year==2007)
##############################
# 1. Nesting data with ti... |
bf26efd2f7c8ef99bf948131e675c8e08197d2e6 | 951c6a55c992858bc2f10e0744aedd0d190899b7 | /tests/testthat.R | 9f606e06a4f360a01c70454013fc14babf135678 | [] | no_license | Lucaweihs/RIM | 9820f217750cce98e983e6a1ef70a820ebd0c626 | 8957a8d612978e8816dffdcc14ed7d5ffc73e99e | refs/heads/master | 2020-12-26T04:49:21.429208 | 2017-11-11T23:30:15 | 2017-11-11T23:30:15 | 35,631,745 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 50 | r | testthat.R | library(testthat)
library(RIM)
test_check("RIM")
|
5b529ef3602fd28aef8f7ef44939a1e206ab3f07 | 4b0e2bea643405f9a1f8799538c4c4ecf60e8013 | /Workshop/scripts/ep03-working-with-data.R | 7ea38d7926839a12d9589f66a246d6921cb59e1c | [] | no_license | sattwell/2020-09-21-intro-to-r-workshop | e3123255f4b2b6830c20cd8984c8566f6ec1334e | 17fead2f1706d31b9fbe3543b15cad7dc8617127 | refs/heads/master | 2022-12-22T15:21:06.224531 | 2020-09-25T02:53:42 | 2020-09-25T02:53:42 | 297,182,788 | 0 | 0 | null | 2020-09-20T23:36:07 | 2020-09-20T23:36:06 | null | UTF-8 | R | false | false | 6,052 | r | ep03-working-with-data.R | #####################
# MANIPULATING DATA #
# using #
# TIDYVERSE #
#####################
#
#
# Based on: https://datacarpentry.org/R-ecology-lesson/03-dplyr.html
# Data is available from the following link (we should already have it)
download.file(url = "https://ndownloader.figshare.com/files/2292... |
661a39e8a5d9ea9b7c6f0e9f7da1057f455bec66 | 50736499067f7ceba0955914c44f16f9c98d6413 | /AlkoholAnaliza/ASkripta.R | 278c0b54b123d5e5fe7c245fdce53663f5881340 | [] | no_license | NovakTesic/AnalizaR | 7c0cec8ad67afd69f8252c6904f8734e5e1d43ad | 595cb5658d60f62aa56c5892b12d3b5fe2b20d32 | refs/heads/master | 2022-04-03T13:31:27.863268 | 2020-02-17T08:41:06 | 2020-02-17T08:41:06 | 237,653,528 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,601 | r | ASkripta.R | #### OPŠTE INFORMACIJE O BAZI ####
# Baza podataka je preuzeta sa sledećeg linka:
# https://github.com/fivethirtyeight/data/tree/master/alcohol-consumption
# U datoj bazi možemo pronaći podatke o potrošnji alkohola u 193 zemlje tokom 2010. godine.
# Potrošnja alkohola je iskazana kroz četiri varijable:
# ... |
3238d3a32705fe5b7e760a6b93b0931b14df56fa | 250647d597c52cd832aeed3452f66af2146fa86f | /r_scripts_NoSNP/ada_cross_validation_noSNP.R | 4a15566c5a92c02f945c30978357378dc5a05c2c | [
"BSD-2-Clause"
] | permissive | zzygyx9119/somaticseq | 7fa79ec07db17d5b8bc1153e75c9703a952c8328 | 52e5f1d7cb5c22095cde13cfa56fd4f0bf79d412 | refs/heads/master | 2021-05-15T09:40:28.859946 | 2017-10-09T22:25:22 | 2017-10-09T22:25:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,829 | r | ada_cross_validation_noSNP.R | ### To start, set the input filenames in "Main (entry point)" section.
require("ada")
args <- commandArgs(TRUE)
filename = args[1]
numTrueCalls = as.integer( args[2] )
##### Main (entry point)
# Train and test filenames
train_filename = filename
test_filename = filename
#train_filename <- ""
test_filename <- ""
... |
57182ddcf1c5c464469009d6858b0202ffa7ee35 | d0a9e3485a92c02d7407a91ffe063705572f1576 | /R/atoms.R | 9e5a3310bb282cc1ebdb65a26b27533bb5bbba31 | [
"MIT"
] | permissive | dobinyim/rUMLS | d28761301a3c7f34cecfb9352fe9631458a2c05f | 0ad7989528597cdc52019d1e9776ad1b24537d86 | refs/heads/master | 2023-04-10T15:36:58.605962 | 2018-02-26T21:48:06 | 2018-02-26T21:48:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,819 | r | atoms.R | get_atom_rels <- function(AUI){
}
#' Get familial relationships for a given Atom.
#'
#' @param AUI The AUI of interest.
#' @param type The type of familial relationship. This can be one of \code{ancestors, descendants, parents, children}. See the possible endpoints from the \href{https://documentation.uts.nlm.nih.gov... |
0ad67df171050da2a5a33133f184891c3d10931a | 6e800ec948de2d96bd11288a3ba06611d0395865 | /R/select_k_features_FP.R | 8ba64081961b4047037274b73cb3b55b773a2540 | [] | no_license | xf15/NDTr | 874945172b306c1e4ac92bce4fdc39d8b73880b0 | 79a3b269cbe518cd4a3fcca95861e65755e7f40f | refs/heads/master | 2021-09-26T14:45:18.857285 | 2018-10-30T23:24:16 | 2018-10-30T23:24:16 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,218 | r | select_k_features_FP.R | #' A feature preprocessor (FP) that reduces the data to the best k features
#'
#' This feature prerpocessor object find the k most selective features using an ANOVA on the training data.
#' The proprocessor then eleminates all other features in both the training and test sets. This preprocessor
#' can also eliminate t... |
99b02830b129b4d1c4cdc5bdc11dd5366a5d84cd | b3f0fbf6b1ed95ab6013bba25d1a98b0296d5f9b | /man/tpf.Rd | b5573c8f19bceca083f22fdaed0eb0c31b7b5530 | [] | no_license | bdshaff/conversionpath | 346a090bf1e60275213dea9061e928e9c9725fda | 20b4bd2b27929f2dfa41edd0cc76196ac35cf232 | refs/heads/master | 2023-06-28T16:24:35.967347 | 2021-08-06T17:12:02 | 2021-08-06T17:12:02 | 387,070,617 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 316 | rd | tpf.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tpf.R
\name{tpf}
\alias{tpf}
\title{Touch-point Frequency per Path}
\usage{
tpf(paths, touchpoint)
}
\arguments{
\item{paths}{paths}
\item{touchpoint}{touchpoint}
}
\value{
numeric vector
}
\description{
Touch-point Frequency per Path
}
|
37c6176f04b63d6dae0742ecc00383a936be4394 | 0e2c5c23478b065d59c06576b7bf6afed950cd92 | /auxilliary.R | 784bc265d575450bc33b64308069a6f762228d72 | [] | no_license | chandarb/quadratic_voting | 9d415ef1d3efbd92ded829b82da129e383cb1859 | 13663166b6b0f2d24f03052a1dc57fb9893c79de | refs/heads/master | 2021-01-21T17:10:15.579280 | 2018-01-29T08:24:39 | 2018-01-29T08:24:39 | 91,938,338 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,492 | r | auxilliary.R | ### Auxilliary functions
# Utility function given v,u, and G
util.fn = function(v,u,G){
return(u*(1-G(-v))-v^2)
}
# first order condition for utility function
foc = function(v, u, g){
dens = g(-v)
dens[is.na(dens)] = 10^-12
return(v - (u * dens / 2))
}
# solves first order condition to get optimal vote level... |
86c049cc3b0b2c751616321d5a15b7445af29460 | 5c7cac880f610051afd2b23c4a60409269538cf8 | /man/calcul_ratio.Rd | b2279c0388817fd5bc3390f062b74afd7cf77dcb | [] | no_license | dominiqueemmanuel/kmino.typologie | 4c954e92691ec6a51afbc34c6581652518a33f6f | 8fe1c70ab615586b287fe56434a325e5594d6071 | refs/heads/master | 2021-01-19T19:47:11.593086 | 2017-04-16T22:13:09 | 2017-04-16T22:13:09 | 88,445,497 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 404 | rd | calcul_ratio.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/calcul_ratio.r
\name{calcul_ratio}
\alias{calcul_ratio}
\title{Une fonction permettant de calculer des ratios par rapport à des sur-populations.}
\usage{
calcul_ratio(data, var, by, new_name = NULL, ...)
}
\description{
Une fonction permettan... |
87a89075bca50205f1b6be021cba0cecf467b899 | 3fd7571c606b6e467a1bd750282b1f994b9094dc | /test_get_report.R | 5a182f47b3a07b103edaf9c9ae796cdd83aea33c | [] | no_license | phuong-ha/gambia | f304c2ecd9be944c6f2800da06ed47a381611439 | ec0ccc5bed0910de080a60753bbd7e10d80b9140 | refs/heads/master | 2020-03-12T08:21:13.959893 | 2018-04-22T02:59:13 | 2018-04-22T02:59:13 | 130,525,914 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,006 | r | test_get_report.R | ##START_HERE
#* @get /getReport
#* @html
getReport <- function(site, report_id, filename, params) {
if (missing(site)) {
stop("argument 'site' is missing, with no default", call. = FALSE)
}
if (missing(report_id)) {
stop("argument 'report_id' is missing, with no default", call. = FALSE)
... |
fec763d1499e0ce499c588a01bb9ffefd63830e4 | 691bfa00e6fea304710d6becea1b57989b591210 | /tests/testthat.R | f2ec6019f601bafd958a9889543ccce388d89077 | [] | no_license | jepusto/scdhlm | e85c665b80e7173cfba76e248caee33a851af89d | 0da6cdc94a775654592662e63d99634406564ac4 | refs/heads/main | 2023-08-21T16:36:21.010293 | 2023-08-04T21:13:54 | 2023-08-04T21:13:54 | 15,191,793 | 6 | 1 | null | 2023-03-29T12:49:36 | 2013-12-14T19:47:17 | R | UTF-8 | R | false | false | 56 | r | testthat.R | library(testthat)
library(scdhlm)
test_check("scdhlm")
|
aae8e6f977ba70c252889745e5a1046263fa9950 | 3fa5d2b705a1078b0fe099ff15a41955a18e81b6 | /RScripts/siham/test2.R | 113858b3dfc9a7367868f02325b342430409834e | [] | no_license | CodesByMass/Rambam-Hospital_EDA | 4eb61b464877e1cd52599cc637c3bed356714254 | eaf19646ebcbd3fa5a7776fdd6da7263955692b1 | refs/heads/master | 2020-12-20T00:59:43.111711 | 2020-04-26T22:36:59 | 2020-04-26T22:36:59 | 235,907,005 | 0 | 0 | null | 2020-01-23T23:30:16 | 2020-01-23T23:30:08 | null | UTF-8 | R | false | false | 1,871 | r | test2.R |
#### porcentage des patients passée par les argances par rapport à leurs age ###
library(dbConnect)
con = dbConnect(MySQL(),dbname='hopital',user='root',password='Racheletmoi2',host='localhost')
rq=dbGetQuery(con,"SELECT COUNT(*) FROM visits WHERE entry_group='1'")
rq=dbGetQuery(con,"SELECT COUNT(*) FROM visits WHER... |
c743c3848009b4b5ad58199cda5c331928350a82 | 258d1e7a20cb697f8521101fb8720182f940bad3 | /Vergence/Transientbatchsave.R | 7b83c88d2e54754278faca22a0b3c1d6e9ff7f74 | [] | no_license | AdamPallus/NPH-Analysis | ea1122d5f33725cfbd82e07b98767f766d862fae | 59eadccce9118b37a5c9cd1087238885ec894f96 | refs/heads/master | 2021-01-19T07:06:12.515171 | 2018-05-11T21:59:00 | 2018-05-11T21:59:00 | 43,463,190 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,601 | r | Transientbatchsave.R |
for (sac in 2:nsac){
ga<- ggplot(filter(zz,sacnum==goodsacs[sac]))+
# geom_area(aes(time,sdf),alpha=1/10)+
geom_line(aes(counter,(lev-rev)-100),color='darkblue',alpha=1)+
geom_line(aes(counter,(lev-rev)),color='green',alpha=1)+
geom_line(aes(counter,enhance.velocit... |
a1671c2cba80befedfdab4930e64397f1809a30b | 5b722119d1b1ca9df17a2914a4db2d35f73b5490 | /Projects/Presidential Speeches/analyze_presidential_speeches.r | 767ea211c78c0281096cce3f8e0f5f526f02e209 | [
"CC-BY-4.0"
] | permissive | vishalbelsare/Public_Policy | 1d459eba9009e7183fa266d3bb9d4dd0d6dacddc | 4f57140f85855859ff2e49992f4b7673f1b72857 | refs/heads/master | 2023-03-29T05:01:10.846030 | 2021-01-13T21:52:45 | 2021-01-13T21:52:45 | 311,356,474 | 0 | 0 | NOASSERTION | 2021-04-04T20:12:17 | 2020-11-09T14:00:21 | null | UTF-8 | R | false | false | 3,575 | r | analyze_presidential_speeches.r |
library(tidyverse)
library(quanteda)
library(topicmodels)
library(tm)
library(tidytext)
library(textmineR)
library(data.table)
library(gridExtra)
# SnowballC
setwd("~/Public_Policy/Projects/Presidential Speeches")
all_campaign_docs_stacked = readRDS('data/all_campaign_docs_stacked.rds') %>%
filter(
str_trim(co... |
6d1f1e9f3a0d53c39f078ca228cba2c964673b35 | b0bdd9332eceb12533f4f0f16d2827c1f24c153b | /R/set_post_dir.R | d6a428723272f75d99f83985e295188ebc4ba14a | [] | no_license | eustin/jekyfy | 1eb8fc3d5a010fefbd98dcb3c2e1abfcac4d0322 | 37aaa5a87e928956c4ed9722e28c98fa0f5030d9 | refs/heads/master | 2020-04-17T19:44:18.241081 | 2019-07-06T00:17:35 | 2019-07-06T00:17:35 | 166,876,582 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 89 | r | set_post_dir.R | #' @export
set_post_dir <- function(post_dir) {
Sys.setenv(BLOG_POST_DIR = post_dir)
}
|
5d57b7c45794d9d27190ab5b60d1dbb178f7096d | 400b426c3e3b56b34c38c71d473df223089906ab | /R/is-predictive.R | 86e1dfd4b47846565289774febd520162067c71c | [] | no_license | poissonconsulting/poiscon | fcea48c3e994ff86dfd7cc521aba1842ebb24ce3 | 97007c1f318cfebb21905b8f42e74486984a1970 | refs/heads/master | 2021-06-11T18:47:30.563459 | 2021-02-12T22:56:24 | 2021-02-12T22:56:24 | 12,257,120 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 646 | r | is-predictive.R | #' @title Is Predictive
#'
#' @description
#' Tests whether a prediction data.frame is informative i.e.,
#' has variation in estimate and/or lower/upper.
#'
#' @param x data.frame of predictions to test informative
#' @return logical scalar indicating whether informative
#' @export
is_predictive <- function(x) {
ass... |
a7022ba7f9b4bad1fe8e5f2835c77b553be2f34a | c67d7ed2877bbe77bfb1f889ecb121c2153fc201 | /Postproc_code/L227/Stoichiometry/ChlvsP_analysis.R | 60fc888e93e8f1c7f5019c31aad37480714c971b | [] | no_license | biogeochemistry/MyLake_Lake-227 | 732d87f7ee4d1fc75165b85ded3953fd79f18cd5 | d7a11d19e74038c14e97eee398f2e290c0e53535 | refs/heads/master | 2023-08-01T10:50:19.952041 | 2021-08-18T13:30:35 | 2021-08-18T13:30:35 | 106,003,639 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,034 | r | ChlvsP_analysis.R |
setwd("/Users/krsalkgu/Documents/SourceTree/Lake227/Postproc_code/L227/Stoichiometry")
L227chemistry <- read.csv("./IISDELA_L227_chemistry_cleaned_1969-2016.csv")
L227chemistry$Date <- as.Date(L227chemistry$Date, format = "%Y-%m-%d")
L227chemistry <- mutate(L227chemistry, Month = format(L227chemistry$Date, "%m"))
L22... |
76885e767f60578e93ccf35101c04c0ea606fecc | c97ae65ab40d030f56a3f72f138cefc7936a30b1 | /svm.R | 2ec6a68133977ae0bf8a6db050a9c8334d28e90b | [] | no_license | abhisara/AnalyticsEdge | b021248e875b04406362fb8227daefa4144d3edd | a8d86858778e8c59da0752cf1b2588e74a175204 | refs/heads/master | 2021-01-01T19:10:46.270011 | 2015-06-22T19:19:14 | 2015-06-22T19:19:14 | 34,015,417 | 0 | 1 | null | 2015-06-22T19:19:14 | 2015-04-15T19:56:02 | R | UTF-8 | R | false | false | 1,242 | r | svm.R | #SVM model for the data.
#Don't use cost 100. Takes forever.
for( i in seq(6,18,3)){
cost = 5 * (i)
kernel = 'radial'
spl = sample.split(dtmTrain$Pop , SplitRatio = 0.7)
train.data = subset(dtmTrain, spl == TRUE)
test.data = subset(dtmTrain , spl == FALSE)
svm.mdl = svm(Pop ~ ., data ... |
7432b91d59dffd0bc0cd0ea0f0e5c521cf96cd2e | ab6a33040183119ac2328d1286dca1555dcc5ea7 | /cachematrix.R | b8d3ef406b4064784f6f40cdce1c86ca77443bdf | [] | no_license | CeriMitchell/ProgrammingAssignment2 | 75a3a35d2e65e955ef2c8ccdff844496ec02cc26 | 91a992378184de42220bf15c707fca802e8303ed | refs/heads/master | 2021-01-21T15:56:58.902354 | 2016-03-21T12:20:45 | 2016-03-21T12:20:45 | 54,260,018 | 0 | 0 | null | 2016-03-19T10:23:50 | 2016-03-19T10:23:50 | null | UTF-8 | R | false | false | 1,549 | r | cachematrix.R | ## Caching the Inverse of a Matrix
## Matrix inversion is usually a costly computation and there may be some
## benefit to caching the inverse of a matrix rather than compute it repeatedly.
## FUNCTION: "makeCacheMatrix" creates a speical "matrix" that can cache
## its inverse.
## Here are a pair of functions that ar... |
6d2aa5017e0cd1c89d14bcc7612a8ee9786c61f1 | a441ac887d892f3999f1051df80989e3bea04941 | /find_behaviorSeqs (Autosaved).R | 2e43af0a20e825a094f4d5bbe4c103eb3af28312 | [] | no_license | FernaldLab/_code | bdad38d072fe3a9a09ba8e5c98591c0caaf73173 | 46a08137095c4c0d8fbe046ea1d740b61714ad47 | refs/heads/master | 2016-09-06T14:14:35.280437 | 2015-07-07T19:43:16 | 2015-07-07T19:43:16 | 38,710,635 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,711 | r | find_behaviorSeqs (Autosaved).R | # count number of times a given sequence is observed in a vector of behaviors
.countBehaviorSequences = function (behaviorVec, seq) {
seq = strsplit(seq, '')[[1]];
beh1 = seq[1];
toTest = paste('behaviorVec[b+1]==\"', seq[2], '\"', sep='');
if (length(seq) > 2) {
for (b in 3:length(seq)) {
toTest = paste(toTes... |
061d7ba4cf007ddeb38098daedfa3e28d10bec09 | 7f72ac13d08fa64bfd8ac00f44784fef6060fec3 | /RGtk2/man/gtkPageSetupNewFromKeyFile.Rd | 4f4fa9983395e6cb65e8662541157789374ea1f7 | [] | no_license | lawremi/RGtk2 | d2412ccedf2d2bc12888618b42486f7e9cceee43 | eb315232f75c3bed73bae9584510018293ba6b83 | refs/heads/master | 2023-03-05T01:13:14.484107 | 2023-02-25T15:19:06 | 2023-02-25T15:20:41 | 2,554,865 | 14 | 9 | null | 2023-02-06T21:28:56 | 2011-10-11T11:50:22 | R | UTF-8 | R | false | false | 1,043 | rd | gtkPageSetupNewFromKeyFile.Rd | \alias{gtkPageSetupNewFromKeyFile}
\name{gtkPageSetupNewFromKeyFile}
\title{gtkPageSetupNewFromKeyFile}
\description{Reads the page setup from the group \code{group.name} in the key file
\code{key.file}. Returns a new \code{\link{GtkPageSetup}} object with the restored
page setup, or \code{NULL} if an error occurred.}
... |
0c0e80472d32891a7299045153bcbb03d520b83a | 02ede3d4e0e67c2df8145a87d09f9f992e99cbe2 | /man/copy_number_density.Rd | abc4b80a31640d4a4e0b71e7484a95f9e6bedbff | [
"MIT"
] | permissive | crukci-bioinformatics/rascal | 1c663f6234d010071f631ede5a24b3d2c9131356 | 8471278a3376bd3f10d713474bceea595c8a3e11 | refs/heads/master | 2023-08-21T00:33:03.681406 | 2021-10-20T08:01:26 | 2021-10-20T08:01:26 | 374,957,938 | 20 | 3 | null | null | null | null | UTF-8 | R | false | true | 1,233 | rd | copy_number_density.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{copy_number_density}
\alias{copy_number_density}
\title{Copy number density estimation}
\usage{
copy_number_density(
copy_numbers,
min_copy_number = NULL,
max_copy_number = NULL,
n = 512
)
}
\arguments{
\item{copy_number... |
ac39d77bed6056c165122cfbabead068c25c4366 | d68dce332f3972a749dacf549a8ef14d7f2332bb | /R/desmodels.r | 740d0eeae8990aa0d6dd7e43227cbb549d11d675 | [] | no_license | openfields/dnmix | 31a6ce20a86a06f1eedfbed5f4788413f9aa04e1 | fe94f0c104cd88757dfc796f429b9ad63dc087c3 | refs/heads/master | 2021-01-20T02:53:13.342366 | 2017-10-13T18:39:55 | 2017-10-13T18:39:55 | 101,339,999 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 16,392 | r | desmodels.r | library(jagsUI)
# zero-inflated
sink("zi1.jags")
cat("
model {
omega ~ dunif(0, 1) # zero inflation parameter
beta0 ~ dnorm(0,.1) # intercept
beta1 ~ dnorm(0,.1) # pc1
beta2 ~ dnorm(0,.1) # pc2
beta3 ~ dnorm(0,.1) # pc3
beta4 ~ dnorm(0,.1) # RT
beta5 ~ dnorm(0,.1) # T1
beta6 ~ dnorm... |
a5cedd7b2b3a50b59db1e9598a8173fb23d2879d | 106fea99b04a023ff7f5878bbb0c86bafeca741a | /GEvT_gallery/ui.R | 43e7d6fd5dee26f6b3a7403e02936fd19ed7c869 | [] | no_license | amcrisan/GEvT | e4242edc1b3cc0ec98d97b68c8bc38b79cafc92e | e94c513fc9d4d2487a23c595a0c6143eefd0982a | refs/heads/master | 2021-01-11T20:47:02.788864 | 2017-06-20T23:08:28 | 2017-06-20T23:08:28 | 79,182,345 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,062 | r | ui.R | library(shiny)
library(shinyAce)
library(dplyr)
## Function from Joe Cheng
## https://gist.github.com/jcheng5/5913297
helpPopup <- function(title, content,
placement = c('right', 'top', 'left', 'bottom'),
trigger = c('click', 'hover', 'focus', 'manual')) {
tagList(
sin... |
59a9500a1f4f58a140a24de5880538c8f81811ad | 8bda73fe8941318ad0d96f5629fd16c7d8cd5a43 | /Check identity AN.R | 0d21985770ada9004fcb7b9e1d69c839e192356e | [] | no_license | pygmy83/identity---little-owl | 4712eb4eaaca9325e17f202ece66e874c263f463 | bb509d2fd745228fe9470e831e6ac2f397bb136b | refs/heads/master | 2020-03-19T11:43:21.405536 | 2018-06-07T12:55:31 | 2018-06-07T12:55:31 | 136,472,525 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,252 | r | Check identity AN.R | ### PACKAGES NEEDED ######################################################################
##########################################################################################
packages.needed <- c("seewave", "signal", "tuneR", "monitoR","warbleR", "tcltk2", "scales", "testit")
out <- lapply(packages.needed, fun... |
80f4a1698ba11ab0fd86e0a31debcf0e64ab4a0c | ae485055546a565d92909b31b2ac3e10a61a3a27 | /ui.R | b3e4404d1ee895df9edd4a5c5307cdfd467ec8d2 | [] | no_license | RekhaDS/DataProducts | a3b1be09a517da79317969d588bfbf27fd1ad943 | 884fef4e4ce7812e1f2d448bf6781db40c97c5c9 | refs/heads/master | 2021-01-10T16:10:14.009594 | 2015-10-24T07:23:11 | 2015-10-24T07:23:11 | 44,856,537 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,190 | r | ui.R | ##This is a simple web application mainly for Kid-centives, i.e: to inspire their best behavior. But everyone
## in the family participates. Each family member starts with $1 in their account.
##Any time someone gets a ticket 0.35 cents is deducted from their account and
##each reward is rewarded by increasing 0.65 ce... |
c43721a26c0748444113d669a089f43cd8dee88a | 1145da6e1c01508c5d59f52f285702002f92e2d8 | /Dynamic Input test/app.R | d229f9334da1aa1220982fd193b03d98ba826786 | [] | no_license | SSEngland/Shiny | 096bb3997aaace06ef8788e742978aa00198e5fb | 9a015ffe47a8c26fb612be5c7dfd9db1bb3f0f50 | refs/heads/master | 2020-03-22T23:39:22.185665 | 2018-07-17T14:55:08 | 2018-07-17T14:55:08 | 140,821,814 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,378 | r | app.R | library(shiny)
ui<-shinyUI(pageWithSidebar (
headerPanel( "Portfolio Returns"),
sidebarPanel(
numericInput("assets", label = "Enter Number of variants in Experiment", value="3")
),
mainPanel(
uiOutput("variants"),
uiOutput("lastVariant"))
))
server<-shinyServer( function(input, output,... |
e96f1835e5e5853b9984a042202bb4dfee4a7218 | cd2f27faac9571f15afaf4c63e90d001b7ed33de | /data-raw/prepare_ilo_test_data.R | c0df38ac7fdfe197fba4b4ff85f1bfd96752b75a | [
"MIT"
] | permissive | EnergyEconomyDecoupling/MWTools | 2430ad483b9bd759088e0a79572ca691ce05e9e4 | a3488a24a850d7e2338307446b66961ec3feb68a | refs/heads/master | 2023-09-04T13:03:10.451579 | 2023-08-20T09:30:56 | 2023-08-20T09:30:56 | 308,628,241 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 644 | r | prepare_ilo_test_data.R | ilo_working_hours_data_path <- PFUSetup::get_abs_paths(version = "v1.2")[["ilo_working_hours_data_path"]]
ilo_employment_data_path <- PFUSetup::get_abs_paths(version = "v1.2")[["ilo_employment_data_path"]]
ilo_working_hours_test_data <- readr::read_rds(ilo_working_hours_data_path) |>
dplyr::filter(ref_area == "GBR"... |
4ddf2bb6f7a1540f86db945b092fd6717801c8fd | defc646bb56990743469ae0bffa9cc99252c4b8f | /man/AddParSetting.Rd | 49cb865f311b8dbbace180faa44bd7d18f79d0ef | [] | no_license | feiyoung/PRECAST | b1abe112a9d9df173f1e7e9259e92c19a33ea05b | b866f4b940e5815b2f85e8a8f8b2d0824809db39 | refs/heads/main | 2023-06-08T01:01:41.235579 | 2023-06-05T02:10:15 | 2023-06-05T02:10:15 | 500,674,213 | 7 | 3 | null | null | null | null | UTF-8 | R | false | false | 699 | rd | AddParSetting.Rd | \name{AddParSetting}
\alias{AddParSetting}
\title{Add model settings for a PRECASTObj object}
\description{
The main interface function provides serveral PRECAST submodels, so a model setting is required to specified in advance for a PRECASTObj object.
}
\usage{
AddParSetting(PRECASTObj, ...)
}
\arguments{
\ite... |
3d41ea4eec5954d150c99a2c3efb6f35f7696122 | 4d216630e99eda5974b2655baf8928ca7da754bd | /scripts/ed2/figures/simulation_example.R | 73455c425ef39b5e37782bc1e1fda349e7a634ab | [] | no_license | ashiklom/edr-da | 467861ec61cd8953eb272e2844414a522db7268f | b092600954b73fa064300c6e7b21d0413d115b94 | refs/heads/master | 2021-07-12T18:59:20.190169 | 2021-04-12T14:00:17 | 2021-04-12T14:00:17 | 71,824,349 | 2 | 5 | null | 2018-02-01T13:29:03 | 2016-10-24T19:26:27 | R | UTF-8 | R | false | false | 2,415 | r | simulation_example.R | library(ggplot2)
library(purrr)
library(dplyr)
library(forcats)
library(redr)
library(PEcAnRTM)
library(PEcAn.ED2)
import::from(lubridate, as_date, year, month, mday)
import::from(progress, progress_bar)
import::from(imguR, imgur, imgur_off)
import::from(tidyr, unnest, spread)
ens_dir <- "ensemble_outputs/msp_hf20180... |
b57997a98fcd84c6e9d30acdc5be2b0652568c69 | 64b780d93dfea46200ab6d17baa23e43a719eec5 | /man/data_its.Rd | 210212fa67aae27937011690a2d5d48c822a5629 | [
"Artistic-2.0"
] | permissive | mengdy0217/yyeasy | 06a90c121e2894f8448242865a109f0dee57849b | 422d95dfb95f368769dfe71895aa9fece5b6ce5a | refs/heads/master | 2023-08-21T15:12:33.681990 | 2021-10-15T05:12:55 | 2021-10-15T05:12:55 | 417,439,100 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 234 | rd | data_its.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{data_its}
\alias{data_its}
\alias{its}
\title{ITS data}
\description{
This is fungal microbial diversity data.
}
\keyword{data}
|
0876f4caad2043a105374d4493bc63c2f1809f9d | 2f6d7a99ce3155d2c635c39013a0da1418208b40 | /man/loadGithub.Rd | 60c5c71cedff0731b12005a69090ddf9175ee80d | [
"MIT"
] | permissive | oganm/ogbox | c75eb1d8f4df00be214731e085e6c19e141992cc | ba99a46487836af5ab4fb5b013bc92cf35ad8e95 | refs/heads/master | 2020-04-04T07:07:27.383911 | 2019-07-29T23:00:12 | 2019-07-29T23:00:12 | 37,562,559 | 5 | 1 | null | null | null | null | UTF-8 | R | false | true | 621 | rd | loadGithub.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sourceWeb.R
\name{loadGithub}
\alias{loadGithub}
\title{Load an Rdata file from a URL}
\usage{
loadGithub(githubPath, branch = "master", envir = parent.frame(),
token = NULL)
}
\arguments{
\item{githubPath}{character. username/repository/pa... |
f5866a0b160dc16243c5bedcbddfa81b5c107a6e | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/fs/examples/path_sanitize.Rd.R | 352ba2ffb7d6750b9e56a944fcb84a5cc227e64d | [] | 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 | 280 | r | path_sanitize.Rd.R | library(fs)
### Name: path_sanitize
### Title: Sanitize a filename by removing directory paths and invalid
### characters
### Aliases: path_sanitize
### ** Examples
# potentially unsafe string
str <- "~/.\u0001ssh/authorized_keys"
path_sanitize(str)
path_sanitize("..")
|
68e7a4760e9f8836d42f7f5a217af655c9ae74af | 626f48ccf21f6fbbce20dfccb39374f497a2e79a | /NeuralNetwork1/R/Neurualnetwork.R | da744d2fb08ca554416e7a725b08da85412a5497 | [] | no_license | gotlr/CS499-machinelearning | cf8f5bca5f759726984c60fee4fe63c855bd4cb3 | 1e508fb5167b64041271ebfefe6d436f214eb509 | refs/heads/master | 2020-05-03T19:22:05.558837 | 2019-04-10T06:45:10 | 2019-04-10T06:45:10 | 178,783,035 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,493 | r | Neurualnetwork.R | #'Neural networks for regression and binary classification
#'
#'Training by using nerual network with gradient descending
#'(real numbers for regression, probabilities for binary classification).
#'
#'@param X.mat (feature matrix, n_observations x n_features)
#'@param y.vec (label vector, n_observations x 1)
#'@... |
7e13cb3086aec86196876af6efd6170a03751fd3 | ca90f55bcf23d4dd7580ff25f6fa342956e00cfc | /Gramener Case Study/Gramener Case Study.R | 0bd972692e51d251477475c8983329757d47dc8c | [] | no_license | ashsureshwin/Data-Science-Projects-in-R | 1b1035006c5cd30be5993f6ad7a709c2971d23a8 | a40f86853c288ecad2bde8fa9e2411d257e12dc0 | refs/heads/master | 2020-03-26T23:54:21.349390 | 2018-10-02T04:44:04 | 2018-10-02T04:44:04 | 145,576,757 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 21,319 | r | Gramener Case Study.R | ###################################################
# EDA Case Study Assignment #
###################################################
# Group members
# D Mruthyunjaya Kumar (Facilitator) - Roll Number - DDA1730298
# Dharmanand... |
b16337bfda1433e49e88c5f47bee96fd847788a4 | 8d40916cbb1f3ec4958b999a4d90015f7dc69ad8 | /Tutorial_3/Code/Part_1.r | 7732fdaa1a66af2ca417a9c22a777137b4d7350a | [] | no_license | sambittarai/Big-Data-and-Machine-Learning-in-Finance-and-Economics-ECON2333- | 398766a9b6cb5cff02738df1940110a479ffbcbe | 3e9812ee81c4a03eb50dfd52d3df9a80450176c1 | refs/heads/main | 2023-02-12T09:55:59.419761 | 2021-01-13T08:43:34 | 2021-01-13T08:43:34 | 328,915,267 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,058 | r | Part_1.r | #Set the working directory
#Change bck slash to forward slash, if needed
setwd("H:/Tut3")
library(ISLR)
View(Carseats)
summary(Carseats$ShelveLoc) #3 categories
str(Carseats$ShelveLoc) #is a factor (Categorical variable)
attach(Carseats)
str(ShelveLoc)
#Lets regress sales on all other variables plus some interact... |
fc9557e1bab9600679adc87a26527d635b9ecccb | 14eb2308ee5a6d020466a09e47715b84518dd325 | /man/LoadMultivar.Rd | 049bf5f23dc4bacd0d874c883326544d7ba03f3f | [] | no_license | TimKroeger13/AWIPackage | 19b2b12fb48692854c0fec53411a5a3909567dc8 | fcc44258331031e912c0dec327621a73a025c39b | refs/heads/main | 2023-04-08T16:47:49.305768 | 2021-04-05T14:14:38 | 2021-04-05T14:14:38 | 340,125,960 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 921 | rd | LoadMultivar.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/LoadMultivar.R
\name{LoadMultivar}
\alias{LoadMultivar}
\title{LoadMultivar}
\usage{
LoadMultivar(
data,
sep = ",",
DataAsPercent = T,
SartOfData = 4,
Comparison = 2
)
}
\arguments{
\item{data}{Name of the dataset in CSV format.}
\... |
23ad1493a8fad11f2383ca5108c1ced72873e2cc | e979752c4498c5edf47791d8b7eaafb2730524bf | /sim20032009/figs/proj13abr/plottingSAT.R | 3593c2401cad132d36e67719a82d9134569ee1af | [] | no_license | ClaudiaGEscribano/aod_and_PV | 0bf4d6c7398351aebdef7b9f9538246c5ee2bd49 | 77eaa4e454ce4ec4ec784795e2e89b8945bc1737 | refs/heads/master | 2021-03-27T15:41:09.158241 | 2018-12-10T14:58:39 | 2018-12-10T14:58:39 | 83,782,692 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 20,492 | r | plottingSAT.R | library(raster)
library(rasterVis)
library(maps)
library(maptools)
library(mapdata)
library(rgdal)
## load the cmsaf daily data.
## datos del satélite en lat/lon
SIS <- stack("../data/SAT/SISdm20032009_med44.nc", varname='SIS')
idx <- seq(as.Date("2003-01-01"), as.Date("2009-12-31"), 'day')
SIS <- setZ(SIS, idx)
lat... |
8695e2724951e7aeffe2ee072018d3be6179f2bf | 5e37ee5e60def89a5eb4c9e938994a88c15c55d8 | /Project1-ExploreVis/yabinfan_/ui.R | b3062882f8ee36b640d31f007b675f679421fbbc | [] | no_license | xiyuansun/bootcamp009_project | 2c079c94d2339a61397d5ea8765bf4bbc7a5f5b7 | 53bad9ea33d665db222bfa4a38a92580d811b53d | refs/heads/master | 2020-05-02T18:08:48.813998 | 2017-06-02T15:30:42 | 2017-06-02T15:30:42 | 178,120,031 | 1 | 0 | null | 2019-03-28T03:33:46 | 2019-03-28T03:33:45 | null | UTF-8 | R | false | false | 5,469 | r | ui.R | # This is the user-interface definition of a Shiny web application.
library(shiny)
library(shinythemes)
navbarPage(
title = 'NYC Movie Spot',
id = 'nav',theme = shinytheme("flatly"),
tabPanel(
'Interactive Map',
div(
class = "outer",
tags$head(# Include t... |
1e58bb685b4c921cd7b88c0e8dba23fdaa90c562 | bf833eb498ee0e4e7f285e4bdd1cda9b80dd1b6c | /Map/map.R | 8503f36f34b0e316123d4140a665333e31c0606d | [] | no_license | ppflrs/TM_Cyanophages | 45f6746319c28b76277360187d2868ac109493d2 | 583d721ac72b105d48762dc061d297fb3e4e920e | refs/heads/master | 2020-03-17T17:47:18.817847 | 2018-05-17T17:51:18 | 2018-05-17T17:51:18 | 133,802,036 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,432 | r | map.R | suppressMessages(library(dplyr))
library(tidyr)
library(maps)
library(ggplot2)
library(ggthemes)
#from the anvi'o summary MAGs-SUMMARY/bins_across_samples/relative_abundance.txt
df.abundance <- read.csv("./relative_abundance.txt", sep = "\t")
df.tara_metadata <- read.csv("../data/TARA_metadata.csv")[ ,c("dataset", "L... |
ba202396f1d0fb9c3094cc8aafd0fb54572721b2 | 61f8b925a36449c34e3aa98eac20e8b6f616b8ca | /DESeq2.R | 444c8fe3e6ad35ddd45b2b48fd20d23901206e9d | [] | no_license | collinsjw/Zcchc8-KO-pervasive-transcripts | 03107689bb385061e8ad21fc2e11666530756f5f | daf0251c18b61e813aaa4e6f99fec681f2c262ba | refs/heads/main | 2023-03-01T20:58:29.606666 | 2021-02-07T19:21:47 | 2021-02-07T19:21:47 | 333,975,915 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,602 | r | DESeq2.R | library(DESeq2)
library(tidyverse)
library(biomaRt)
library(RColorBrewer)
library(pheatmap)
################################################
# DESeq2 on features from SIMS Zcchc8 KO cells #
################################################
#Get list of raw read files assuming files are in working directory; set worki... |
56c17bb0ce8303018bdb298b3c645270fa69449a | 286e3600ec082719bfcae28d47869add203bc875 | /install.R | 57786570eeac417463b365bc603e342c3cb867ed | [] | no_license | crazyhottommy/r | decec5afb75f572f78bdd9bae13438f11d32a2fe | b10f3b0a91f200741d84a5f8b14f5532f15db8e2 | refs/heads/master | 2020-03-22T01:02:20.154482 | 2018-10-23T21:09:15 | 2018-10-23T21:09:15 | 139,279,146 | 0 | 0 | null | 2018-06-30T20:51:24 | 2018-06-30T20:51:23 | null | UTF-8 | R | false | false | 151 | r | install.R | install.packages("tidyverse")
install.packages("rmarkdown")
install.packages('Seurat')
source("https://bioconductor.org/biocLite.R")
biocLite("SIMLR")
|
ace3effe22b99348d73330f640662dfff343753e | 445bff301e34df034e5066021d8e1a90d76125dd | /data-raw/dev-prep.R | 851fc026e9338c004b17ef1e2b9be7ac19f1537d | [] | no_license | p-will-b/tsydirectr | f70ba3cbe885e275118598986648b5fd280df1f6 | 89b390611a3770e597acf8201aeb0d71ba0fc21f | refs/heads/master | 2023-04-26T10:01:33.850319 | 2021-05-17T03:28:27 | 2021-05-17T03:28:27 | 368,036,472 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,276 | r | dev-prep.R | library(devtools)
library(usethis)
library(desc)
# CREDIT TO COLIN FAY FOR EASY SET UP :) https://colinfay.me/build-api-wrapper-package-r/
# Remove default DESC
unlink("DESCRIPTION")
# Create and clean desc
my_desc <- description$new("!new")
# Set your package name
my_desc$set("Package", "tsydirectr")
#Set your nam... |
2cad80058346298f0de78ab9c3581961018a0fa2 | 67db7e4bb5e71ee1c8a0123deaa7568696dacfae | /R/BMDadj.r | 03d4c57b30c8bfb7e8724038232147f6dbf4c5f0 | [] | no_license | DoseResponse/medrc | ece93f90e18b578612f32d57c8636a933841153e | bc36df514ad68d6e3f29ec4c740a563605231819 | refs/heads/master | 2021-09-27T10:32:28.992866 | 2018-11-08T01:07:07 | 2018-11-08T01:07:07 | 106,538,359 | 12 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,939 | r | BMDadj.r | #' Adjusted ED response levels for BMD estimation based on medrc or glsdrc models
#'
#' Calculates adjusted response levels for estimation of the BMD
#'
#' @param object an medrc object
#' @param respLev a numeric vector containing the benchmark response levels
#' @param bmd benchmark dose estimation (smallest dose r... |
f91f253973963028c290c09e165f578d128fceef | bce305270dc536fd905897be0612e19970a7f6d0 | /Main_EDA.R | 821aabc35d03e627680682156413760bb57f242a | [] | no_license | bpawlow/Fantasy-Football-Analysis | 4999890199e966b2712d3e2b6b6334faba0b5e26 | 72a1ff87fdc2c6a569c593f9bc37951011130772 | refs/heads/master | 2023-02-10T19:23:28.192701 | 2021-01-04T06:00:40 | 2021-01-04T06:00:40 | 323,184,448 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,783 | r | Main_EDA.R | # Loaded Packages & Other R Scripts----
library(tidyverse)
library(modelr)
library(splines)
### Loading Data Collection R Script & Data Cleaning R Script
source("data_collection.R")
source("data_cleaning.R")
source("Overall_rankings_EDA.R")
# Fantasy Talent for NFL Teams Over The Last 5 Years----
#For QBs, RBs, W... |
983037eb9477af96c5aa976396501fad14da2334 | cb32d40d1f6f8ad1109e3e8c6f992bba5d12e00c | /R/dictset.R | 1594e2c1c6cc40e5281067c0172efbce8ca8bb4e | [] | no_license | wangtengyao/dictset | c75652fe14a0c90889cd46dc771f2a98ae79f1ab | 26570066f4f7f00a0f0581754dd89ce71b367d80 | refs/heads/master | 2022-08-28T13:27:27.717225 | 2020-05-25T12:52:39 | 2020-05-25T12:52:39 | 266,431,067 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,101 | r | dictset.R | #' dictset: An implementation for Dictionary and Set data types.
#'
#' @docType package
#' @name dictset
#'
#' @import stats
#' @import digest
#' @import utils
NULL
#' Check whether input is string
#' @param x
#' @return boolean for whether x is string
#' @export
isString <- function(x){
is.character(x) && (length(x... |
1345dfba172a327d97a33f49a5c00b2520f952ee | 01b1302af51d339f7c8827a620c4a5fb26c890f1 | /synthesis2020/02_synthesis_absorption_prep.R | 22b8eb71749e27116a4869900aa892aab690c73d | [] | no_license | ihmeuw/gf | 64ab90fb5a5c49694bde1596f4b20fcf107a76e3 | 29e0c530b86867d5edd85104f4fe7dcb1ed0f1ee | refs/heads/develop | 2021-08-15T02:16:59.086173 | 2021-08-03T19:52:31 | 2021-08-03T19:52:31 | 109,062,373 | 3 | 6 | null | 2019-03-21T01:48:02 | 2017-10-31T23:17:16 | R | UTF-8 | R | false | false | 23,633 | r | 02_synthesis_absorption_prep.R | #############################################################
##Title: pce_synthesis_absorption_data
##Purpose: Prepping absorption data for synthesis report for all IHME/PATH PCE countries
##Author: Matthew Schneider
##Date: 10/30/2020, last updated and reran - 1/28/21
##Input Files:
## - C:\Users\mts24\Box ... |
76df78a3d4353f314f9d850d66c64f4054f67aef | 782f25f7a5651fd9300469f2a56d5be78648ff35 | /man/occQuery.Rd | 5fd15dc6f9cda0086f7e5dd7d91326862b12ed2f | [] | no_license | hannahlowens/BridgeTree | f026ba4affff1fd9e4b6328a06ba81d4caed24f3 | 891f973360f35261aca1a966cdfd5b2489e7c83a | refs/heads/master | 2021-06-04T16:58:46.418470 | 2018-10-05T18:08:37 | 2018-10-05T18:08:37 | 95,147,814 | 3 | 1 | null | 2018-10-04T13:49:24 | 2017-06-22T19:05:57 | R | UTF-8 | R | false | true | 1,233 | rd | occQuery.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/occQuery.R
\name{occQuery}
\alias{occQuery}
\title{Query from Taxon List}
\usage{
occQuery(x = NULL, datasources = "gbif", GBIFLogin = NULL,
options = NULL)
}
\arguments{
\item{x}{An object of class \code{\link{bridgeTreeData}} (the results... |
b206e21cda8ebeec21aca07d99e8ae4e232c30c8 | 31d977aa21cec52b6e0a158e504a0ff887a6e6cb | /main.r | 6bc3b87458dac1c00d2bf8f9028b1a48c1f08cda | [] | no_license | DataSystemsGroupUT/auto_feature_engineering | f0e4c15daaca5608ed7fbdd0aaee49946fff1fe2 | 35a1f3760f6edef2fb13bdd90514144555331e1b | refs/heads/master | 2023-01-02T17:14:08.377143 | 2020-10-20T12:19:02 | 2020-10-20T12:19:02 | 279,294,250 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 726 | r | main.r | library(autofeat)
#dataf <- read.csv("data/gina.csv")
#dataf <- read.csv("data/lymphoma_2classes.csv")
#dataf <- read.csv("data/banknote.csv")
#dataf <- read.csv("data/micro-mass.csv")
#dataf <- read.csv("data/dbworld-bodies.csv")
#dataf <- read.csv("data/nomao.csv")
dataf <- read.csv("input.csv")
y <- factor(dataf... |
791903609fbafa5341efae8b801d6993a440c265 | ad5617166a62559da24178872de79b0347cffafe | /R/tt_load.R | f5d7154c6cb5f91ea297cdfdda7de4eb9a5e968b | [
"MIT"
] | permissive | thecodemasterk/tidytuesdayR | 5f1e80a1c583e4bb5074825549cf0c295ce456ac | 2949ea8763acae374b83998376bafa953b236c69 | refs/heads/master | 2022-11-11T20:28:35.138065 | 2020-06-29T15:44:54 | 2020-06-29T15:44:54 | 276,115,944 | 1 | 0 | null | 2020-06-30T14:03:11 | 2020-06-30T14:03:10 | null | UTF-8 | R | false | false | 2,001 | r | tt_load.R | #' @title Load TidyTuesday data from Github
#'
#' @param x string representation of the date of data to pull, in YYYY-MM-dd
#' format, or just numeric entry for year
#' @param week left empty unless x is a numeric year entry, in which case the
#' week of interest should be entered
#' @param download_files which files t... |
a4910e45d398ea5de34f9b6ad213d843bb8d2860 | 409490d9da29446f5fb1672eab7e774731554785 | /man/list.insert.Rd | 7704f45cd8cebadf511f1968fe425276fbb9d71a | [
"MIT"
] | permissive | timelyportfolio/rlist | 8004c472fb6835182773d4458c9d604cb03795a3 | d3299cec59c36f9295493feea3d53d21278a8a2a | refs/heads/master | 2020-11-30T23:33:33.408653 | 2014-08-07T16:28:24 | 2014-08-07T16:28:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 607 | rd | list.insert.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{list.insert}
\alias{list.insert}
\title{Insert a series of lists at the given index}
\usage{
list.insert(.data, index, ...)
}
\arguments{
\item{.data}{\code{list}}
\item{index}{The index at which the lists are inserted}
\item{...}{A group of lists}
}
\descrip... |
d7c967ff86d56d36680a15f2bdcaa30d8e3029cb | b34be5c99b32277e1e56168e780e674f1b4edd85 | /man/getPredRate-methods.Rd | bcb823d55f987d931499215e950c124d3b86e427 | [] | no_license | szuwalski/mizer | a0f812eb4beac161c1cd4792f12c5f15e7a1f438 | 7893216b74c946eada267ff8b1c5b67315528a9b | refs/heads/master | 2021-01-17T04:59:59.925275 | 2014-07-29T06:47:59 | 2014-07-29T06:47:59 | 35,045,198 | 0 | 1 | null | 2015-05-04T16:12:53 | 2015-05-04T16:12:53 | null | UTF-8 | R | false | false | 1,551 | rd | getPredRate-methods.Rd | \docType{methods}
\name{getPredRate}
\alias{getPredRate}
\alias{getPredRate,MizerParams,matrix,numeric,matrix-method}
\alias{getPredRate,MizerParams,matrix,numeric,missing-method}
\alias{getPredRate-method}
\title{getPredRate method for the size based model}
\arguments{
\item{object}{A \code{MizerParams} object.}
... |
8d39aa9025a863e7100a42aac250f0423c270cac | c15e4a1fdb0e59f56c3b3ef82a20cf0cfc7f2c39 | /man/check_load_packages.Rd | ce2ecc91386bc0684ebf5cff488029041c74ce68 | [] | no_license | sheejamk/IPDFileCheck | 05f93b5faebb6a839edb0da230420efb44072cac | e66e3c7b895ce9455348b9d86ef31e12e9942823 | refs/heads/master | 2022-08-28T04:25:38.462930 | 2022-08-13T19:37:57 | 2022-08-13T19:37:57 | 235,594,136 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 478 | rd | check_load_packages.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/IPDFilecheck.R
\name{check_load_packages}
\alias{check_load_packages}
\title{Function to check the package is installed, if not install}
\usage{
check_load_packages(pkg)
}
\arguments{
\item{pkg}{name of package(s)}
}
\value{
0, if packages ca... |
5cb5923a68657a261a45691a9c4a209647b29d45 | b46bf09a29b075814ff4a0bec715dae885642e35 | /Assignment1.R | aed95d1a594f6a99552e87f6c06ab4b9054b3ac1 | [] | no_license | mt42190n/Mary-Data-Acq | 89f6c4d9cd05d427686f8fe7fc42a4d2f470e237 | 7e2d859c1fc1062174c958343daeb6c7a4e700df | refs/heads/master | 2016-09-06T18:07:56.161025 | 2014-10-20T03:43:07 | 2014-10-20T03:43:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 125 | r | Assignment1.R | # R version 3.1.1 and R studio version 0.98.1049
# PostgreSQL version 9.3.5
# Number of observations in data(sales) is 401146 |
2172d00d1c0649e856629287138ff3832ad8cc69 | 3b7b46ff89c6e09564ee59bffdf506d6c235ec50 | /man/white.Rd | 93a859291be77dee53fbb9fed80be8e06096c74b | [] | no_license | JoFrhwld/phoneticChange | 788598dd6ebaabc709bb08e1e006532ddabcc520 | cb649882698511cce2d8850be8748c2dfb8a2304 | refs/heads/master | 2016-09-05T11:55:13.100817 | 2015-06-11T16:41:59 | 2015-06-11T16:41:59 | 24,945,476 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 693 | rd | white.Rd | % Generated by roxygen2 (4.0.2): do not edit by hand
\docType{data}
\name{white}
\alias{white}
\title{Basic Demographic Info from the PNC}
\format{A data frame with 326 rows
\describe{
\item{sex}{speaker sex}
\item{year}{year of interview}
\item{ethnicity}{single character code for reported ethnicity}
\item{sch... |
75ade8a55b499ef612bfc25e1a0ef7ea78efe021 | f14e3a8823d00a12c25493ff12a7303c8f8fe305 | /man/gof.Rd | 739583b264ec614ef9a1cb38ef7c97c5468eef0a | [] | no_license | cran/rtrim | 6565c068369efec0e9867b5fe397a641eb859638 | 80239e3f7cbeb66b9540284eed9fa1bd946d4666 | refs/heads/master | 2020-06-17T16:12:35.734973 | 2020-04-21T11:20:02 | 2020-04-21T11:20:02 | 74,989,195 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,348 | rd | gof.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trim_gof.R
\name{gof}
\alias{gof}
\alias{gof.trim}
\title{Extract TRIM goodness-of-fit information.}
\usage{
gof(x)
\method{gof}{trim}(x)
}
\arguments{
\item{x}{an object of class \code{\link{trim}} (as returned by \code{\link{trim}})}
}
\va... |
1491697d77d1380e3b0565ba090e1aec09da09ce | cb2ce134ea2aa8b913b4aea2edc7b545e5066528 | /clean_ames.R | 81d19b3ab13f258b48fd5d0c45befacb8c933b24 | [] | no_license | ehcastroh/Housing-Price_Prediction | 290d273b3e26d04c0cfe938c8cd44596943c8f9b | 45bc4fadf253c5f1c16464ca792c866f1eb957f1 | refs/heads/master | 2021-09-05T13:03:44.946205 | 2018-01-27T22:04:47 | 2018-01-27T22:04:47 | 110,748,865 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,540 | r | clean_ames.R | ###----------------------------###
# title: "IEOR 142 Group Project"
# author: "Elias Casto Hernandez"
# date: "November 2017"
# purpose: Perform clean up and convert monthly
# Ames response variables to Quarterly response(s)
###----------------------------###
### Load Libraries and Packages ###
#install.pack... |
2f78eec8bee3bffb29daf322e47b99347b8c2765 | a5be19737a57491c0dfbe41d068558542b2d5e10 | /R/type_2.R | 6b066bfcad29230d49ae0525c24308e7863093bf | [] | no_license | cran/jordan | 02ed2dfc77ae1c2d23b7b37016a24d019ce6ee87 | 576f96a2d484e0f60d1a451a465ea6a7984c4380 | refs/heads/master | 2023-03-29T00:43:24.948503 | 2021-04-08T10:00:02 | 2021-04-08T10:00:02 | 355,965,712 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,941 | r | type_2.R | ## complex Hermitian matrices ("chm"); setClass("complex_herm_matrix") in 'aaa_allclasses.R'
`complex_herm_matrix` <- function(M){new("complex_herm_matrix",x=cbind(M))} # this is the only place new("real_symmetric_matrix",...) is called
`is.complex_herm_matrix` <- function(x){inherits(x,"complex_herm_matrix")}
`r_to... |
2da4350c380bce755c98fb9b80c783b5c115972c | 5abd83c240c3dbaa25790cc3b8d7ec5bea840282 | /limma_diffexp.R | 79e994fc0d423843f6f8b15328e9fa7edd8903b7 | [] | no_license | gnawhnehpets/R_scripts_baylin | 85a0e96e081e6b6a9594a15ac253c8fdf71fee81 | 67ffde3f5286852568a07c94afb200220055075e | refs/heads/master | 2021-05-29T02:21:31.124724 | 2015-04-22T18:23:42 | 2015-04-22T18:23:42 | 32,940,161 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 25,576 | r | limma_diffexp.R | #PRIMARY CODE FOR PRELIM2 ANALYSIS
#FINAL
library(limma)
setwd("/home/steve/Desktop/analysis/cohortoneandtwo//")
target <- readTargets("/home/steve/Desktop/analysis/cohortoneandtwo//targets_full.txt")
RG <- read.maimages(target, source="agilent", path="/home/steve/Desktop/analysis/cohortoneandtwo/")
cohorttwo<- c(targ... |
c0828e1084985436cbcab5a8630c4f443e9a36da | 6051977d07e57b97c6c664e9a03732f4a6d2bdb3 | /scripts/RSnakeChunks/obsolete/gene_lists_comparison_JvH.R | 683d56cf68c940592bf18a6586141c744dc10f3d | [] | no_license | SnakeChunks/SnakeChunks | 0ce2fa1b1cc1c54bb836ed00682faea0c1fb4ea8 | c3cc20e39833724ce6feee1248599bf5a2a121fc | refs/heads/master | 2021-06-02T12:17:43.374666 | 2019-09-07T00:09:13 | 2019-09-07T00:09:13 | 95,784,510 | 21 | 9 | null | 2017-07-21T18:05:49 | 2017-06-29T14:10:38 | R | UTF-8 | R | false | false | 8,002 | r | gene_lists_comparison_JvH.R | ## compare gene list returned by different analyses
## - DEG genes detected by RNA-seq
## - TF target genes detected by ChIp-seq
## - reference target genes annotated in RegulonDB
library(VennDiagram)
dir.main <- "~/FNR_analysis"
setwd(dir.main)
parameters <- list(
"chip_genes" = "ChIP-seq/results/peaks/FNR_vs_inp... |
f58348297f7b595ae062adc9bce4e2490b8c2612 | d6040231bfaf07a658d0822e9b7e6a9785ec6ba9 | /global.R | 97caac7ab9f173cabd7b446c4a789580b9ab993f | [] | no_license | markclements/pop_model | 320e72b83c3fac667c09e7a2c507ad781665eb75 | abb024b7f876a492d30d9c3fb38c8877ca4962ea | refs/heads/master | 2020-07-24T23:46:00.661661 | 2020-04-27T20:10:12 | 2020-04-27T20:10:12 | 208,087,926 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 69 | r | global.R | library(shiny)
library(tidyverse)
source("functions.R",local = TRUE) |
d1ef8ae7794cfbe38e5afccc5145a4e992cd7905 | c2e28f45847f8f5170d7ed90d406d9d5c3594625 | /man/laplace.samps.Rd | 1ae7457ce8ab99e9ae5ce3c2068e43e1c1e78011 | [] | no_license | mdedge/stfspack | 102d4ef512f21073dc2593db2265630040214357 | 3e7027d677c9017a0e3abaed7d99ef2ac7cf5d5d | refs/heads/master | 2020-03-29T07:03:16.471914 | 2018-09-21T22:33:01 | 2018-09-21T22:33:01 | 149,651,412 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 895 | rd | laplace.samps.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/R_functions.R
\name{laplace.samps}
\alias{laplace.samps}
\title{Generate a matrix of samples from a Laplace distribution.}
\usage{
laplace.samps(mu = 0, sigma = 1, n = 25, nsamps = 10000)
}
\arguments{
\item{mu}{The expectation of the Laplace... |
ed4889c5abde157c474d1b685686aa873f6a92f3 | c9aefc772840dcc1121dcfb04a08fdc04a4ddbe5 | /R/suf_mcs_fun.R | 8d3fde7883bf235e628e7619f933090ab1b784a3 | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SCCWRP/SQObioaccumulation | 1182463c71029a30fa145be686799d5ce046f301 | 6887a83c233a1108ec147e68e8c099728f7fa3ac | refs/heads/master | 2021-12-22T16:28:40.726991 | 2021-12-16T18:06:27 | 2021-12-16T18:06:27 | 203,891,093 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,918 | r | suf_mcs_fun.R | #' site use mcs function
#'
#' @param nsim number of simulations
#' @param constants constants inputs
#' @param mcsparms MCS parameter inputs
#'
#' @export
#'
suf_mcs_fun <- function(nsim, constants, mcsparms){
# site area and length
SA <- constants %>%
filter(Constant %in% 'SA') %>%
pull(Value)
SL <... |
bc45237e61a00c4cefcd12e974058dd77f697561 | 66969d0f963a13fe475cf341c29b661676af1f39 | /man/parse_pairlist.Rd | 3f235bb7f8f7f76e014204a73c26aed6347ff4db | [] | no_license | dmurdoch/Rdpack | 5f9a73bf6f83d56ab3895c66d883f4d6b148cfea | 140b906e6fdbc832f292a72d30aa07cc3e5794a7 | refs/heads/master | 2021-05-08T11:16:11.135869 | 2018-02-03T06:31:43 | 2018-02-03T06:31:43 | 119,888,762 | 0 | 0 | null | 2018-02-01T20:20:51 | 2018-02-01T20:20:50 | null | UTF-8 | R | false | false | 3,089 | rd | parse_pairlist.Rd | \name{parse_pairlist}
\alias{parse_pairlist}
\alias{pairlist2f_usage}
\alias{pairlist2f_usage1}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{Parse formal arguments of functions}
\description{Parse formal arguments of functions and convert them to
f_usage objects.}
\usage{
parse_pairlist(x)
p... |
f3ca94689163d89a077c4e55fd9c9a86d618310a | ec0b68cec1561ae345f70e5a9ad5cf3257169b90 | /R programming/day01/r4.R | 074c8fdb347c5673926fa78eefb952ca5a901cd7 | [] | no_license | baeksangwoo/Connected_Project | 1c60769493b59312259869979fd2f319a9be5b33 | 50baf113e604b63c2acff96ddf46c91574f2ae5d | refs/heads/master | 2020-03-07T09:05:32.680596 | 2018-06-11T08:43:34 | 2018-06-11T08:43:34 | 127,380,826 | 0 | 0 | null | 2018-03-30T07:39:39 | 2018-03-30T04:18:32 | Java | UTF-8 | R | false | false | 243 | r | r4.R | v1<-c(70,80,90,100);
names(v1) <-c('ko','em','si','ma');
vv<-v1[2:4]
result<-mean(v1[-2:-4]);
print(length(v1))
print(NROW(v1))
vv2<-v1[c('ko','ma')]
vv2<-v1[c(1,4)]
vv2<-v1[-2:-3]
vv2<-v1[c(-2,-3)]
length(v1)
NROW(v1)
nrow(v1)
names(v1)[2] |
d1300ea44b5df0f92370f8e2241363336cb39964 | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/RJafroc/man/UtilVarComponentsOR.Rd | 7e9f56774a1aff6a4acd68b5c311e374c604e6f6 | [] | 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 | true | 1,052 | rd | UtilVarComponentsOR.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/UtilVarComponentsOR.R
\name{UtilVarComponentsOR}
\alias{UtilVarComponentsOR}
\title{Utility for Obuchowski-Rockette variance components}
\usage{
UtilVarComponentsOR(
dataset,
FOM,
FPFValue = 0.2,
covEstMethod = "Jackknife",
nBoots =... |
d83a6bac74e38702e80833ee99c9590ac7d5638e | da966bef39c11a644dacda9a76731b16ad680cdf | /Au_Spike.R | 4548b9a75b166fe77adecb1593cfb7c3615bf346 | [] | no_license | andrewthomasjones/PtSpike | a822b5198d0201d1e8d3eb4b261cc3213d91eec8 | fa9018cf947bb52421bb86010cdd57e3fc5847bd | refs/heads/master | 2021-01-17T07:36:09.972008 | 2017-03-29T11:39:01 | 2017-03-29T11:55:23 | 83,767,119 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,752 | r | Au_Spike.R | #install.packages(c('EMMIXcontrasts', 'ggplot2', 'reshape')) #only needed if not already installed
#load packages
#source("https://bioconductor.org/biocLite.R")
#biocLite("limma")
#biocLite("impute")
#biocLite("samr")
#biocLite("edge")
#required
library(EMMIXcontrasts)
library(lattice)
library(edge)
library(samr)
libr... |
419ef44a7f5e61258b05a8592e9c34ae2d2aa0ac | de0c103492d5c14cb74c32a60cd9642ec8a5e358 | /kpmg/kpmg.r | c3f27eadbe7ccee01f1fd866bff924e883ce0def | [] | no_license | jpiscionere/jpiscionere.github.io | bca0701b1702938ab474fa4ab1b960c1379adee9 | f258ade7ae36ed2fffa0f538109988037d3ab051 | refs/heads/master | 2021-07-12T09:46:33.970444 | 2021-06-27T23:54:04 | 2021-06-27T23:54:04 | 45,433,187 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 5,881 | r | kpmg.r |
#loading necessary packages
library('ggplot2')
library('ggmap')
qmap(location='melbourne')
library(corrplot)
data=read.csv("~/Aggregated-TAC-Hospitalisation-Stats.csv")
summary(data)
#making table of unique LGA
data_table=data.frame(table(data$LGA))
data_table$City=paste(data_table$Var1,"Australia")
#now to get... |
4336cf46ecb6154b20933ddea382b887728ae087 | f06723e2580bd4fad5446007a8be228978022413 | /man/getCOSMICSignatures.Rd | 2ca2ed24e65bfb090cc3c9e0bfa420d818834881 | [
"BSD-2-Clause"
] | permissive | Nik-Zainal-Group/signature.tools.lib | 6c4fce24c190ab4bb6c4b764741369d7760d851d | 3bd2daec7d77f0eb48be09ac384606d2102c68fd | refs/heads/master | 2023-09-04T12:13:14.923240 | 2023-08-21T16:27:45 | 2023-08-21T16:27:45 | 173,100,574 | 79 | 24 | NOASSERTION | 2022-10-28T10:42:25 | 2019-02-28T11:33:00 | R | UTF-8 | R | false | true | 739 | rd | getCOSMICSignatures.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/signatures_utils.R
\name{getCOSMICSignatures}
\alias{getCOSMICSignatures}
\title{getCOSMICSignatures}
\usage{
getCOSMICSignatures(version = "latest", typemut = "subs", verbose = TRUE)
}
\arguments{
\item{version}{this is either "latest", whic... |
fdc183d727462ea20de8bbf4de0bda2b8c17f295 | 3f1aa8be40d971b34f417f5b8c420f9725a8772f | /man/removepoints.Rd | 2f41f2dcfda9d58f8e2fa515255111e3b7388c31 | [] | no_license | cran/MetaLandSim | 16f3a78b7478ef2eedf4fca307caa8d0858ba384 | 7903126e4e905cff603ecc97695a927bc8483064 | refs/heads/master | 2023-04-04T13:29:32.818818 | 2023-01-12T21:30:02 | 2023-01-12T21:30:02 | 26,391,540 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 802 | rd | removepoints.Rd | \name{removepoints}
\alias{removepoints}
\title{
Remove a given number of patches from the landscape
}
\description{
Randomly removes a given number of patches from the landscape.
}
\usage{
removepoints(rl, nr)
}
\arguments{
\item{rl}{
Object of class 'landscape'.
}
\item{nr}{
Number of patches to r... |
f22f41c779bccd17fc1a273bf1f564157dadd93f | b2e2a2d40e9344035e0c50c07d8e05fe6b4e6a16 | /7.prediction-by-exponential-smoothing/7.2.5.HoltWinters.R | 56c7834bb027b4d2925f9c032ef97d93be69b051 | [] | no_license | imanojkumar/ts-analysis-by-R | 6f0527599f477be957babc09947d31705101ccb6 | 33718d4c6609ccdead55db72fc412e28adc78c73 | refs/heads/master | 2021-05-27T16:43:41.776384 | 2012-02-13T04:53:37 | 2012-02-13T04:53:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 262 | r | 7.2.5.HoltWinters.R | SNA <- read.csv("../data/GDPO1980TABLE.csv", skip=2, header=TRUE)
GDP <- ts(SNA$GDP, start=c(1980,1), frequency=4)
(GDP.HW1 <- HoltWinters(GDP,seasonal="mult"))
(GDP.HW1$fitted)
FITTED1 <- GDP.HW1$fitted[,1]
ts.plot(GDP,FITTED1,type="l",lty=c(1:2),col=c(1:2))
|
945bad5011b012f2267ec86205f713afb095fa58 | 006ce7aeb4a7b999a24474aa45bdeaf0586e67fc | /day3/data/fog20180423ver2.R | b3ba22115e90e8ce27c7c836873764e3b9c6baac | [] | no_license | hspark90/vis | 22935f3adaf32a76f2398af8a09a052b57e49658 | efb39bca7ad9c853181921e1f92b5dffa924ab98 | refs/heads/master | 2020-06-10T23:55:44.017851 | 2019-06-25T22:27:22 | 2019-06-25T22:27:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,720 | r | fog20180423ver2.R | require(maptools)
require(rgdal)
require(ggmap)
require("plotrix")
require("plyr")
require("colorRamps")
library(XML)
library(plyr)
library(sp)
library(stringr)
library(RCurl)
library(spTimer)
library(maps)
library(gstat)
library("RColorBrewer")
#setwd("S:/Users/TaeYong/안개")
#####안개
express<-readShapeLines("S:/Users/... |
83adc60974fb04cd29f2e0d6e4e0bbed48307b77 | b30eb6eb8aa9071af0a892aa9eeedf8b8eab99c4 | /plot2.R | 8e75f315b6be48dddf97f70a075bd376cefc8caa | [] | no_license | votadlos/ExData_Plotting1 | 62b362a55f5a2cf3e595ce468396f35a294af9f4 | 2e4e65980b59542881ded0ba6642d9a9edea8389 | refs/heads/master | 2020-12-25T00:06:01.481456 | 2015-02-08T09:19:05 | 2015-02-08T09:19:05 | 30,287,713 | 0 | 0 | null | 2015-02-04T07:52:01 | 2015-02-04T07:52:01 | null | UTF-8 | R | false | false | 563 | r | plot2.R | require(sqldf)
file <- c("../household_power_consumption.txt")
#data subset
data_subset <- read.csv.sql(file, header = T, sep=";", sql = "select * from file where Date IN ('1/2/2007', '2/2/2007')" )
#NA change
data_subset[data_subset =="?"] <- NA
#date convert
data_subset$Date<-as.POSIXct(paste(data_subset$Date, dat... |
82a3811c7cce5caab0b377b419bfc27456374d76 | c5de5d072f5099e7f13b94bf2c81975582788459 | /R Extension/RMG/Projects/CollateralAdHoc/Legacy/DownstreamGas.R | 7879696e74cab9c3de806c2636555a703fb80328 | [] | no_license | uhasan1/QLExtension-backup | e125ad6e3f20451dfa593284507c493a6fd66bb8 | 2bea9262841b07c2fb3c3495395e66e66a092035 | refs/heads/master | 2020-05-31T06:08:40.523979 | 2015-03-16T03:09:28 | 2015-03-16T03:09:28 | 190,136,053 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,496 | r | DownstreamGas.R | ###############################################################################
# DownstreamGas.R
#
# Author: e14600
#
memory.limit( 4095 )
library(reshape)
source("H:/user/R/RMG/Utilities/RLogger.R")
source("H:/user/R/RMG/Utilities/load.R")
source("H:/user/R/RMG/Utilities/dollar.R")
source("H:/user/R/RMG/Utilities/Dat... |
4e2ea3893fb5685ab5e05fb84070650d4d9d3067 | bed1302cf910433a9490d063876927eaaf19b374 | /Bysykkel.R | 77cba9d1b686aff5e58aaa30bfb43ca10df1199a | [] | no_license | gunvorskj/work-organization-gunvor | 87eec5e783c5eacc7bdb709a270efdac8803902e | 8ba08e1040ef26ba497b021e2fde5ca5fbfeeea2 | refs/heads/master | 2020-05-23T13:21:48.011711 | 2019-05-22T13:51:25 | 2019-05-22T13:51:25 | 186,774,873 | 0 | 1 | null | 2019-05-15T08:06:42 | 2019-05-15T07:41:14 | null | UTF-8 | R | false | false | 1,579 | r | Bysykkel.R | library(tidyverse)
bysykkel <- read.csv('Sykkel.csv',sep = ";")
bysykkeltibble <- as_tibble(bysykkel)
##most popular start station####
bysykkeltibble %>%
count(start_station_name) %>%
arrange(desc (n)) %>%
view
###most popular end station####
bysykkeltibble %>%
count(end_station_name) %>%
arrange(de... |
33e5fa5ea8fd91daa9d078daaef447f705a887e6 | bf0d3ee072cc1de3e310a09f26c29b62df827051 | /man/Peptides-class.Rd | d1c4e87ff166314b6d70ee51a78d32d05bc050d2 | [] | no_license | xrobin/MCMS | eaf5b2111f5dbe959a79d061f1a0e998764be23f | 84acb5e3072ee7d5b7a311121905ef7feb6060a0 | refs/heads/master | 2021-04-30T14:37:47.405270 | 2021-04-06T11:08:15 | 2021-04-06T11:08:15 | 121,221,364 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 768 | rd | Peptides-class.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PeptidesClass.R
\docType{class}
\name{Peptides-class}
\alias{Peptides-class}
\title{Set of peptides}
\description{
A class that describe a set of peptides. Use the \code{\link{Peptides}} function for easy object creation
}
\section{Slots}{
\... |
6b2dad4b325ac8d6702c5374c658969e83e4eeb3 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/pgirmess/examples/polycirc.rd.R | cc864d271d91c34bdfd68444b365ff83cf75427e | [] | 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 | 261 | r | polycirc.rd.R | library(pgirmess)
### Name: polycirc
### Title: Computes the polygon coordinates of a circle
### Aliases: polycirc
### Keywords: manip
### ** Examples
plot(1:10,1:10,type="n",asp=1)
polygon(polycirc(5),col="blue")
polygon(polycirc(2,c(5,5)), col="red")
|
f898c7c6ab642771c0bfa4e302503ec751a6835f | f72414dd06ff27eaff2b087379820f25d45907ae | /man/ngsLCA_rank.Rd | 16beead2101ca281b9ee2e024708776d91f300a0 | [] | no_license | wyc661217/ngsLCA | 4513005e4d8c97c5b1088a83dd72d719377001d3 | 21b5e5987bc5040d8456f04eb39c0edeee8cad04 | refs/heads/master | 2023-04-18T07:00:15.874512 | 2022-04-07T16:27:22 | 2022-04-07T16:27:22 | 401,632,712 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,281 | rd | ngsLCA_rank.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ngsLCA_rank.R
\name{ngsLCA_rank}
\alias{ngsLCA_rank}
\title{Classify Taxa to Taxonomic Ranks}
\usage{
ngsLCA_rank(path, run = "run01", rank.name = "species,genus,family")
}
\arguments{
\item{path}{working directory, same to \code{\link{ngsLCA... |
41261188ba4eced202f19ffbb890df2602c1053a | a5ced02be5ef57cfc093b9a77fbb71cdb18d9d76 | /R/get_soilseries_from_NASIS.R | 94731378d4fd5fc2f6f142ff22162a894fa8628e | [] | no_license | Emory-ENVS-SihiLab/soilDB | e882de8337a3f3bd9943046c781f42a473723669 | fca026cc1039f3f8936b70d0efe8c092950db4ee | refs/heads/master | 2023-08-13T16:25:03.372504 | 2021-09-18T00:48:57 | 2021-09-18T00:48:57 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,523 | r | get_soilseries_from_NASIS.R | #' Get records from the Soil Classification (SC) database
#'
#' These functions return records from the Soil Classification database, either
#' from the local NASIS database (all series) or via web report (named series
#' only).
#'
#' @aliases get_soilseries_from_NASIS get_soilseries_from_NASISWebReport
#'
#' @param st... |
8f343fce5d0e0196b39d80a3fb42ce4f65292b01 | 12bd3d5a0377fb2c709b99b71f0f43bfedace4c2 | /R/IsMissingSpecies.R | 9f80fc8f619d9c8f8e0098a2f5a52cf8e9430df9 | [] | no_license | bbanbury/phrynomics | 58666270c415c46cdf1e2b7faab34f865fbf3a35 | 42c393473d0627d5c2b95989f0f6036dc5038c70 | refs/heads/master | 2023-05-25T05:13:17.346748 | 2023-05-16T00:15:38 | 2023-05-16T00:15:38 | 14,935,999 | 25 | 7 | null | 2023-05-16T00:15:39 | 2013-12-04T21:13:46 | R | UTF-8 | R | false | false | 1,488 | r | IsMissingSpecies.R | #' Missing Species Vector
#'
#' This function will determine if entire species are missing data (across all sites of a locus). Species names are important for this function, so if they are read in incorrectly, if could affect the results. They should be in the format where each species shares a unique flag and are the... |
825bdc55bf914d196ff15bae80077ec970f6a13c | d71f89f90448ca3dae2efe3cfd2212e59d41eec4 | /man/GenerateMulticolinearityMeasures.Rd | c82325f051c799982d837170d24a9066dbce9eaf | [] | no_license | warnbergg/regone | ce2b5f9db882b40c025fc8a669e9d65f5404e3a8 | 851be8e37259b1b0f599038e08ae14c27365b454 | refs/heads/master | 2023-08-22T02:18:39.488804 | 2021-10-13T14:11:07 | 2021-10-13T14:11:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 957 | rd | GenerateMulticolinearityMeasures.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GenerateMulticolinearityMeasures.R
\name{GenerateMulticolinearityMeasures}
\alias{GenerateMulticolinearityMeasures}
\title{GenerateMulticolinearityMeasures}
\usage{
GenerateMulticolinearityMeasures(data, dv, fit, dir = "./", save.plots = TRUE... |
0afa0c21abbda135c40949bd0bd4b7b21bcc1eb3 | b09d92bc7db5b477250e0f6444682ba9c350d404 | /Bagging and RF from Book without Glucose.R | 81cdcc323a60699c68e2301c3914fa155124a2fe | [] | no_license | allie-touchstone/Diabetes-Analysis | 6887030932ce5f2ff831d6116d5ac71c5536e70e | 3df59529bf1f9b3640ae2ab1df86f22e2104a650 | refs/heads/main | 2023-07-14T15:29:46.240964 | 2021-08-27T13:56:15 | 2021-08-27T13:56:15 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 974 | r | Bagging and RF from Book without Glucose.R | # Bagging
library(randomForest)
diabetes = read.csv("diabetes.csv", dec =',')
diabetes1 = factor(ifelse(diabetes$diabetes == "No diabetes", "No Diabetes", "Diabetes"))
diabetes = data.frame(diabetes, diabetes1)
train = sample(1:nrow(diabetes), nrow(diabetes)/2)
diabetes.train = diabetes[train,]
diabetes.test = diabetes... |
f148519e6abce069cf8af9cbc8791d2964be8372 | 484204c37e1d7c0ac9b0dc13a797021017eeab40 | /man/summarise.dtplyr_step.Rd | bad0c0c642e05affc24e89e6b788b872b9d8722d | [
"MIT"
] | permissive | romainfrancois/dtplyr | 6b492d1a29b4ae42ecdd4e0640531a062d777789 | 9200cecf9c5297a350284401edbe99fa35c15515 | refs/heads/main | 2023-08-29T15:02:30.991425 | 2021-10-15T18:37:46 | 2021-10-15T18:37:56 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,718 | rd | summarise.dtplyr_step.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/step-subset-summarise.R
\name{summarise.dtplyr_step}
\alias{summarise.dtplyr_step}
\title{Summarise each group to one row}
\usage{
\method{summarise}{dtplyr_step}(.data, ..., .groups = NULL)
}
\arguments{
\item{.data}{A \code{\link[=lazy_dt]{... |
02ec8558252ef756944d4f29fa88cd1b76c310db | d906c58a00ec380f472307e73bb3feecf38eb142 | /main.r | 4ead6a5644fb4089efc3c45890181e66c93c38a9 | [] | no_license | baldrech/MizerEvo | e443302b6dc4613c870c00c6c4c210c7a42677b7 | fa9d6258b84748ad8cf95b2690083459e3007f9e | refs/heads/master | 2022-12-10T01:10:45.253482 | 2020-09-03T01:07:11 | 2020-09-03T01:07:11 | 105,944,053 | 1 | 3 | null | 2020-09-03T01:07:14 | 2017-10-05T21:51:27 | R | UTF-8 | R | false | false | 56,692 | r | main.r | # This is the main script where you run the simulation (or experiment new things)
#setting things up -----------------------
rm(list = ls())
require(scales)
require(ggplot2)#because always need these two
require(reshape2)
require(plyr)# for aaply
require(grid)# for grid.newpage (plotSummary)
require(abind) # to use ab... |
66cb4c5e09db7c15c11a9a254dc2aaf8d78369ab | 59af957f8cfcfc4d5e7d7b92593d69bbe55118b3 | /exercises/1.1/Exercise_1.1_DavidHuangWM.R | 3dbb5750bb4988a17c3c91e681238bc7ce99641e | [] | no_license | ds-wm/atsa-2021 | 3da1841019b33bb6641b80c41c0d263925bc7fad | dd6c475c88fd4673116f221d55d4561a4adcf2ac | refs/heads/main | 2023-04-26T09:24:59.832836 | 2021-05-18T22:20:16 | 2021-05-18T22:20:16 | 332,797,907 | 1 | 3 | null | 2021-02-19T18:42:31 | 2021-01-25T15:48:05 | Jupyter Notebook | UTF-8 | R | false | false | 2,376 | r | Exercise_1.1_DavidHuangWM.R | # Exercise 1.1
## Calculate the missing values in the following table.
t <- c(0, pi/4, pi/2, 3*pi/4, pi)
# Actually calculate the values
Y1t <- round(sin(t), digits=4) # round... to avoid any nasty e^-01 calculation inaccuracies
Y2t <- round(sin(t + pi/2), digits=4)
Mt <- (Y1t+Y2t)/2
# Fit them into a nice d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.